From 18cf37a3fb35b2b00b1f710b63683d3f728eb80d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:15:17 +0100 Subject: [PATCH] arm: quick fix to avoid passing -march=arm flag to gcc [release 0.4.15-2mamba;Mon Sep 10 2012] --- README.md | 2 ++ swh-plugins.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 swh-plugins.spec diff --git a/README.md b/README.md index f003a96..9ff6463 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # swh-plugins +A collection of GPL'd audio plugins for LADSPA. + diff --git a/swh-plugins.spec b/swh-plugins.spec new file mode 100644 index 0000000..09ca586 --- /dev/null +++ b/swh-plugins.spec @@ -0,0 +1,52 @@ +Name: swh-plugins +Version: 0.4.15 +Release: 2mamba +Summary: A collection of GPL'd audio plugins for LADSPA +Group: System/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://plugin.org.uk +Source: http://plugin.org.uk/releases/%{version}/swh-plugins-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfftw-devel +## AUTOBUILDREQ-END + +%description +A collection of GPL'd audio plugins for LADSPA. + +%prep +%setup -q +%ifarch arm +sed -i "s|\${MACHINE}||" configure +%endif + +%build +%configure +%make plugindir=%{_libdir}/ladspa + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall plugindir=%{_libdir}/ladspa + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_libdir}/ladspa/*.so +%{_datadir}/ladspa/rdf/swh-*.rdf +%doc AUTHORS COPYING +#ChangeLog README TODO + +%changelog +* Mon Sep 10 2012 Silvan Calarco 0.4.15-2mamba +- arm: quick fix to avoid passing -march=arm flag to gcc + +* Sat Mar 08 2008 Silvan Calarco 0.4.15-1mamba +- package created by autospec