Add a SourceLicense field

epel9
Benjamin A. Beasley 2 weeks ago
parent 400913edce
commit d64f519bb1

@ -7,32 +7,43 @@ Version: 0.8.14
Release: %autorelease Release: %autorelease
# The entire source is LGPL-2.0-or-later, except: # The entire source is LGPL-2.0-or-later, except:
# • The following are GPL-3.0-or-later:
# - texinfo.tex
# - libIDL2.info
# - libIDL2.texi
# The generated HTML documentation is also derived from texinfo.tex, and is
# therefore also GPL-3.0-or-later. These files comprise the entire contents
# of the -doc subpackage.
# #
# GPL-3.0-or-later:
# - texinfo.tex
# - libIDL2.info
# - libIDL2.texi
# The generated HTML documentation is also derived from texinfo.tex, and is
# therefore also GPL-3.0-or-later. These files comprise the entire contents
# of the -doc subpackage.
%global doc_license GPL-3.0-or-later
License: LGPL-2.0-or-later
# Additionally, the following files do not contribute to the license of the # Additionally, the following files do not contribute to the license of the
# binary RPMs because they belong to the build system or are otherwise not # binary RPMs because they belong to the build system or are otherwise not
# compiled and/or installed. # compiled and/or installed.
# • The following are FSFULLR, or since they are derived from the corresponding #
# Makefile.am files, perhaps more properly (LGPL-2.0-or-later AND FSFULLR): # FSFUL AND GPL-2.0-or-later WITH Libtool-exception AND LGPL-2.0-or-later:
# - Makefile.in and */Makefile.in # (LGPL-2.0-or-later is from the corresponding configure.in file.)
# • The following are FSFUL, or since they are derived from the corresponding # - configure
# configure.in file, perhaps more properly (LGPL-2.0-or-later AND FSFUL): # FSFULLR:
# - configure # - aclocal.m4
# • The following are (clearly only) FSFULLR: # FSFULLR AND LGPL-2.0-or-later:
# - aclocal.m4 # (LGPL-2.0-or-later is from the corresponding Makefile.am files.)
# • The following are GPL-2.0-or-later: # - Makefile.in
# - config.guess # - */Makefile.in
# - config.sub # GPL-2.0-or-later WITH Autoconf-exception-generic:
# - depcomp # - config.guess
# - ltmain.sh # - config.sub
# - missing # - depcomp
License: LGPL-2.0-or-later # - missing
# GPL-2.0-or-later WITH Libtool-exception:
# - ltmain.sh
SourceLicense: %{shrink:
%{license} AND %{doc_license} AND
FSFUL AND
FSFULLR AND
GPL-2.0-or-later WITH Autoconf-exception-generic
GPL-2.0-or-later WITH Libtool-exception
}
%global minorversion %(echo '%{version}' | cut -d . -f 1-2) %global minorversion %(echo '%{version}' | cut -d . -f 1-2)
URL: https://download.gnome.org/sources/libIDL/%{minorversion}/ URL: https://download.gnome.org/sources/libIDL/%{minorversion}/
Source0: %{url}/libIDL-%{version}.tar.bz2 Source0: %{url}/libIDL-%{version}.tar.bz2
@ -112,7 +123,7 @@ programs that use libIDL.
%package doc %package doc
Summary: Documentation for libIDL Summary: Documentation for libIDL
License: GPL-3.0-or-later License: %{doc_license}
BuildArch: noarch BuildArch: noarch

Loading…
Cancel
Save