From aaf3894c9953eecfd97a241f3ce1961322b542db Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Fri, 8 Sep 2017 17:25:05 +0900 Subject: [PATCH] Add a LICENSE.MIT file and it to the build spec. Change-Id: I6777ddcb521f98b1130ae64d89db0f73f03bdcc7 Signed-off-by: Hyotaek Shim (cherry picked from commit 4ae9aa7a8aa203e1e86f3b09320ff695dcca8f0a) --- COPYING => LICENSE.LGPL-2.1+ | 16 +++++++--------- LICENSE.MIT | 9 +++++++++ packaging/libusb.spec | 5 +++-- 3 files changed, 19 insertions(+), 11 deletions(-) rename COPYING => LICENSE.LGPL-2.1+ (98%) create mode 100644 LICENSE.MIT diff --git a/COPYING b/LICENSE.LGPL-2.1+ similarity index 98% rename from COPYING rename to LICENSE.LGPL-2.1+ index 5ab7695..4362b49 100644 --- a/COPYING +++ b/LICENSE.LGPL-2.1+ @@ -1,5 +1,5 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA @@ -10,7 +10,7 @@ as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] - Preamble + Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public @@ -112,7 +112,7 @@ modification follow. Pay close attention to the difference between a former contains code derived from the library, whereas the latter must be combined with the library in order to run. - GNU LESSER GENERAL PUBLIC LICENSE + GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other @@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an @@ -432,7 +432,7 @@ decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. @@ -455,7 +455,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries @@ -500,5 +500,3 @@ necessary. Here is a sample; alter the names: Ty Coon, President of Vice That's all there is to it! - - diff --git a/LICENSE.MIT b/LICENSE.MIT new file mode 100644 index 0000000..6e09dc8 --- /dev/null +++ b/LICENSE.MIT @@ -0,0 +1,9 @@ +The MIT License + +Copyright (c) + +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. diff --git a/packaging/libusb.spec b/packaging/libusb.spec index df9fa10..70a8026 100755 --- a/packaging/libusb.spec +++ b/packaging/libusb.spec @@ -3,7 +3,7 @@ Name: libusb Version: 1.0.21 Release: 0 -License: LGPL-2.1+ +License: LGPL-2.1+, MIT Summary: USB Library Url: http://www.libusb.org/ Group: Base/Device Management @@ -54,7 +54,7 @@ install -m 644 udev/99-usbhost.rules %{buildroot}%{_prefix}/lib/udev/rules.d/99- %files %manifest %{name}.manifest %defattr(-,root,root) -%license COPYING +%license LICENSE.LGPL-2.1+ LICENSE.MIT %{_libdir}/*.so.* # usbhost_module %{_prefix}/lib/udev/rules.d/99-usbhost.rules @@ -62,6 +62,7 @@ install -m 644 udev/99-usbhost.rules %{buildroot}%{_prefix}/lib/udev/rules.d/99- %files devel %manifest %{name}.manifest %defattr(-,root,root) +%license LICENSE.LGPL-2.1+ LICENSE.MIT %{_includedir}/libusb-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -- 2.7.4