rubberband/rubberband.spec

108 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: rubberband
Version: 1.9.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: https://breakfastquay.com/rubberband/
Source: http://code.breakfastquay.com/attachments/download/34/rubberband-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-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}
%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
%meson
%meson_build
#% make jni
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
#% 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 Jun 08 2021 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- automatic version update by autodist
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
- automatic version update by autodist
* 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