sbc/sbc.spec

105 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: sbc
Version: 2.0
Release: 1mamba
Summary: Bluetooth low-complexity, subband codec (SBC) library
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/sbc/
Source: http://www.kernel.org/pub/linux/bluetooth/sbc-%{version}.tar.gz
Patch0: sbc-1.5-not_x86_buildfix_patch.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: libsndfile-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Bluetooth low-complexity, subband codec (SBC) library.
%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
%ifnarch x86_64 %{ix86}
%patch0 -p1
%endif
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/sbcinfo
%{_bindir}/sbcdec
%{_bindir}/sbcenc
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsbc.so.*
%doc AUTHORS COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/sbc
%{_includedir}/sbc/sbc.h
%{_libdir}/libsbc.la
%{_libdir}/libsbc.so
%{_libdir}/pkgconfig/sbc.pc
%doc README
%changelog
* Thu Jun 23 2022 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic version update by autodist
* Wed Dec 09 2020 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- automatic update by autodist
* Sat Nov 01 2014 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic version update by autodist
* Wed Feb 12 2014 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic update by autodist
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Sat Dec 15 2012 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- update to 1.0
* Sat Dec 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0cvs20070728-1mamba
- package created by silvan using the webbuild interface