diff --git a/README.md b/README.md index da8909e..164b569 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rubberband +An audio time-stretching and pitch-shifting library and utility program. + diff --git a/rubberband.spec b/rubberband.spec new file mode 100644 index 0000000..7883b04 --- /dev/null +++ b/rubberband.spec @@ -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 +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 1.8.1-1mamba +- package created using the webbuild interface