Notify licenses to spec file 36/176136/2
authorhyunuktak <hyunuk.tak@samsung.com>
Tue, 17 Apr 2018 04:39:22 +0000 (13:39 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Tue, 17 Apr 2018 05:38:26 +0000 (14:38 +0900)
Change-Id: I1eab07695455e41eb979fa77df175b66348b9e96
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
LICENSE.APACHE [moved from COPYING with 100% similarity]
LICENSE.GPL2 [moved from LICENSE with 95% similarity]
README.md [deleted file]
packaging/stc-iptables.spec

similarity index 100%
rename from COPYING
rename to LICENSE.APACHE
similarity index 95%
rename from LICENSE
rename to LICENSE.GPL2
index 6d45519..d159169 100644 (file)
--- a/LICENSE
@@ -1,12 +1,12 @@
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 2, June 1991
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
                      51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
-                           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
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users.  This
 General Public License applies to most of the Free Software
 Foundation's software and to any other program whose authors commit to
 using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
+the GNU Lesser General Public License instead.)  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
@@ -56,7 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all.
   The precise terms and conditions for copying, distribution and
 modification follow.
 
-                   GNU GENERAL PUBLIC LICENSE
+                    GNU GENERAL PUBLIC LICENSE
    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
   0. This License applies to any program or other work which contains
@@ -255,7 +255,7 @@ make exceptions for this.  Our 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
 
   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
 PROGRAMS), 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 Programs
+            How to Apply These Terms to Your New Programs
 
   If you develop a new program, and you want it to be of the greatest
 possible use to the public, the best way to achieve this is to make it
@@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
     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, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 Also add information on how to contact you by electronic and paper mail.
 
@@ -336,5 +335,5 @@ necessary.  Here is a sample; alter the names:
 This General Public License does not permit incorporating your program into
 proprietary programs.  If your program is a subroutine library, you may
 consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
+library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.
diff --git a/README.md b/README.md
deleted file mode 100644 (file)
index dd954da..0000000
--- a/README.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# stc-iptables
-STC means Smart Traffic Control.
-It provides iptables control services using libiptc.
-Stc-iptables is a GNU project.
-
-The stc-iptables binary is licensed under the GNU General
-Public License version 2 or later. See the file LICENSE.
-
-The command line tool (stc_ipt_test) is licensed under
-the Apache Lisence version 2.0 or later. See the file COPYING.
-
-Copying and distribution of this file, with or without modification,
-are permitted in any medium without royalty provided the copyright
-notice and this notice are preserved.
index b3db15f..399128c 100644 (file)
@@ -1,9 +1,9 @@
 Name:       stc-iptables
 Summary:    STC(Smart Traffic Control) iptables
-Version:    0.0.13
+Version:    0.0.14
 Release:    0
 Group:      Network & Connectivity/Other
-License:    GPL-2.0+
+License:    GPL-2.0+ and Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 
 BuildRequires:  cmake
@@ -69,8 +69,7 @@ chown network_fw:network_fw /opt/usr/data/network
 
 %files
 %manifest %{name}.manifest
-%license LICENSE
-%license COPYING
+%license LICENSE.GPL2 LICENSE.APACHE
 %defattr(-,network_fw,network_fw,-)
 %attr(500,network_fw,network_fw) %{_bindir}/stc-iptables