Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tgl
Source: https://github.com/vysheng/tgl

Files: *
Copyright: 2013-2015 Vitaly Valtman
License: LGPL-2.1+

Files: crypto/*
Copyright: 2015 Ben Wiederhake
License: LGPL-2.1+

Files: generate.*
Copyright: 2014-2015 Vitaly Valtman
License: GPL-2+
Comment:
 These sources are licensed by GPL-2+ but they don't make the whole project as
 GPL-2+. It is because generate.* is only used to build a standalone binary
 called 'bin/generate'. It translates the .tlo files to .c files and will only
 be called in the Makefile of the project. The .tlo comes from .tl and are all
 licensed by LGPL-2.1+. Thus those generated .c files are also LGPL-2.1+.

Files: mtproto-client.* mtproto-common.*
Copyright: 2012-2013 Nikolay Durov, Andrey Lopatin
           2013-2015 Vitaly Valtman
License: LGPL-2.1+

Files: debian/*
Copyright: 2018 Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
License: LGPL-2.1+

License: LGPL-2.1+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public License
 along with this program. If not, see <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in "/usr/share/common-licenses/LGPL-2.1".

License: GPL-2+
 This package is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This package is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <https://www.gnu.org/licenses/>
 .
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
