arm: quick fix to avoid passing -march=arm flag to gcc [release 0.4.15-2mamba;Mon Sep 10 2012]

This commit is contained in:
Silvan Calarco 2024-01-05 18:15:17 +01:00
parent 49338dd7bb
commit 18cf37a3fb
2 changed files with 54 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# swh-plugins
A collection of GPL'd audio plugins for LADSPA.

52
swh-plugins.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.4.15-2mamba
- arm: quick fix to avoid passing -march=arm flag to gcc
* Sat Mar 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-1mamba
- package created by autospec