From 2308fdd337e16cfa789fbfd3cc4484bfd12d487a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 4 Nov 2012 08:48:45 +0100 Subject: [PATCH 1/4] - new --- fomp.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 fomp.spec diff --git a/fomp.spec b/fomp.spec new file mode 100644 index 0000000..84f976a --- /dev/null +++ b/fomp.spec @@ -0,0 +1,58 @@ +Summary: LV2 port of the MCP, VCO, FIL, and WAH plugins +Summary(pl.UTF-8): Port LV2 wtyczek MCP, VCO, FIL i WAH +Name: fomp +Version: 1.0.0 +Release: 1 +License: GPL v2+ +Group: Libraries +Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 +# Source0-md5: 0bb3d8331326d2c3485a9c538436cb56 +URL: http://drobilla.net/software/fomp/ +BuildRequires: libstdc++-devel +BuildRequires: lv2-devel >= 1.0.0 +BuildRequires: pkgconfig +BuildRequires: python +Requires: lv2 >= 1.0.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +FOMP is an LV2 port of the MCP, VCO, FIL, and WAH plugins by Fons +Adriaensen. + +There are 13 plugins in total: 1 auto-wah, 1 EQ, 3 chorus, 5 filters, +and 3 oscillators. + +%description -l pl.UTF-8 +FOMP to port LV2 wtyczek MCP, VCO, FIL oraz WAH, napisanych przez +Fonsa Adriaensena. + +W sumie jest 13 wtyczek: 1 auto-wah, 1 EQ, 3 chóry, 5 filtrów, 3 +generatory. + +%prep +%setup -q + +%build +CC="%{__cc}" \ +CFLAGS="%{rpmcflags}" \ +./waf configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} + +./waf -v + +%install +rm -rf $RPM_BUILD_ROOT + +./waf install \ + --destdir=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS NEWS README +%dir %{_libdir}/lv2/fomp.lv2 +%attr(755,root,root) %{_libdir}/lv2/fomp.lv2/*.so +%{_libdir}/lv2/fomp.lv2/*.ttl -- 2.43.0 From c9944b0295719e0543ac25d25abf6e03ee7c8adb Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 13 Mar 2020 22:17:34 +0100 Subject: [PATCH 2/4] - updated to 1.2.0 --- fomp.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fomp.spec b/fomp.spec index 84f976a..8dd427f 100644 --- a/fomp.spec +++ b/fomp.spec @@ -1,12 +1,12 @@ Summary: LV2 port of the MCP, VCO, FIL, and WAH plugins Summary(pl.UTF-8): Port LV2 wtyczek MCP, VCO, FIL i WAH Name: fomp -Version: 1.0.0 +Version: 1.2.0 Release: 1 License: GPL v2+ Group: Libraries Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 -# Source0-md5: 0bb3d8331326d2c3485a9c538436cb56 +# Source0-md5: 5f9c52c5b954ddf37c7af7f31adcc0ff URL: http://drobilla.net/software/fomp/ BuildRequires: libstdc++-devel BuildRequires: lv2-devel >= 1.0.0 @@ -52,7 +52,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS NEWS README +%doc AUTHORS NEWS README.md %dir %{_libdir}/lv2/fomp.lv2 %attr(755,root,root) %{_libdir}/lv2/fomp.lv2/*.so %{_libdir}/lv2/fomp.lv2/*.ttl -- 2.43.0 From 8b51ab8f4cec05826177291fa497554910343aa7 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 10 Jan 2021 21:31:27 +0100 Subject: [PATCH 3/4] - updated to 1.2.2 --- fomp.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fomp.spec b/fomp.spec index 8dd427f..a999cbb 100644 --- a/fomp.spec +++ b/fomp.spec @@ -1,18 +1,18 @@ Summary: LV2 port of the MCP, VCO, FIL, and WAH plugins Summary(pl.UTF-8): Port LV2 wtyczek MCP, VCO, FIL i WAH Name: fomp -Version: 1.2.0 +Version: 1.2.2 Release: 1 License: GPL v2+ Group: Libraries Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 -# Source0-md5: 5f9c52c5b954ddf37c7af7f31adcc0ff +# Source0-md5: dd7812fd5bfbc564e4d0fb20c6146a81 URL: http://drobilla.net/software/fomp/ -BuildRequires: libstdc++-devel -BuildRequires: lv2-devel >= 1.0.0 +BuildRequires: libstdc++-devel >= 6:4.7 +BuildRequires: lv2-devel >= 1.16.0 BuildRequires: pkgconfig -BuildRequires: python -Requires: lv2 >= 1.0.0 +BuildRequires: python >= 2 +Requires: lv2 >= 1.16.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -- 2.43.0 From bbfe4cc82606fb890782ac6920976f7fcac8c146 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Fri, 2 Sep 2022 17:39:53 +0200 Subject: [PATCH 4/4] - updated to 1.2.4, now uses meson --- fomp.spec | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/fomp.spec b/fomp.spec index a999cbb..4708c5e 100644 --- a/fomp.spec +++ b/fomp.spec @@ -1,17 +1,21 @@ Summary: LV2 port of the MCP, VCO, FIL, and WAH plugins Summary(pl.UTF-8): Port LV2 wtyczek MCP, VCO, FIL i WAH Name: fomp -Version: 1.2.2 +Version: 1.2.4 Release: 1 License: GPL v2+ Group: Libraries -Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 -# Source0-md5: dd7812fd5bfbc564e4d0fb20c6146a81 +Source0: http://download.drobilla.net/%{name}-%{version}.tar.xz +# Source0-md5: 15d51621e0811bab8cdad0f811e8fcf3 URL: http://drobilla.net/software/fomp/ BuildRequires: libstdc++-devel >= 6:4.7 +BuildRequires: meson >= 0.56.0 +BuildRequires: ninja >= 1.5 BuildRequires: lv2-devel >= 1.16.0 BuildRequires: pkgconfig -BuildRequires: python >= 2 +BuildRequires: rpmbuild(macros) >= 1.736 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz Requires: lv2 >= 1.16.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -33,19 +37,14 @@ generatory. %setup -q %build -CC="%{__cc}" \ -CFLAGS="%{rpmcflags}" \ -./waf configure \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} +%meson build -./waf -v +%ninja_build -C build %install rm -rf $RPM_BUILD_ROOT -./waf install \ - --destdir=$RPM_BUILD_ROOT +%ninja_install -C build %clean rm -rf $RPM_BUILD_ROOT -- 2.43.0