Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: tablesorter
Source: https://github.com/Mottie/tablesorter
Comment: The docs directory contained multiple files without source, like
 minified jquery.  The dist folder contains pre-build files, which are removed
 to prevent the effort to prove they can be made identical with tools in
 Debian. The qunit files are removed because they miss the source and can be
 linked from the libjs-qunit package.
 .
 docs/css/images/glyphicons-halflings.png can be taken from twitter-bootstrap
 .
 multiple docs/(css|js) things are not properly package in Debian and would
 nearly warrent their own package. As they are only there for the examples, I
 just strip them for now.
 .
 docs/fonts are in libjs-bootstrap
 .
 Upstream clarified the GPL version in bug:
 https://github.com/Mottie/tablesorter/issues/1400
Files-Excluded:
 docs/css
 docs/fonts
 docs/js
 dist
 js/extras/jquery.metadata.js
 testing/qunit-*

Files: *
Copyright: 2007, Christian Bach
License: expat or GPL-2

Files: debian/*
Copyright: 2017, Paul Gevers <elbrus@debian.org>
License: expat or GPL-2+

Files: js/widgets/widget-output.js
Copyright: 2007, Christian Bach
License: Apache-2.0 or expat

Files: js/widgets/widget-scroller.js
Copyright: 2011, T. Connell & Associates, Inc.
License: expat or GPL-2+

Files: js/widgets/widget-staticRow.js
Copyright: 2011, Nils Luxton
License: expat

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS"BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License,
 Version 2.0 can be found in '/usr/share/common-licenses/Apache-2.0'.

License: GPL-2
 This program 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; version 2.
 .
 On Debian systems, the complete text of version 2 of the GNU General
 Public License can be found in '/usr/share/common-licenses/GPL-2'.

License: GPL-2+
 This program 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; version 2, or (at your option) any
 later version.
 .
 On Debian systems, the complete text of version 2 of the GNU General
 Public License can be found in '/usr/share/common-licenses/GPL-2'.

License: expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.