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