From dbb38926c420057ba1822b1ba21f7755d0cdc757 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 16 Apr 2021 08:50:19 -0400 Subject: [PATCH] =?UTF-8?q?Correct=20License=20field=20from=20=E2=80=9CLGP?= =?UTF-8?q?Lv2+=E2=80=9D=20to=20=E2=80=9CLGPLv2=20and=20GPLv2=20and=20Publ?= =?UTF-8?q?ic=20Domain=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libinstpatch.spec | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/libinstpatch.spec b/libinstpatch.spec index 2053e8d..1a2884a 100644 --- a/libinstpatch.spec +++ b/libinstpatch.spec @@ -6,7 +6,27 @@ Release: 24.20110806svn386%{?dist} Summary: Instrument file software library URL: http://www.swamiproject.org/ -License: LGPLv2+ +# The entire source is LGPLv2 except: +# +# GPLv2: +# libinstpatch/IpatchState.{c,h} +# libinstpatch/IpatchStateGroup.{c,h} +# libinstpatch/IpatchStateItem.{c,h} +# libinstpatch/IpatchState_types.{c,h} +# utils/ipatch_convert.c +# +# Public Domain: +# libinstpatch/md5.{c,h} +# +# LGPLv2+: +# python/ipatch.override +# +# However, the Python bindings are not built because they are not compatible +# with Python 3, so the LGPLv2+ license does not apply. +# +# Additionally, build system files that are not compiled or installed into the +# final RPMs are under various free software licenes. +License: LGPLv2 and GPLv2 and Public Domain # Fetch source via # sh libinstpatch-snapshot.sh 386 Source0: libinstpatch-%{version}-svn386.tar.bz2 @@ -23,6 +43,11 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(sndfile) +# Would be required for Python bindings, but they do not support Python 3: +# BuildRequires: python3-devel +# BuildRequires: pkgconfig(pygobject-2.0) +# BuildRequires: #{_bindir}/pygobject-codegen-2.0 + %description libInstPatch stands for lib-Instrument-Patch and is a library for processing digital sample based MIDI instrument “patch” files. The types of files @@ -47,7 +72,8 @@ applications that use %{name}. %build -%cmake +# Python bindings do not support Python 3. +%cmake -DBUILD_PYTHON_BINDING:BOOL=OFF %cmake_build %install @@ -74,6 +100,7 @@ applications that use %{name}. - Use much stricter file globs - Change library BR’s to pkgconfig() format - Use autosetup macro +- Correct License field from “LGPLv2+” to “LGPLv2 and GPLv2 and Public Domain” * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-23.20110806svn386 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild