libbs2b/libbs2b.spec

85 lines
2.0 KiB
RPMSpec

Name: libbs2b
Version: 3.1.0
Release: 2mamba
Summary: Bauer stereophonic-to-binaural DSP effect library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/alexmarsev/libbs2b
Source: https://github.com/alexmarsev/libbs2b.git/master/libbs2b-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Bauer stereophonic-to-binaural DSP effect library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libbs2b.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/bs2b
%{_includedir}/bs2b/bs2b*.h
%{_libdir}/libbs2b.a
%{_libdir}/libbs2b.so
%{_libdir}/pkgconfig/libbs2b.pc
%doc ChangeLog README
%files tools
%defattr(-,root,root)
%{_bindir}/bs2bconvert
%{_bindir}/bs2bstream
%changelog
* Mon May 06 2024 Automatic Build System <autodist@openmamba.org> 3.1.0-2mamba
- rebuilt to remove .la file
* Tue Oct 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
- package created using the webbuild interface