diff --git a/_service:format_spec_file:obs-service-format_spec_file.spec b/_service:format_spec_file:obs-service-format_spec_file.spec new file mode 100644 index 0000000..fe1f0a1 --- /dev/null +++ b/_service:format_spec_file:obs-service-format_spec_file.spec @@ -0,0 +1,63 @@ +# +# spec file for package obs-service-format_spec_file +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: obs-service-format_spec_file +Summary: An OBS source service: reformats a spec file to SUSE standard +License: GPL-2.0+ +Group: Development/Tools/Building +Version: 0.4.1 +Release: 0 +Url: https://github.com/openSUSE/obs-service-format_spec_file +Source: format_spec_file +Source1: format_spec_file.service +Source2: prepare_spec +Source3: patch_license +Source4: licenses_changes.txt +Requires: osc-source_validator +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +This is a source service for openSUSE Build Service. + +This source service is formating the spec file to SUSE standard. The rational +behind is to make it easier to review spec files from unknown packagers. + +This should be used in "trylocal" mode, so that osc is adapting the existing +spec file instead of creating a new one. + +%prep + +%setup -q -D -T 0 -n . + +%build + +%install +mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service/format_spec_file.files +install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/obs/service +install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/obs/service +install -m 0755 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/usr/lib/obs/service/format_spec_file.files +install -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/usr/lib/obs/service/format_spec_file.files + +%files +%defattr(-,root,root) +%dir /usr/lib/obs +/usr/lib/obs/service + +%changelog diff --git a/licenses_changes.txt b/licenses_changes.txt index ebd97a8..073106e 100644 --- a/licenses_changes.txt +++ b/licenses_changes.txt @@ -97,7 +97,6 @@ CC0-1.0 CC0-1.0 CDDL-1.0 CDDL CDDL-1.0 CDDL 1.0 CDDL-1.0 CDDL-1.0 -CDDL-1.0 or LGPL-2.1 CDDLv1.0 | LGPLv2.1 CECILL-1.0 CECILL-1.0 CECILL-1.1English CECILL-1.1English CECILL-2.0 CECILL-2.0 @@ -139,7 +138,7 @@ MIT Expat MIT Expat License Fair Fair SUSE-FLTK Fltk -SUSE-GFDL-1.1 FDL v1.1 or later +SUSE-GFDL-1.1+ FDL v1.1 or later SUSE-GFDL-1.2+ FDL-1.2+ SUSE-GFDL-1.3+ FDL-1.3+ SUSE-GFDL-1.2+ FDLv1.2+ @@ -174,6 +173,7 @@ LGPL-2.1 GNU Lesser General Public License version 2.1 (LGPL v2.1) LGPL-3.0 GNU Lesser General Public License version 3 (LGPL v3) LGPL-2.1+ GNU LGPL v2.1 or later LGPL-2.1 GNU LGPLv2.1 +SUSE-LGPL-2.1+-with-GCC-exception LGPLv2+ with GCC exception GPL-2.0 GPL 2.0 GPL-3.0 GPL 3 GPL-2.0 GPL v2 @@ -190,24 +190,19 @@ GPL-1.0 GPL-1.0 GPL-1.0+ GPL-1.0+ GPL-2.0 GPL-2 GPL-2.0 GPL-2.0 -GPL-2.0; GPL-2.0+ GPL-2.0 GPL-2.0+ GPL-2.0+ GPL-2.0 or later GPL-2.0-with-autoconf-exception GPL-2.0-with-autoconf-exception GPL-2.0-with-bison-exception GPL-2.0-with-bison-exception GPL-2.0-with-classpath-exception GPL-2.0-with-classpath-exception GPL-2.0-with-font-exception GPL-2.0-with-font-exception GPL-2.0-with-GCC-exception GPL-2.0-with-GCC-exception -GPL-2.0; GPL-2.0+ GPL-2.0, GPL-2.0+ +SUSE-GPL-2.0-with-FLOSS-exception SUSE-GPL-2.0-with-FLOSS-exception GPL-2.0+ GPL-2.0+ -Apache-2.0; GPL-2.0+ GPL-2.0+, Apache-2.0 -GPL-2.0+; LGPL-2.0+ GPL-2.0+,LGPL-2.0+ -GPL-2.0 GPL-2.Ã0 GPL-2.0+ GPL-2+ GPL-3.0 GPL-3 GPL-3.0 GPL-3.0 GPL-3.0-with-autoconf-exception GPL-3.0-with-autoconf-exception GPL-3.0-with-GCC-exception GPL-3.0-with-GCC-exception -GPL-3.0; GPL-2.0+ GPL-3.0, GPL-2.0+ GPL-3.0+ GPL-3.0+ GPL-3.0+ GPL-3+ GPL-1.0+ GPL+ @@ -216,7 +211,6 @@ GPL-2.0+ GPL2+ GPL-3.0 GPL3 GPL-1.0+ GPLv1+ GPL-2.0 GPLv2 -GPL-2.0 or GPL-3.0 GPLv2 || GPLv3 GPL-2.0+ GPLv2 or later GPL-2.0+ GPLv2+ GPL-3.0 GPLv3 @@ -238,6 +232,7 @@ LGPL-2.0+ LGPL v2 or later LGPL-2.0 LGPL v2.0 only LGPL-2.0+ LGPL v2.0 or later LGPL-2.1 LGPL v2.1 +SUSE-LGPL-2.1-with-nokia-exception-1.1 Part of the license choice in libqt4 LGPL-2.1 LGPL v2.1 only LGPL-2.1+ LGPL v2.1 or later LGPL-2.1+ LGPL v2.1+ @@ -312,7 +307,6 @@ OSL-1.0 OSL-1.0 OSL-2.0 OSL-2.0 OSL-3.0 OSL-3.0 PDDL-1.0 PDDL-1.0 -Artistic-1.0 or GPL-1.0+ Perl License PHP-3.0.1 PHP License PostgreSQL PostgreSQL SUSE-Public-Domain Public domain @@ -341,6 +335,7 @@ SimPL-2.0 SimPL-2.0 Sleepycat Sleepycat SPL-1.0 SPL-1.0 SugarCRM-1.1.3 SugarCRM-1.1.3 +SUSE-TCL License for TCL (Fedora calls this TCL too. SPDX doesn't have it) LPPL-1.3c TeX-License .. Apache-2.0 The Apache Software License PHP-3.0.1 The PHP License, version 3.01 @@ -368,4 +363,5 @@ ZPL-1.1 ZPL-1.1 ZPL-2.0 ZPL-2.0 ZPL-2.1 ZPL-2.1 SUSE-Firmware Firmware license, redistributable unmodified -SUSE-Permissive Must not be copyleft. Must not contain patent clauses of any nature. Most not limit ability to copy, modifiy, distribute (through multiple tiers of distribution) and distribute modified versions. Must not impose obligations such as 'advertising clauses' or anything that could be viewed as an 'additional restriction' under GPL-2.0+ or GPL-3.0+. Must not impose obligations such as modification by patch only, or reciprocal clauses. \ No newline at end of file +SUSE-Permissive Must not be copyleft. Must not contain patent clauses of any nature. Most not limit ability to copy, modifiy, distribute (through multiple tiers of distribution) and distribute modified versions. Must not impose obligations such as 'advertising clauses' or anything that could be viewed as an 'additional restriction' under GPL-2.0+ or GPL-3.0+. Must not impose obligations such as modification by patch only, or reciprocal clauses. +Artistic-1.0 or GPL-1.0+ Perl License \ No newline at end of file diff --git a/obs-service-format_spec_file.changes b/obs-service-format_spec_file.changes index 0729f76..2464f26 100644 --- a/obs-service-format_spec_file.changes +++ b/obs-service-format_spec_file.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 19 08:04:28 UTC 2012 - coolo@suse.com + +- update list of licenses as legal team found new cases + ------------------------------------------------------------------- Mon Dec 19 08:40:02 UTC 2011 - coolo@suse.com diff --git a/obs-service-format_spec_file.spec b/obs-service-format_spec_file.spec index d132ce5..226557f 100644 --- a/obs-service-format_spec_file.spec +++ b/obs-service-format_spec_file.spec @@ -1,7 +1,7 @@ # # spec file for package obs-service-format_spec_file # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed