License Information
===================
    
:ref:`O2scl <o2scl>`

License contents
----------------

- :ref:`License list`
- :ref:`GNU General Public License Version 3`  
- :ref:`HDF5 License`  
- :ref:`GNU Free Documentation License`  

License list
------------

- License for O₂scl, :ref:`GNU General Public License Version 3`
- License for HDF5, :ref:`HDF5 License`
- License for the O₂scl documentation
  :ref:`GNU Free Documentation License`

Some O₂scl classes are based on GSL and CERNLIB, both
licensed under GPLv3 (see
http://cernlib.web.cern.ch/cernlib/conditions.html).

GNU General Public License Version 3
------------------------------------

O₂scl (as well as CERNLIB and the Gnu Scientific Library
(GSL)) is licensed under version 3 of the GPL as provided in the files
``COPYING`` and in ``doc/o2scl/extras/gpl_license.txt``. After
installation, it is included in the documentation in
``PREFIX/doc/extras/gpl_license.txt`` where the default value of
``PREFIX`` is ``/usr/local``. All of the code in the O₂scl
documentation is also under version 3 of the GPL.

.. literalinclude:: static/gpl_license.txt

HDF5 License
------------

The O₂scl library includes classes which manipulate HDF
files. The NCSA and LLNL licenses for HDF are compatible with GPLv3,
as described at http://www.fsf.org/licensing/licenses . The HDF
license is given below, and provided in
``doc/o2scl/extras/hdf_license.txt``. After installation, it is
included in the documentation in ``PREFIX/doc/extras/hdf_license.txt``
where the default value of ``PREFIX`` is ``/usr/local``.

.. literalinclude:: static/hdf_license.txt

GNU Free Documentation License
------------------------------

This documentation is provided under the GNU Free Documentation
License, as given below and provided in
``doc/o2scl/extras/fdl_license.txt``. After installation, it is
included in the documentation in ``PREFIX/doc/extras/fdl_license.txt``
where where the default value of ``PREFIX`` is ``/usr/local``.
    
.. literalinclude:: static/fdl_license.txt
