package created using the webbuild interface [release 1.8.1-1mamba;Sat Dec 07 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 17:32:26 +01:00
parent 92445da01b
commit 9087667434
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# rubberband
An audio time-stretching and pitch-shifting library and utility program.

91
rubberband.spec Normal file
View File

@ -0,0 +1,91 @@
Name: rubberband
Version: 1.8.1
Release: 1mamba
Summary: An audio time-stretching and pitch-shifting library and utility program.
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://breakfastquay.com/rubberband/
Source: http://code.breakfastquay.com/attachments/download/34/rubberband-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvamp-plugin-sdk-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
An audio time-stretching and pitch-shifting library and utility program.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
INSTALL_LIBDIR=%{_libdir} \
INSTALL_VAMPDIR=%{_libdir}/vamp \
INSTALL_LADSPADIR=%{_libdir}/ladspa \
INSTALL_PKGDIR=%{_libdir}/pkgconfig
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/rubberband
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/librubberband.so.*
%{_libdir}/ladspa/ladspa-rubberband.cat
%{_libdir}/ladspa/ladspa-rubberband.so
%{_libdir}/vamp/vamp-rubberband.cat
%{_libdir}/vamp/vamp-rubberband.so
%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/rubberband
%{_includedir}/rubberband/*.h
%{_libdir}/librubberband.a
%{_libdir}/librubberband.so
%{_libdir}/pkgconfig/rubberband.pc
%doc README.txt
%changelog
* Sat Dec 07 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
- package created using the webbuild interface