Update License to SPDX

epel9
Benjamin A. Beasley 2 years ago
parent 81f601295a
commit 36fc4f2f37

@ -20,18 +20,28 @@ Release: %autorelease
Summary: Instrument file software library Summary: Instrument file software library
URL: http://www.swamiproject.org/ URL: http://www.swamiproject.org/
# The entire source is LGPLv2 except: # The entire source is LGPL-2.1-only, except:
# • The following are LicenseRef-Fedora-Public-Domain:
# - libinstpatch/md5.{c,h}
# The algorithm is due to Ron Rivest. This code was
# written by Colin Plumb in 1993, no copyright is claimed.
# This code is in the public domain; do with it what you wish.
# - examples/create_sf2.c
# Use this example as you please (public domain)
# - examples/split_sfont.c
# Public domain use as you please
# #
# Public Domain:
# libinstpatch/md5.{c,h}
# examples/*
#
# The resulting effective license is LGPLv2.
License: LGPLv2
# Additionally, the following unused files are removed in %%prep: # Additionally, the following unused files are removed in %%prep:
# • The following are GPL-2.0-only:
# - utils/ipatch_convert.c
# #
# GPLv2: # …and the following files are used only for build-time testing and do not
# utils/ipatch_convert.c # contribute to the licenses of the binary RPMs:
# • The following are LicenseRef-Fedora-Public-Domain:
# - tests/*.py
# License: Public Domain
License: LGPL-2.1-only AND LicenseRef-Fedora-Public-Domain
%global forgeurl https://github.com/swami/%{name}/ %global forgeurl https://github.com/swami/%{name}/
Source0: %{forgeurl}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{forgeurl}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -70,6 +80,22 @@ patch files into, which can then be edited, converted, compressed and saved.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
# The entire source is LGPL-2.1-only, except:
# • The following are LicenseRef-Fedora-Public-Domain:
# - libinstpatch/md5.{c,h}
# - examples/create_sf2.c
# - examples/split_sfont.c
# See the comment above the License field for the base package for full
# details.
%if %{with gtkdoc}
# None of the LicenseRef-Fedora-Public-Domain files are included in this
# subpackage.
License: LGPL-2.1-only
%else
# The examples are included in this subpackage. The License is implicitly the
# same as the base package.
%endif
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel%{?_isa} Requires: glib2-devel%{?_isa}
Requires: libsndfile-devel%{?_isa} Requires: libsndfile-devel%{?_isa}
@ -83,6 +109,16 @@ developing applications that use %{name}.
%package doc %package doc
Summary: Documentation and examples for %{name} Summary: Documentation and examples for %{name}
BuildArch: noarch BuildArch: noarch
# The entire source is LGPL-2.1-only, except:
# • The following are LicenseRef-Fedora-Public-Domain:
# - libinstpatch/md5.{c,h}
# - examples/create_sf2.c
# - examples/split_sfont.c
# See the comment above the License field for the base package for full
# details.
#
# The examples are included in this subpackage. The License is implicitly the
# same as the base package.
%description doc %description doc
The %{name}-doc package contains documentation and examples for The %{name}-doc package contains documentation and examples for

Loading…
Cancel
Save