From d9f5f498f8e19f8ad2eb53cc7225f2e31bedf4d6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Apr 2012 17:23:02 +0000 Subject: [PATCH 01/53] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 4b1f61f71b9009a10768900b60e03e8602c786be Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Fri, 20 Apr 2012 19:55:22 +0200 Subject: [PATCH 02/53] Initial import --- .gitignore | 1 + lv2.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 87 insertions(+) create mode 100644 lv2.spec diff --git a/.gitignore b/.gitignore index e69de29..cd23917 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/lv2-1.0.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec new file mode 100644 index 0000000..028f06d --- /dev/null +++ b/lv2.spec @@ -0,0 +1,85 @@ + +Name: lv2 +Version: 1.0.0 +Release: 2%{?dist} +Summary: Audio Plugin Standard +Group: System Environment/Libraries + +# lv2specgen template.html is CC-AT-SA +License: ISC +URL: http://lv2plug.in +Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 + +# this package replaces lv2core +Provides: lv2core = 6.0-4 +Obsoletes: lv2core < 6.0-4 +Provides: lv2-ui = 2.4-5 +Obsoletes: lv2-ui < 2.4-5 + +%description +LV2 is a standard for plugins and matching host applications, mainly +targeted at audio processing and generation. + +There are a large number of open source and free software synthesis +packages in use or development at this time. This API ('LV2') attempts +to give programmers the ability to write simple 'plugin' audio +processors in C/C++ and link them dynamically ('plug') into a range of +these packages ('hosts'). It should be possible for any host and any +plugin to communicate completely through this interface. + +LV2 is a successor to LADSPA, created to address the limitations of +LADSPA which many hosts have outgrown. + +%package devel +Summary: API for the LV2 Audio Plugin Standard +Group: Development/Libraries + +Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: lv2core-devel = 6.0-4 +Obsoletes: lv2core-devel < 6.0-4 +Provides: lv2-ui-devel = 2.4-5 +Obsoletes: lv2-ui-devel < 2.4-5 + +%description devel +lv2-devel contains the lv2.h header file and headers for all of the +LV@ specification extensions and bundles. + +Definitive technical documentation on LV2 plug-ins for both the host +and plug-in is contained within copious comments within the lv2.h +header file. + +%prep +%setup -q + +%build +./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug +./waf -vv %{?_smp_mflags} + +%install +rm -rf %buildroot +DESTDIR=%buildroot ./waf -vv install +# correct permissions +chmod 755 %{buildroot}%{_libdir}/%{name}/*/*.so + +%clean +rm -rf %buildroot + +%files +%doc COPYING NEWS README +%{_libdir}/%{name}/ +%exclude %{_libdir}/%{name}/*/*.[ch] + +%files devel +%{_includedir}/%{name}.h +%{_includedir}/%{name}/ +%{_libdir}/%{name}/*/*.[hc] +%{_libdir}/pkgconfig/lv2core.pc +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Fri Apr 20 2012 Brendan Jones - 1.0.0-2 +- Remove debuginfo supression, correct changelog + +* Fri Apr 20 2012 Brendan Jones - 1.0.0-1 +- Created + diff --git a/sources b/sources index e69de29..486f8ea 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +af98a50d8dfa8318a69800ea48b421f6 lv2-1.0.0.tar.bz2 From 2ec53e680da0bdcc153a4b76729cca98074e2067 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Fri, 20 Apr 2012 20:04:01 +0200 Subject: [PATCH 03/53] Add libsndfile BR --- lv2.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 028f06d..8423078 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,7 +1,7 @@ Name: lv2 Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -40,6 +40,8 @@ Obsoletes: lv2core-devel < 6.0-4 Provides: lv2-ui-devel = 2.4-5 Obsoletes: lv2-ui-devel < 2.4-5 +BuildRequires: libsndfile-devel >= 1.0.0 + %description devel lv2-devel contains the lv2.h header file and headers for all of the LV@ specification extensions and bundles. @@ -77,6 +79,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Apr 20 2012 Brendan Jones - 1.0.0-3 +- dd libsndfile BR + * Fri Apr 20 2012 Brendan Jones - 1.0.0-2 - Remove debuginfo supression, correct changelog From e58899085eedeac48b36742d43e7e67fcd117a23 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Sat, 21 Apr 2012 11:18:27 +0200 Subject: [PATCH 04/53] Remove examples --- lv2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lv2.spec b/lv2.spec index 8423078..1870eba 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,7 +1,7 @@ Name: lv2 Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -54,14 +54,12 @@ header file. %setup -q %build -./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug +./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug --no-plugins ./waf -vv %{?_smp_mflags} %install rm -rf %buildroot DESTDIR=%buildroot ./waf -vv install -# correct permissions -chmod 755 %{buildroot}%{_libdir}/%{name}/*/*.so %clean rm -rf %buildroot @@ -79,6 +77,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Sat Apr 21 2012 Brendan Jones - 1.0.0-4 +- remove examples + * Fri Apr 20 2012 Brendan Jones - 1.0.0-3 - dd libsndfile BR From bdff18c21d4bf21e7356badf60264ed0926b9b0e Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Sat, 21 Apr 2012 11:22:25 +0200 Subject: [PATCH 05/53] Remove libsndfile BR --- lv2.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lv2.spec b/lv2.spec index 1870eba..f89c188 100644 --- a/lv2.spec +++ b/lv2.spec @@ -40,8 +40,6 @@ Obsoletes: lv2core-devel < 6.0-4 Provides: lv2-ui-devel = 2.4-5 Obsoletes: lv2-ui-devel < 2.4-5 -BuildRequires: libsndfile-devel >= 1.0.0 - %description devel lv2-devel contains the lv2.h header file and headers for all of the LV@ specification extensions and bundles. @@ -77,6 +75,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Sat Apr 21 2012 Brendan Jones - 1.0.0-5 +- libsndfile no longer required + * Sat Apr 21 2012 Brendan Jones - 1.0.0-4 - remove examples From 952399b1327678b1f0884a169f28fead6e456ed5 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Mon, 23 Apr 2012 21:18:12 +0200 Subject: [PATCH 06/53] Suppress debuginfo --- lv2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/lv2.spec b/lv2.spec index f89c188..aa98981 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,3 +1,4 @@ +%global debug_package %{nil} Name: lv2 Version: 1.0.0 From bf6ee9026303be36cabe3326d8f4d6e93e23973b Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Mon, 23 Apr 2012 21:19:54 +0200 Subject: [PATCH 07/53] Suppress debuginfo --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index aa98981..9c56da4 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.0.0 -Release: 4%{?dist} +Release: 6%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -76,6 +76,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Sat Apr 21 2012 Brendan Jones - 1.0.0-6 +- Re-suppress debuginfo + * Sat Apr 21 2012 Brendan Jones - 1.0.0-5 - libsndfile no longer required From 22be706740d6a92e5d686f386649cb7786307e78 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Wed, 13 Jun 2012 06:45:19 +0200 Subject: [PATCH 08/53] Add no date footers to docs --- lv2-1.0.0-doxy-no-date-footer.patch | 22 ++++++++++++++++++++++ lv2.spec | 7 ++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 lv2-1.0.0-doxy-no-date-footer.patch diff --git a/lv2-1.0.0-doxy-no-date-footer.patch b/lv2-1.0.0-doxy-no-date-footer.patch new file mode 100644 index 0000000..a111673 --- /dev/null +++ b/lv2-1.0.0-doxy-no-date-footer.patch @@ -0,0 +1,22 @@ +diff -Nurp a/doc/no_date_footer.html b/doc/no_date_footer.html +--- a/doc/no_date_footer.html 1970-01-01 01:00:00.000000000 +0100 ++++ b/doc/no_date_footer.html 2012-06-13 06:39:11.894890732 +0200 +@@ -0,0 +1,6 @@ ++
++Generated for $projectname by doxygen ++$doxygenversion
++ ++ +diff -Nurp a/doc/reference.doxygen.in b/doc/reference.doxygen.in +--- a/doc/reference.doxygen.in 2012-06-13 06:37:39.947704544 +0200 ++++ b/doc/reference.doxygen.in 2012-06-13 06:38:32.184105951 +0200 +@@ -801,7 +801,7 @@ HTML_HEADER = + # each generated HTML page. If it is left blank doxygen will generate a + # standard footer. + +-HTML_FOOTER = ++HTML_FOOTER = no_date_footer.html + + # The HTML_STYLESHEET tag can be used to specify a user-defined cascading + # style sheet that is used by each HTML page. It can be used to diff --git a/lv2.spec b/lv2.spec index 9c56da4..b73f247 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -10,6 +10,7 @@ Group: System Environment/Libraries License: ISC URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 +Patch0: lv2-1.0.0-doxy-no-date-footer.patch # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -51,6 +52,7 @@ header file. %prep %setup -q +%patch -p1 %build ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug --no-plugins @@ -76,6 +78,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Jun 13 2012 Brendan Jones 1.0.0-7 +- Remove date from doxygen footers + * Sat Apr 21 2012 Brendan Jones - 1.0.0-6 - Re-suppress debuginfo From 63da30b1eed30a02c9b5f8de6477714606ddd8fb Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Wed, 13 Jun 2012 06:50:14 +0200 Subject: [PATCH 09/53] Add source --- lv2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index b73f247..1d043b4 100644 --- a/lv2.spec +++ b/lv2.spec @@ -52,7 +52,7 @@ header file. %prep %setup -q -%patch -p1 +%patch0 -p1 %build ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug --no-plugins From 67ea0e6b510c9235a98498bcb577f5231f8ae3df Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 17:38:43 -0500 Subject: [PATCH 10/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 1d043b4..849591d 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -78,6 +78,9 @@ rm -rf %buildroot %{_libdir}/pkgconfig/%{name}.pc %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 1.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Wed Jun 13 2012 Brendan Jones 1.0.0-7 - Remove date from doxygen footers From 5186754c15fe61133994d13bb9e6bc8856ef94f1 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Sat, 20 Oct 2012 22:51:40 +0200 Subject: [PATCH 11/53] New upstream 1.2.0 --- .gitignore | 1 + lv2-1.0.0-doxy-no-date-footer.patch | 22 ---------------------- lv2.spec | 26 +++++++++++++++++++++----- sources | 2 +- 4 files changed, 23 insertions(+), 28 deletions(-) delete mode 100644 lv2-1.0.0-doxy-no-date-footer.patch diff --git a/.gitignore b/.gitignore index cd23917..d875b4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /lv2-1.0.0.tar.bz2 +/lv2-1.2.0.tar.bz2 diff --git a/lv2-1.0.0-doxy-no-date-footer.patch b/lv2-1.0.0-doxy-no-date-footer.patch deleted file mode 100644 index a111673..0000000 --- a/lv2-1.0.0-doxy-no-date-footer.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Nurp a/doc/no_date_footer.html b/doc/no_date_footer.html ---- a/doc/no_date_footer.html 1970-01-01 01:00:00.000000000 +0100 -+++ b/doc/no_date_footer.html 2012-06-13 06:39:11.894890732 +0200 -@@ -0,0 +1,6 @@ -+
-+Generated for $projectname by doxygen -+$doxygenversion
-+ -+ -diff -Nurp a/doc/reference.doxygen.in b/doc/reference.doxygen.in ---- a/doc/reference.doxygen.in 2012-06-13 06:37:39.947704544 +0200 -+++ b/doc/reference.doxygen.in 2012-06-13 06:38:32.184105951 +0200 -@@ -801,7 +801,7 @@ HTML_HEADER = - # each generated HTML page. If it is left blank doxygen will generate a - # standard footer. - --HTML_FOOTER = -+HTML_FOOTER = no_date_footer.html - - # The HTML_STYLESHEET tag can be used to specify a user-defined cascading - # style sheet that is used by each HTML page. It can be used to diff --git a/lv2.spec b/lv2.spec index 849591d..16750ed 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: lv2 -Version: 1.0.0 -Release: 8%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -10,8 +10,8 @@ Group: System Environment/Libraries License: ISC URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 -Patch0: lv2-1.0.0-doxy-no-date-footer.patch +BuildRequires: doxygen # this package replaces lv2core Provides: lv2core = 6.0-4 Obsoletes: lv2core < 6.0-4 @@ -50,17 +50,27 @@ Definitive technical documentation on LV2 plug-ins for both the host and plug-in is contained within copious comments within the lv2.h header file. +%package docs +Summary: Documentation for the LV2 Audio Plugin Standard +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description docs +Documentation for the LV2 plugin API. + %prep %setup -q -%patch0 -p1 %build -./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug --no-plugins +./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ + --docs --no-plugins ./waf -vv %{?_smp_mflags} %install rm -rf %buildroot DESTDIR=%buildroot ./waf -vv install +mv %{buildroot}%{_docdir}/%name/* %{buildroot}%{_docdir}/%{name}-%{version} %clean rm -rf %buildroot @@ -77,7 +87,13 @@ rm -rf %buildroot %{_libdir}/pkgconfig/lv2core.pc %{_libdir}/pkgconfig/%{name}.pc +%files docs +%{_docdir}/%{name}-%{version}/* + %changelog +* Sat Oct 20 2012 Brendan Jones 1.2.0-1 +- New upstream release + * Thu Jul 19 2012 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 486f8ea..3810b10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -af98a50d8dfa8318a69800ea48b421f6 lv2-1.0.0.tar.bz2 +323b851563b4da1ad2c0faf5c76f0e3a lv2-1.2.0.tar.bz2 From a8d7f21a4f4ddd3d994927403525c1a3b599bf82 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Sun, 21 Oct 2012 12:40:09 +0200 Subject: [PATCH 12/53] Correct docs build requires --- lv2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 16750ed..dc72c87 100644 --- a/lv2.spec +++ b/lv2.spec @@ -11,7 +11,7 @@ License: ISC URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 -BuildRequires: doxygen +BuildRequires: doxygen graphviz python-rdflib # this package replaces lv2core Provides: lv2core = 6.0-4 Obsoletes: lv2core < 6.0-4 From 43994571dd17955fb97e150e8a73574744cd82df Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 00:02:24 -0600 Subject: [PATCH 13/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index dc72c87..e10538f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -91,6 +91,9 @@ rm -rf %buildroot %{_docdir}/%{name}-%{version}/* %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sat Oct 20 2012 Brendan Jones 1.2.0-1 - New upstream release From afd9e3bfb8e2283fbba60424866ba2e6b2113d0a Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Tue, 21 May 2013 18:59:26 +0200 Subject: [PATCH 14/53] New upstream release --- .gitignore | 1 + lv2.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d875b4a..3154d1c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /lv2-1.0.0.tar.bz2 /lv2-1.2.0.tar.bz2 +/lv2-1.4.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index e10538f..855be43 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: lv2 -Version: 1.2.0 -Release: 2%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -91,6 +91,9 @@ rm -rf %buildroot %{_docdir}/%{name}-%{version}/* %changelog +* Tue May 21 2013 Brendan Jones 1.4.0-1 +- New upstream release + * Thu Feb 14 2013 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 3810b10..d7e545c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -323b851563b4da1ad2c0faf5c76f0e3a lv2-1.2.0.tar.bz2 +b7fb567fbfadae14ecd4f422fa24d41e lv2-1.4.0.tar.bz2 From af91b51455b2d81d496778b8b39252294b89a2df Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 03:32:10 -0500 Subject: [PATCH 15/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 855be43..30e0cb4 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -91,6 +91,9 @@ rm -rf %buildroot %{_docdir}/%{name}-%{version}/* %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue May 21 2013 Brendan Jones 1.4.0-1 - New upstream release From f94e609ba0e05d3d823ce5f0877296643d41fd22 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Fri, 23 Aug 2013 12:28:06 +0200 Subject: [PATCH 16/53] New upstream 1.6.0 --- .gitignore | 1 + lv2.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3154d1c..e819b86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /lv2-1.0.0.tar.bz2 /lv2-1.2.0.tar.bz2 /lv2-1.4.0.tar.bz2 +/lv2-1.6.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 30e0cb4..81c394d 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: lv2 -Version: 1.4.0 -Release: 2%{?dist} +Version: 1.6.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -91,6 +91,9 @@ rm -rf %buildroot %{_docdir}/%{name}-%{version}/* %changelog +* Fri Aug 23 2013 Brendan Jones 1.6.0-1 +- Update to 1.6.0 + * Sat Aug 03 2013 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index d7e545c..ea5ad39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b7fb567fbfadae14ecd4f422fa24d41e lv2-1.4.0.tar.bz2 +943c3a62ec9b4e62139d83f8dd095fab lv2-1.6.0.tar.bz2 From 1581b34885fbef2d03b5952e70e4749245142ed8 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Mon, 23 Sep 2013 00:07:33 +0200 Subject: [PATCH 17/53] Don't duplicate -doc package contents in base package (#913540). - Define and use %_pkgdocdir as suggested by the Unversioned Docdirs change for Fedora 20 (#993908). - Pass --docdir= to waf. - Use Group Documentation in -doc subpackage. - Rename -docs package to -doc as recommended in the guidelines. - The documentation subpackage does not need the base package. --- lv2.spec | 45 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/lv2.spec b/lv2.spec index 81c394d..84e4ffd 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,10 @@ %global debug_package %{nil} +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} + Name: lv2 Version: 1.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -12,6 +14,11 @@ URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 BuildRequires: doxygen graphviz python-rdflib +# TODO: it complains about missing this, +# (Error importing pygments, syntax highlighting disabled) +# but the syntax-highlighting in the generated docs looks strange +#BuildRequires: python-pygments + # this package replaces lv2core Provides: lv2core = 6.0-4 Obsoletes: lv2core < 6.0-4 @@ -50,13 +57,14 @@ Definitive technical documentation on LV2 plug-ins for both the host and plug-in is contained within copious comments within the lv2.h header file. -%package docs +%package doc Summary: Documentation for the LV2 Audio Plugin Standard -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Group: Documentation BuildArch: noarch +Obsoletes: %{name}-docs < 1.6.0-2 +Provides: %{name}-docs = %{version}-%{release} -%description docs +%description doc Documentation for the LV2 plugin API. %prep @@ -64,19 +72,27 @@ Documentation for the LV2 plugin API. %build ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ - --docs --no-plugins + --docs --docdir=%{_pkgdocdir} --no-plugins ./waf -vv %{?_smp_mflags} %install rm -rf %buildroot DESTDIR=%buildroot ./waf -vv install -mv %{buildroot}%{_docdir}/%name/* %{buildroot}%{_docdir}/%{name}-%{version} +mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} +find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir +for f in COPYING NEWS README ; do + install -p -m0644 $f %{buildroot}%{_pkgdocdir} +done %clean rm -rf %buildroot %files -%doc COPYING NEWS README +# don't include doc files via %%doc here (bz 913540) +%dir %{_pkgdocdir} +%{_pkgdocdir}/COPYING +%{_pkgdocdir}/NEWS +%{_pkgdocdir}/README %{_libdir}/%{name}/ %exclude %{_libdir}/%{name}/*/*.[ch] @@ -87,10 +103,19 @@ rm -rf %buildroot %{_libdir}/pkgconfig/lv2core.pc %{_libdir}/pkgconfig/%{name}.pc -%files docs -%{_docdir}/%{name}-%{version}/* +%files doc +%{_pkgdocdir}/ %changelog +* Sun Sep 22 2013 Michael Schwendt - 1.6.0-2 +- Don't duplicate -doc package contents in base package (#913540). +- Define and use %%_pkgdocdir as suggested by the Unversioned Docdirs + change for Fedora 20 (#993908). +- Pass --docdir= to waf. +- Use Group Documentation in -doc subpackage. +- Rename -docs package to -doc as recommended in the guidelines. +- The documentation subpackage does not need the base package. + * Fri Aug 23 2013 Brendan Jones 1.6.0-1 - Update to 1.6.0 From 59299698e3278628f1298ddbd1738ecbc48c17db Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Sat, 11 Jan 2014 08:33:33 +0100 Subject: [PATCH 18/53] Update to 1.8.0 --- .gitignore | 1 + lv2.spec | 22 +++++++++++++++++++--- sources | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e819b86..3600510 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /lv2-1.2.0.tar.bz2 /lv2-1.4.0.tar.bz2 /lv2-1.6.0.tar.bz2 +/lv2-1.8.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 84e4ffd..1ef0cd2 100644 --- a/lv2.spec +++ b/lv2.spec @@ -3,8 +3,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.6.0 -Release: 2%{?dist} +Version: 1.8.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -67,12 +67,20 @@ Provides: %{name}-docs = %{version}-%{release} %description doc Documentation for the LV2 plugin API. +%package example-plugins +Summary: Examples of the LV2 Audio Plugin Standard +Group: Audio/Multimedia + +%description example-plugins +Example LV2 audio plugins + %prep %setup -q %build +export CFLAGS="%{optflags}" ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ - --docs --docdir=%{_pkgdocdir} --no-plugins + --docs --docdir=%{_pkgdocdir} ./waf -vv %{?_smp_mflags} %install @@ -94,11 +102,15 @@ rm -rf %buildroot %{_pkgdocdir}/NEWS %{_pkgdocdir}/README %{_libdir}/%{name}/ + %exclude %{_libdir}/%{name}/*/*.[ch] %files devel +%{_bindir}/lv2specgen.py +%{_datadir}/lv2specgen %{_includedir}/%{name}.h %{_includedir}/%{name}/ +%{_libdir}/%{name}/eg-* %{_libdir}/%{name}/*/*.[hc] %{_libdir}/pkgconfig/lv2core.pc %{_libdir}/pkgconfig/%{name}.pc @@ -107,6 +119,10 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Thu Jan 09 2014 Brendan Jones 1.8.0-1 +- Upstream maintenance release +- Add example plugins + * Sun Sep 22 2013 Michael Schwendt - 1.6.0-2 - Don't duplicate -doc package contents in base package (#913540). - Define and use %%_pkgdocdir as suggested by the Unversioned Docdirs diff --git a/sources b/sources index ea5ad39..9887b95 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -943c3a62ec9b4e62139d83f8dd095fab lv2-1.6.0.tar.bz2 +2bdcf01f24fa567448afbf6b8be17044 lv2-1.8.0.tar.bz2 From 44eaf65f26cbba42a1d268dc43f56e3c03ceb362 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 02:22:03 -0500 Subject: [PATCH 19/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 1ef0cd2..0776750 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -119,6 +119,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Thu Jan 09 2014 Brendan Jones 1.8.0-1 - Upstream maintenance release - Add example plugins From 16ed020c76c14272468c8507012d801bff09e767 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 08:02:52 +0000 Subject: [PATCH 20/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 0776750..2cb8eef 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -119,6 +119,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 65876ade164950cccf6bcbe7a19c61782b3d6dce Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Tue, 19 Aug 2014 17:04:06 +0200 Subject: [PATCH 21/53] Update to 1.10.0 --- .gitignore | 1 + lv2.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3600510..1417792 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /lv2-1.4.0.tar.bz2 /lv2-1.6.0.tar.bz2 /lv2-1.8.0.tar.bz2 +/lv2-1.10.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 2cb8eef..c22fb8e 100644 --- a/lv2.spec +++ b/lv2.spec @@ -3,8 +3,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.8.0 -Release: 3%{?dist} +Version: 1.10.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -119,6 +119,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Tue Aug 19 2014 Brendan Jones 1.10.0-1 +- Update to 1.10.0 + * Sun Aug 17 2014 Fedora Release Engineering - 1.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 9887b95..c5384b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2bdcf01f24fa567448afbf6b8be17044 lv2-1.8.0.tar.bz2 +dbf6ac9a1003b754155501984eebd57e lv2-1.10.0.tar.bz2 From 8e87d9e090aeac26d2f61b6f7445ebecbe9350d2 Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Tue, 19 Aug 2014 22:07:31 +0200 Subject: [PATCH 22/53] Add missing BRs --- lv2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index c22fb8e..44819bb 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -14,6 +14,7 @@ URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 BuildRequires: doxygen graphviz python-rdflib +BuildRequires: libsndfile-devel # TODO: it complains about missing this, # (Error importing pygments, syntax highlighting disabled) # but the syntax-highlighting in the generated docs looks strange @@ -119,6 +120,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Tue Aug 19 2014 Brendan Jones 1.10.0-2 +- Ad miising libsndfile + * Tue Aug 19 2014 Brendan Jones 1.10.0-1 - Update to 1.10.0 From 5f64968a0e55f681fe542d48f55f536bfe78e7fe Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 19:09:58 +0000 Subject: [PATCH 23/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 44819bb..0050211 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -120,6 +120,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Aug 19 2014 Brendan Jones 1.10.0-2 - Ad miising libsndfile From 9588acec3a0ed53a38e99ce66e7a0a14dfac613c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 04:37:05 +0000 Subject: [PATCH 24/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 0050211..511116f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.10.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -120,6 +120,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 094e710ade625b862cf28cfaabdeea839e1b374f Mon Sep 17 00:00:00 2001 From: Brendan Jones Date: Fri, 16 Sep 2016 11:28:06 +0200 Subject: [PATCH 25/53] Update to 1.12.0 --- .gitignore | 1 + lv2.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1417792..56ceed8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /lv2-1.6.0.tar.bz2 /lv2-1.8.0.tar.bz2 /lv2-1.10.0.tar.bz2 +/lv2-1.12.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 511116f..d26e79f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -3,8 +3,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.10.0 -Release: 4%{?dist} +Version: 1.12.0 +Release: 1%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -81,7 +81,7 @@ Example LV2 audio plugins %build export CFLAGS="%{optflags}" ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ - --docs --docdir=%{_pkgdocdir} + --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 ./waf -vv %{?_smp_mflags} %install @@ -89,7 +89,7 @@ rm -rf %buildroot DESTDIR=%buildroot ./waf -vv install mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir -for f in COPYING NEWS README ; do +for f in COPYING NEWS README.md ; do install -p -m0644 $f %{buildroot}%{_pkgdocdir} done @@ -101,7 +101,7 @@ rm -rf %buildroot %dir %{_pkgdocdir} %{_pkgdocdir}/COPYING %{_pkgdocdir}/NEWS -%{_pkgdocdir}/README +%{_pkgdocdir}/README.md %{_libdir}/%{name}/ %exclude %{_libdir}/%{name}/*/*.[ch] @@ -120,6 +120,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Fri Sep 16 2016 Brendan Jones - 1.12.0-1 +- Update to 1.12.0 + * Thu Feb 04 2016 Fedora Release Engineering - 1.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index c5384b7..ac0aa30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dbf6ac9a1003b754155501984eebd57e lv2-1.10.0.tar.bz2 +665580dc761de40b0d335001a204496a lv2-1.12.0.tar.bz2 From 8f9f70eb677705125b76ecd4cc71914d63b0d1ba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 20:10:52 +0000 Subject: [PATCH 26/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index d26e79f..f762b0d 100644 --- a/lv2.spec +++ b/lv2.spec @@ -4,7 +4,7 @@ Name: lv2 Version: 1.12.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard Group: System Environment/Libraries @@ -120,6 +120,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Sep 16 2016 Brendan Jones - 1.12.0-1 - Update to 1.12.0 From 44f08043f4d640546b95e086f1711630a91bb6ee Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Wed, 15 Mar 2017 09:59:37 +0100 Subject: [PATCH 27/53] Update to 1.14.0 Move examples to the example-plugins subpackage Provide debuginfo for the examples Use hardened LDFLAGS Enable syntax highlighting in doc subpackage Remove deprecated Groups tags --- .gitignore | 1 + lv2.spec | 34 ++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 56ceed8..ea835a5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /lv2-1.8.0.tar.bz2 /lv2-1.10.0.tar.bz2 /lv2-1.12.0.tar.bz2 +/lv2-1.14.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index f762b0d..3bb7854 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,12 +1,9 @@ -%global debug_package %{nil} - %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.12.0 -Release: 2%{?dist} +Version: 1.14.0 +Release: 1%{?dist} Summary: Audio Plugin Standard -Group: System Environment/Libraries # lv2specgen template.html is CC-AT-SA License: ISC @@ -15,10 +12,8 @@ Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 BuildRequires: doxygen graphviz python-rdflib BuildRequires: libsndfile-devel -# TODO: it complains about missing this, -# (Error importing pygments, syntax highlighting disabled) -# but the syntax-highlighting in the generated docs looks strange -#BuildRequires: python-pygments +BuildRequires: gcc +BuildRequires: python-pygments # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -42,7 +37,6 @@ LADSPA which many hosts have outgrown. %package devel Summary: API for the LV2 Audio Plugin Standard -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Provides: lv2core-devel = 6.0-4 @@ -52,7 +46,7 @@ Obsoletes: lv2-ui-devel < 2.4-5 %description devel lv2-devel contains the lv2.h header file and headers for all of the -LV@ specification extensions and bundles. +LV2 specification extensions and bundles. Definitive technical documentation on LV2 plug-ins for both the host and plug-in is contained within copious comments within the lv2.h @@ -60,7 +54,6 @@ header file. %package doc Summary: Documentation for the LV2 Audio Plugin Standard -Group: Documentation BuildArch: noarch Obsoletes: %{name}-docs < 1.6.0-2 Provides: %{name}-docs = %{version}-%{release} @@ -70,7 +63,6 @@ Documentation for the LV2 plugin API. %package example-plugins Summary: Examples of the LV2 Audio Plugin Standard -Group: Audio/Multimedia %description example-plugins Example LV2 audio plugins @@ -80,6 +72,7 @@ Example LV2 audio plugins %build export CFLAGS="%{optflags}" +export LDFLAGS="%{__global_ldflags}" ./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 ./waf -vv %{?_smp_mflags} @@ -105,21 +98,34 @@ rm -rf %buildroot %{_libdir}/%{name}/ %exclude %{_libdir}/%{name}/*/*.[ch] +%exclude %{_libdir}/%{name}/eg-* %files devel %{_bindir}/lv2specgen.py %{_datadir}/lv2specgen %{_includedir}/%{name}.h %{_includedir}/%{name}/ -%{_libdir}/%{name}/eg-* %{_libdir}/%{name}/*/*.[hc] %{_libdir}/pkgconfig/lv2core.pc %{_libdir}/pkgconfig/%{name}.pc +%exclude %{_libdir}/%{name}/eg-* + +%files example-plugins +%{_libdir}/%{name}/eg-* + %files doc %{_pkgdocdir}/ %changelog +* Mon Mar 13 2017 Guido Aulisi - 1.14.0-1 +- Update to 1.14.0 +- Move examples to the example-plugins subpackage +- Provide debuginfo for the examples +- Use hardened LDFLAGS +- Enable syntax highlighting in doc subpackage +- Remove deprecated Groups tags + * Fri Feb 10 2017 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index ac0aa30..a57deb1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -665580dc761de40b0d335001a204496a lv2-1.12.0.tar.bz2 +SHA512 (lv2-1.14.0.tar.bz2) = 6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498 From 93b4adf1a430127008e3501680c75439a0d37114 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Mon, 27 Mar 2017 14:54:57 +0200 Subject: [PATCH 28/53] Fix wrong interpreter in lv2specgen.py --- lv2.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 3bb7854..381e42f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -14,6 +14,7 @@ BuildRequires: doxygen graphviz python-rdflib BuildRequires: libsndfile-devel BuildRequires: gcc BuildRequires: python-pygments +BuildRequires: python2-devel # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -69,6 +70,8 @@ Example LV2 audio plugins %prep %setup -q +# Fix wrong interpreter in lv2specgen.py +sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py %build export CFLAGS="%{optflags}" @@ -118,6 +121,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Mon Mar 27 2017 Guido Aulisi - 1.14.0-2 +- Fix wrong interpreter in lv2specgen.py + * Mon Mar 13 2017 Guido Aulisi - 1.14.0-1 - Update to 1.14.0 - Move examples to the example-plugins subpackage From 589d8a84efddac738634e577876cb3d698ed4f23 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 20:32:28 +0000 Subject: [PATCH 29/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 381e42f..682e1f8 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -121,6 +121,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.14.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon Mar 27 2017 Guido Aulisi - 1.14.0-2 - Fix wrong interpreter in lv2specgen.py From 22d7637d295c8082d689a2a97bbda1e689719164 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 02:51:23 +0000 Subject: [PATCH 30/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 682e1f8..2ad3f12 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -121,6 +121,9 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.14.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.14.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 1e4caf671e3f47573a8fd16289766411b4c707a3 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 7 Feb 2018 06:07:55 +0100 Subject: [PATCH 31/53] Update Python 2 dependency declarations to new packaging standards --- lv2.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lv2.spec b/lv2.spec index 2ad3f12..0782074 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -10,10 +10,10 @@ License: ISC URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 -BuildRequires: doxygen graphviz python-rdflib +BuildRequires: doxygen graphviz python2-rdflib BuildRequires: libsndfile-devel BuildRequires: gcc -BuildRequires: python-pygments +BuildRequires: python2-pygments BuildRequires: python2-devel # this package replaces lv2core @@ -121,6 +121,10 @@ rm -rf %buildroot %{_pkgdocdir}/ %changelog +* Wed Feb 07 2018 Iryna Shcherbina - 1.14.0-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Thu Aug 03 2017 Fedora Release Engineering - 1.14.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 822a3c678b882311df0adf963738aa37ab41a1f6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 09:05:50 +0100 Subject: [PATCH 32/53] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- lv2.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/lv2.spec b/lv2.spec index 0782074..f2c28f2 100644 --- a/lv2.spec +++ b/lv2.spec @@ -89,9 +89,6 @@ for f in COPYING NEWS README.md ; do install -p -m0644 $f %{buildroot}%{_pkgdocdir} done -%clean -rm -rf %buildroot - %files # don't include doc files via %%doc here (bz 913540) %dir %{_pkgdocdir} From ef6257ae3e5ed847183f326d9288fc94ad986c46 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 09:31:35 +0000 Subject: [PATCH 33/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index f2c28f2..4c3a566 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -118,6 +118,9 @@ done %{_pkgdocdir}/ %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.14.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Iryna Shcherbina - 1.14.0-5 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From e5b6ef0baf33ee0c2f7a674d14aef7e03b117df1 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Sun, 15 Jul 2018 12:09:02 +0200 Subject: [PATCH 34/53] Fix FTBFS due to the move of /usr/bin/python into a separate package See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package --- lv2.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lv2.spec b/lv2.spec index 4c3a566..8955dff 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -76,13 +76,13 @@ sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py %build export CFLAGS="%{optflags}" export LDFLAGS="%{__global_ldflags}" -./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ +%{__python2} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 -./waf -vv %{?_smp_mflags} +%{__python2} waf -vv %{?_smp_mflags} %install rm -rf %buildroot -DESTDIR=%buildroot ./waf -vv install +DESTDIR=%buildroot %{__python2} waf -vv install mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir for f in COPYING NEWS README.md ; do @@ -118,6 +118,9 @@ done %{_pkgdocdir}/ %changelog +* Sun Jul 15 2018 Guido Aulisi - 1.14.0-7 +- Fix FTBFS due to the move of /usr/bin/python into a separate package + * Fri Jul 13 2018 Fedora Release Engineering - 1.14.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 95469d17be953c2b6883ee5d8f2e5005754dd410 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 09:15:59 +0000 Subject: [PATCH 35/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 8955dff..fcc3140 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -118,6 +118,9 @@ done %{_pkgdocdir}/ %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.14.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 15 2018 Guido Aulisi - 1.14.0-7 - Fix FTBFS due to the move of /usr/bin/python into a separate package From 9f53185d6c7d83c3456d6759e9b460a4fceab816 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Tue, 19 Feb 2019 22:36:52 +0100 Subject: [PATCH 36/53] Add missing dependency in devel package --- lv2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index fcc3140..33c4d9d 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.14.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -40,6 +40,7 @@ LADSPA which many hosts have outgrown. Summary: API for the LV2 Audio Plugin Standard Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: python2-rdflib Provides: lv2core-devel = 6.0-4 Obsoletes: lv2core-devel < 6.0-4 Provides: lv2-ui-devel = 2.4-5 @@ -118,6 +119,9 @@ done %{_pkgdocdir}/ %changelog +* Tue Feb 19 2019 Guido Aulisi - 1.14.0-9 +- Add missing dependency in devel package + * Fri Feb 01 2019 Fedora Release Engineering - 1.14.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 8d8c44315f0a89943250c2b38f729f1117d854d5 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Tue, 23 Apr 2019 12:08:07 +0200 Subject: [PATCH 37/53] Update to 1.16.0 Use python3 Some spec cleanup --- .gitignore | 1 + lv2.spec | 36 +++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index ea835a5..afbbd35 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /lv2-1.10.0.tar.bz2 /lv2-1.12.0.tar.bz2 /lv2-1.14.0.tar.bz2 +/lv2-1.16.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 33c4d9d..22c8e20 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.14.0 -Release: 9%{?dist} +Version: 1.16.0 +Release: 1%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -10,11 +10,14 @@ License: ISC URL: http://lv2plug.in Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 -BuildRequires: doxygen graphviz python2-rdflib +BuildRequires: doxygen +BuildRequires: graphviz BuildRequires: libsndfile-devel BuildRequires: gcc -BuildRequires: python2-pygments -BuildRequires: python2-devel +BuildRequires: python3-devel +BuildRequires: python3-pygments +Buildrequires: python3-rdflib +Buildrequires: asciidoc # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -40,7 +43,7 @@ LADSPA which many hosts have outgrown. Summary: API for the LV2 Audio Plugin Standard Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: python2-rdflib +Requires: python3-rdflib Provides: lv2core-devel = 6.0-4 Obsoletes: lv2core-devel < 6.0-4 Provides: lv2-ui-devel = 2.4-5 @@ -72,21 +75,19 @@ Example LV2 audio plugins %prep %setup -q # Fix wrong interpreter in lv2specgen.py -sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py +sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py %build -export CFLAGS="%{optflags}" -export LDFLAGS="%{__global_ldflags}" -%{__python2} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \ +%set_build_flags +%{__python3} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} \ --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 -%{__python2} waf -vv %{?_smp_mflags} +%{__python3} waf -vv %{?_smp_mflags} %install -rm -rf %buildroot -DESTDIR=%buildroot %{__python2} waf -vv install +DESTDIR=%buildroot %{__python3} waf -vv install mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir -for f in COPYING NEWS README.md ; do +for f in COPYING NEWS README.md build/plugins/book.{txt,html} ; do install -p -m0644 $f %{buildroot}%{_pkgdocdir} done @@ -103,11 +104,11 @@ done %files devel %{_bindir}/lv2specgen.py +%{_bindir}/lv2_validate %{_datadir}/lv2specgen %{_includedir}/%{name}.h %{_includedir}/%{name}/ %{_libdir}/%{name}/*/*.[hc] -%{_libdir}/pkgconfig/lv2core.pc %{_libdir}/pkgconfig/%{name}.pc %exclude %{_libdir}/%{name}/eg-* @@ -119,6 +120,11 @@ done %{_pkgdocdir}/ %changelog +* Tue Apr 23 2019 Guido Aulisi - 1.16.0-1 +- Update to 1.16.0 +- Use python3 +- Some spec cleanup + * Tue Feb 19 2019 Guido Aulisi - 1.14.0-9 - Add missing dependency in devel package diff --git a/sources b/sources index a57deb1..090f91c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lv2-1.14.0.tar.bz2) = 6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498 +SHA512 (lv2-1.16.0.tar.bz2) = ead6d590cded5dd7a548d6ffe0f2f9f8efadfa7bb9e8b4fa0aea6664ccdfbb3ca697514bddebe695a9442fba5b62714b5cd45c1bf7d0aaef12ffe50972c2d88c From f0e54c725e9326ab4bd896484b94850f5a3949a2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 15:28:32 +0000 Subject: [PATCH 38/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 22c8e20..4232012 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -120,6 +120,9 @@ done %{_pkgdocdir}/ %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue Apr 23 2019 Guido Aulisi - 1.16.0-1 - Update to 1.16.0 - Use python3 From 448135943ee1c475e39c739e3cd23fa254044138 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 11:36:34 +0000 Subject: [PATCH 39/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 4232012..d46782b 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.16.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -120,6 +120,9 @@ done %{_pkgdocdir}/ %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 1.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 1.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 20ce44b30de35ba87ea57442b914641777dc3dbb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 06:32:50 +0000 Subject: [PATCH 40/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index d46782b..28e3efd 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.16.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -120,6 +120,9 @@ done %{_pkgdocdir}/ %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.16.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 1.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 2e32c6c3d7ae6f14d7814270faacc9c62961b313 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Wed, 26 Aug 2020 09:39:47 +0200 Subject: [PATCH 41/53] Update to 1.18.0 Add missing BR --- .gitignore | 1 + lv2.spec | 22 +++++++++++++++------- sources | 2 +- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index afbbd35..f1dace2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /lv2-1.12.0.tar.bz2 /lv2-1.14.0.tar.bz2 /lv2-1.16.0.tar.bz2 +/lv2-1.18.0.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 28e3efd..76f0d54 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.16.0 -Release: 4%{?dist} +Version: 1.18.0 +Release: 1%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -17,7 +17,10 @@ BuildRequires: gcc BuildRequires: python3-devel BuildRequires: python3-pygments Buildrequires: python3-rdflib +Buildrequires: python3-markdown +Buildrequires: python3-lxml Buildrequires: asciidoc +Buildrequires: cairo-devel >= 1.8.10 # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -44,6 +47,7 @@ Summary: API for the LV2 Audio Plugin Standard Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python3-rdflib +Requires: python3-markdown Provides: lv2core-devel = 6.0-4 Obsoletes: lv2core-devel < 6.0-4 Provides: lv2-ui-devel = 2.4-5 @@ -80,12 +84,12 @@ sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py %build %set_build_flags %{__python3} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} \ - --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 + --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 --no-check-links %{__python3} waf -vv %{?_smp_mflags} %install -DESTDIR=%buildroot %{__python3} waf -vv install -mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir} +DESTDIR=%{buildroot} %{__python3} waf -vv install +mv %{buildroot}%{_pkgdocdir}/%{name}/* %{buildroot}%{_pkgdocdir} find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir for f in COPYING NEWS README.md build/plugins/book.{txt,html} ; do install -p -m0644 $f %{buildroot}%{_pkgdocdir} @@ -120,6 +124,10 @@ done %{_pkgdocdir}/ %changelog +* Wed Aug 26 2020 Guido Aulisi - 1.18.0-1 +- Update to 1.18.0 +- Add missing BR + * Tue Jul 28 2020 Fedora Release Engineering - 1.16.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild @@ -165,7 +173,7 @@ done - Provide debuginfo for the examples - Use hardened LDFLAGS - Enable syntax highlighting in doc subpackage -- Remove deprecated Groups tags +- Remove deprecated Group tags * Fri Feb 10 2017 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild @@ -180,7 +188,7 @@ done - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Aug 19 2014 Brendan Jones 1.10.0-2 -- Ad miising libsndfile +- Add missing libsndfile * Tue Aug 19 2014 Brendan Jones 1.10.0-1 - Update to 1.10.0 diff --git a/sources b/sources index 090f91c..1cf81ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lv2-1.16.0.tar.bz2) = ead6d590cded5dd7a548d6ffe0f2f9f8efadfa7bb9e8b4fa0aea6664ccdfbb3ca697514bddebe695a9442fba5b62714b5cd45c1bf7d0aaef12ffe50972c2d88c +SHA512 (lv2-1.18.0.tar.bz2) = 9e8dd9c1f30371260d21efc105b1d4d4ad03d9e332d4d3877d873f20b9527bcd0e917ff23fc6e0a9cc4337bda85882c742f225f7cf4fbc8a8a0964565c91f9d9 From 43db4e9812795c0844dc0c113b8e3a112487e1b1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 18:56:10 +0000 Subject: [PATCH 42/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 76f0d54..381428c 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -124,6 +124,9 @@ done %{_pkgdocdir}/ %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Aug 26 2020 Guido Aulisi - 1.18.0-1 - Update to 1.18.0 - Add missing BR From ac0e813c17e1d3aee8d1e3347fec819ae1c8ea78 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 13:24:53 +0000 Subject: [PATCH 43/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 381428c..f9d228c 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -124,6 +124,9 @@ done %{_pkgdocdir}/ %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.18.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 1aacc61f2fda87e9a847a8c34cc3ebfb1f18c6a2 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Fri, 8 Oct 2021 23:42:57 +0200 Subject: [PATCH 44/53] Update to 1.18.2 Add BR gcc-c++, waf looks for a c++ compiler --- .gitignore | 1 + lv2.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f1dace2..0e34b1c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /lv2-1.14.0.tar.bz2 /lv2-1.16.0.tar.bz2 /lv2-1.18.0.tar.bz2 +/lv2-1.18.2.tar.bz2 diff --git a/lv2.spec b/lv2.spec index f9d228c..4b413e7 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,8 +1,8 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.18.0 -Release: 3%{?dist} +Version: 1.18.2 +Release: 1%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -14,6 +14,7 @@ BuildRequires: doxygen BuildRequires: graphviz BuildRequires: libsndfile-devel BuildRequires: gcc +BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: python3-pygments Buildrequires: python3-rdflib @@ -124,6 +125,10 @@ done %{_pkgdocdir}/ %changelog +* Fri Oct 08 2021 Guido Aulisi - 1.18.2-1 +- Update to 1.18.2 +- Add BR gcc-c++ + * Thu Jul 22 2021 Fedora Release Engineering - 1.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 1cf81ee..6fcc3aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lv2-1.18.0.tar.bz2) = 9e8dd9c1f30371260d21efc105b1d4d4ad03d9e332d4d3877d873f20b9527bcd0e917ff23fc6e0a9cc4337bda85882c742f225f7cf4fbc8a8a0964565c91f9d9 +SHA512 (lv2-1.18.2.tar.bz2) = d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef From da86048414e012d70b9f15379d261dadcb0c1f64 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 18:21:05 +0000 Subject: [PATCH 45/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index 4b413e7..034a8e6 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -125,6 +125,9 @@ done %{_pkgdocdir}/ %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.18.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Oct 08 2021 Guido Aulisi - 1.18.2-1 - Update to 1.18.2 - Add BR gcc-c++ From 8adc46f8d9e26adf550a16fd2610484efc8e4fc0 Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Sat, 2 Jul 2022 14:26:43 +0200 Subject: [PATCH 46/53] Update to 1.18.4 --- .gitignore | 1 + lv2.spec | 11 +++++++---- sources | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 0e34b1c..3ce64db 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /lv2-1.16.0.tar.bz2 /lv2-1.18.0.tar.bz2 /lv2-1.18.2.tar.bz2 +/lv2-1.18.4.tar.bz2 diff --git a/lv2.spec b/lv2.spec index 034a8e6..e669e8f 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,14 +1,14 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.18.2 -Release: 2%{?dist} +Version: 1.18.4 +Release: 1%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA License: ISC -URL: http://lv2plug.in -Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2 +URL: https://lv2plug.in +Source: https://lv2plug.in/spec/lv2-%{version}.tar.bz2 BuildRequires: doxygen BuildRequires: graphviz @@ -125,6 +125,9 @@ done %{_pkgdocdir}/ %changelog +* Sat Jul 02 2022 Guido Aulisi - 1.18.4-1 +- Update to 1.18.4 + * Thu Jan 20 2022 Fedora Release Engineering - 1.18.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 6fcc3aa..4ad99d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lv2-1.18.2.tar.bz2) = d5bdcf94d3cf9a569e29964002a038ae73cd6ae7f09f7d973f8fd74858c8cf9d01bbed85ae8bf0a00efcb2b3611357a64571222a89972091941449c36d76b0ef +SHA512 (lv2-1.18.4.tar.bz2) = 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a From 5617bb94a592b8dad4c72f150ad43fd49630c97c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 20:09:12 +0000 Subject: [PATCH 47/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- lv2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index e669e8f..3543623 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -125,6 +125,9 @@ done %{_pkgdocdir}/ %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.18.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jul 02 2022 Guido Aulisi - 1.18.4-1 - Update to 1.18.4 From 0977145ca979d33f36f7ca386249eb6ed2738299 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Tue, 30 Aug 2022 17:40:45 +0200 Subject: [PATCH 48/53] Update to 1.18.8, clean up SPEC file --- .gitignore | 1 + lv2.spec | 59 ++++++++++++++++++++++++++---------------------------- sources | 2 +- 3 files changed, 30 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 3ce64db..5f095fe 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /lv2-1.18.0.tar.bz2 /lv2-1.18.2.tar.bz2 /lv2-1.18.4.tar.bz2 +/lv2-1.18.8.tar.xz diff --git a/lv2.spec b/lv2.spec index 3543623..99920d2 100644 --- a/lv2.spec +++ b/lv2.spec @@ -1,27 +1,27 @@ %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} Name: lv2 -Version: 1.18.4 -Release: 2%{?dist} +Version: 1.18.8 +Release: 1%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA License: ISC URL: https://lv2plug.in -Source: https://lv2plug.in/spec/lv2-%{version}.tar.bz2 +Source: https://lv2plug.in/spec/lv2-%{version}.tar.xz +BuildRequires: asciidoc +Buildrequires: cairo-devel >= 1.8.10 BuildRequires: doxygen +BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: libsndfile-devel -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: python3-devel +BuildRequires: meson +BuildRequires: pkgconfig(samplerate) BuildRequires: python3-pygments Buildrequires: python3-rdflib Buildrequires: python3-markdown Buildrequires: python3-lxml -Buildrequires: asciidoc -Buildrequires: cairo-devel >= 1.8.10 # this package replaces lv2core Provides: lv2core = 6.0-4 @@ -75,56 +75,53 @@ Documentation for the LV2 plugin API. Summary: Examples of the LV2 Audio Plugin Standard %description example-plugins -Example LV2 audio plugins +Example plugins for the LV2 Audio Plugin Standard. %prep -%setup -q +%autosetup -p1 # Fix wrong interpreter in lv2specgen.py sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py %build -%set_build_flags -%{__python3} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} \ - --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 --no-check-links -%{__python3} waf -vv %{?_smp_mflags} +%meson \ + -D docs=enabled \ + -D old_headers=false \ + -D tests=disabled + +%meson_build %install -DESTDIR=%{buildroot} %{__python3} waf -vv install -mv %{buildroot}%{_pkgdocdir}/%{name}/* %{buildroot}%{_pkgdocdir} -find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir -for f in COPYING NEWS README.md build/plugins/book.{txt,html} ; do - install -p -m0644 $f %{buildroot}%{_pkgdocdir} -done +%meson_install + +# Let RPM pick docs in the files section +rm -fr %{buildroot}%{_docdir}/%{name} %files -# don't include doc files via %%doc here (bz 913540) -%dir %{_pkgdocdir} -%{_pkgdocdir}/COPYING -%{_pkgdocdir}/NEWS -%{_pkgdocdir}/README.md +%license COPYING +%doc NEWS README.md %{_libdir}/%{name}/ - -%exclude %{_libdir}/%{name}/*/*.[ch] %exclude %{_libdir}/%{name}/eg-* %files devel %{_bindir}/lv2specgen.py %{_bindir}/lv2_validate %{_datadir}/lv2specgen -%{_includedir}/%{name}.h %{_includedir}/%{name}/ -%{_libdir}/%{name}/*/*.[hc] %{_libdir}/pkgconfig/%{name}.pc - %exclude %{_libdir}/%{name}/eg-* %files example-plugins %{_libdir}/%{name}/eg-* %files doc -%{_pkgdocdir}/ +%doc %{_vpath_builddir}/doc/* %changelog +* Tue Aug 30 2022 Simone Caronni - 1.18.8-1 +- Update to 1.18.8, switch to Meson. +- Update docs installation. +- Drop gcc/python-devel build requirements. + * Thu Jul 21 2022 Fedora Release Engineering - 1.18.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 4ad99d1..8604699 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lv2-1.18.4.tar.bz2) = 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a +SHA512 (lv2-1.18.8.tar.xz) = 9925290818bd683200bc738e3e9342b946fe82a04d983e89c240ae70b9053a7a59a8d505c522fe7af5b804adeba00fdf94403bd34844ce11e26cc1ff62c2f254 From 1e9af1e4326b269dadca750f57a68dfd82c8c42c Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Tue, 30 Aug 2022 17:47:49 +0200 Subject: [PATCH 49/53] Avoid exclude directives in the files section so build ids are not duplicated --- lv2.spec | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/lv2.spec b/lv2.spec index 99920d2..e575e3e 100644 --- a/lv2.spec +++ b/lv2.spec @@ -73,6 +73,7 @@ Documentation for the LV2 plugin API. %package example-plugins Summary: Examples of the LV2 Audio Plugin Standard +Requires: %{name}%{?_isa} = %{version}-%{release} %description example-plugins Example plugins for the LV2 Audio Plugin Standard. @@ -99,8 +100,32 @@ rm -fr %{buildroot}%{_docdir}/%{name} %files %license COPYING %doc NEWS README.md -%{_libdir}/%{name}/ -%exclude %{_libdir}/%{name}/eg-* +%dir %{_libdir}/%{name}/ +%{_libdir}/%{name}/atom.lv2 +%{_libdir}/%{name}/buf-size.lv2 +%{_libdir}/%{name}/core.lv2 +%{_libdir}/%{name}/data-access.lv2 +%{_libdir}/%{name}/dynmanifest.lv2 +%{_libdir}/%{name}/event.lv2 +%{_libdir}/%{name}/instance-access.lv2 +%{_libdir}/%{name}/log.lv2 +%{_libdir}/%{name}/midi.lv2 +%{_libdir}/%{name}/morph.lv2 +%{_libdir}/%{name}/options.lv2 +%{_libdir}/%{name}/parameters.lv2 +%{_libdir}/%{name}/patch.lv2 +%{_libdir}/%{name}/port-groups.lv2 +%{_libdir}/%{name}/port-props.lv2 +%{_libdir}/%{name}/presets.lv2 +%{_libdir}/%{name}/resize-port.lv2 +%{_libdir}/%{name}/schemas.lv2 +%{_libdir}/%{name}/state.lv2 +%{_libdir}/%{name}/time.lv2 +%{_libdir}/%{name}/ui.lv2 +%{_libdir}/%{name}/units.lv2 +%{_libdir}/%{name}/uri-map.lv2 +%{_libdir}/%{name}/urid.lv2 +%{_libdir}/%{name}/worker.lv2 %files devel %{_bindir}/lv2specgen.py @@ -108,10 +133,15 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_datadir}/lv2specgen %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc -%exclude %{_libdir}/%{name}/eg-* %files example-plugins -%{_libdir}/%{name}/eg-* +%{_libdir}/%{name}/eg-amp.lv2 +%{_libdir}/%{name}/eg-fifths.lv2 +%{_libdir}/%{name}/eg-metro.lv2 +%{_libdir}/%{name}/eg-midigate.lv2 +%{_libdir}/%{name}/eg-params.lv2 +%{_libdir}/%{name}/eg-sampler.lv2 +%{_libdir}/%{name}/eg-scope.lv2 %files doc %doc %{_vpath_builddir}/doc/* @@ -121,6 +151,7 @@ rm -fr %{buildroot}%{_docdir}/%{name} - Update to 1.18.8, switch to Meson. - Update docs installation. - Drop gcc/python-devel build requirements. +- Avoid exclude directives in the files section so build ids are not duplicated. * Thu Jul 21 2022 Fedora Release Engineering - 1.18.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From c593d97f5cce9e8c940b0c956c5277fc5afdc18e Mon Sep 17 00:00:00 2001 From: Guido Aulisi Date: Sat, 17 Sep 2022 09:25:04 +0200 Subject: [PATCH 50/53] Readd old headers #2127286 --- lv2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lv2.spec b/lv2.spec index e575e3e..eed5dfb 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -86,7 +86,7 @@ sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py %build %meson \ -D docs=enabled \ - -D old_headers=false \ + -D old_headers=true \ -D tests=disabled %meson_build @@ -133,6 +133,7 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_datadir}/lv2specgen %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/lv2.h %files example-plugins %{_libdir}/%{name}/eg-amp.lv2 @@ -147,6 +148,9 @@ rm -fr %{buildroot}%{_docdir}/%{name} %doc %{_vpath_builddir}/doc/* %changelog +* Sat Sep 17 2022 Guido Aulisi - 1.18.8-2 +- Readd old headers #2127286 + * Tue Aug 30 2022 Simone Caronni - 1.18.8-1 - Update to 1.18.8, switch to Meson. - Update docs installation. From c0eab2a6b72e52fbdf6a06989bdfa0044ef83045 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 23 Sep 2022 12:32:37 +0900 Subject: [PATCH 51/53] Remove all symlinks in previous -devel subpackage in %pre_trans to ensure update transaction (#2123422) --- lv2.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/lv2.spec b/lv2.spec index eed5dfb..a48c988 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -97,6 +97,53 @@ sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py # Let RPM pick docs in the files section rm -fr %{buildroot}%{_docdir}/%{name} +%pretrans devel -p +-- Remove all symlinks existed in lv2-devel-1.18.2-2.fc36 + +hdir = "%{_includedir}/%{name}" +pdir = hdir .. "/lv2plug.in" + +-- List parent directories in reverse order +-- inside lv2 specific directories +parent_dirs = {} +table.insert(parent_dirs, pdir .. "/ns/extensions") +table.insert(parent_dirs, pdir .. "/ns/ext") +table.insert(parent_dirs, pdir .. "/ns") +table.insert(parent_dirs, hdir) + +for i = 1, #parent_dirs, 1 do -- not use ipairs here to guarantee order + parent = parent_dirs[i] + + for j, path in pairs(posix.dir(parent)) do + exclude_list = {"." , ".."} + for k, ex in ipairs(exclude_list) do + if path == ex then + goto skip_1 + end + end + + fullpath = parent .. "/" + fullpath = fullpath .. path + st = posix.stat(fullpath) + if st and st.type == "link" then + os.remove(fullpath) + end + + ::skip_1:: + end +end + +-- Remove extra symlinks +pathlist = {} +table.insert(pathlist, "%{_inclduedir}/lv2.h") +for i = 1, #pathlist, 1 do + fullpath = pathlist[i] + st = posix.stat(fullpath) + if st and st.type == "link" then + os.remove(fullpath) + end +end + %files %license COPYING %doc NEWS README.md @@ -148,6 +195,10 @@ rm -fr %{buildroot}%{_docdir}/%{name} %doc %{_vpath_builddir}/doc/* %changelog +* Fri Sep 23 2022 Mamoru TASAKA - 1.18.8-3 +- Remove all symlinks in previous -devel subpackage in %%pre_trans + to ensure update transaction (#2123422) + * Sat Sep 17 2022 Guido Aulisi - 1.18.8-2 - Readd old headers #2127286 From 254d78e48b6302ebeba0a65282029d912ebd4153 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 30 Sep 2022 22:02:25 +0900 Subject: [PATCH 52/53] Fix pretrans lua script error for first installation (not upgrade) (#2131236) --- lv2.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lv2.spec b/lv2.spec index a48c988..acd8022 100644 --- a/lv2.spec +++ b/lv2.spec @@ -2,7 +2,7 @@ Name: lv2 Version: 1.18.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Audio Plugin Standard # lv2specgen template.html is CC-AT-SA @@ -114,7 +114,11 @@ table.insert(parent_dirs, hdir) for i = 1, #parent_dirs, 1 do -- not use ipairs here to guarantee order parent = parent_dirs[i] - for j, path in pairs(posix.dir(parent)) do + dir_entry = posix.dir(parent) + if not(dir_entry) then + goto skip_2 + end + for j, path in pairs(dir_entry) do exclude_list = {"." , ".."} for k, ex in ipairs(exclude_list) do if path == ex then @@ -131,6 +135,7 @@ for i = 1, #parent_dirs, 1 do -- not use ipairs here to guarantee order ::skip_1:: end + ::skip_2:: end -- Remove extra symlinks @@ -195,6 +200,10 @@ end %doc %{_vpath_builddir}/doc/* %changelog +* Fri Sep 30 2022 Mamoru TASAKA - 1.18.8-4 +- Fix pretrans lua script error for first installation (not upgrade) + (#2131236) + * Fri Sep 23 2022 Mamoru TASAKA - 1.18.8-3 - Remove all symlinks in previous -devel subpackage in %%pre_trans to ensure update transaction (#2123422) From ae35e378279df4ff7deab2bd587fd4c63023dafa Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:22:43 +0300 Subject: [PATCH 53/53] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index 8604699..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (lv2-1.18.8.tar.xz) = 9925290818bd683200bc738e3e9342b946fe82a04d983e89c240ae70b9053a7a59a8d505c522fe7af5b804adeba00fdf94403bd34844ce11e26cc1ff62c2f254