rubberband/rubberband.spec

97 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: rubberband
Version: 1.8.2
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
%make jni
%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}/librubberband-jni.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
* Tue Mar 03 2020 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Sat Dec 07 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
- package created using the webbuild interface