2024-01-05 17:39:11 +01:00
|
|
|
Name: sbc
|
2024-01-05 17:39:11 +01:00
|
|
|
Version: 1.5
|
2024-01-05 17:39:11 +01:00
|
|
|
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: http://sourceforge.net/projects/sbc/
|
|
|
|
Source: http://www.kernel.org/pub/linux/bluetooth/sbc-%{version}.tar.gz
|
2024-01-05 17:39:11 +01:00
|
|
|
Patch0: sbc-1.5-not_x86_buildfix_patch.patch
|
2024-01-05 17:39:11 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:39:11 +01:00
|
|
|
BuildRequires: libsndfile-devel
|
2024-01-05 17:39:11 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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}
|
2024-01-05 17:39:11 +01:00
|
|
|
Requires: pkg-config
|
2024-01-05 17:39:11 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:39:11 +01:00
|
|
|
%ifnarch x86_64 %{ix86}
|
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2024-01-05 17:39:11 +01:00
|
|
|
|
|
|
|
%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.a
|
|
|
|
%{_libdir}/libsbc.la
|
|
|
|
%{_libdir}/libsbc.so
|
|
|
|
%{_libdir}/pkgconfig/sbc.pc
|
|
|
|
#%{_datadir}/aclocal/sbc.m4
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:39:11 +01:00
|
|
|
* Wed Dec 09 2020 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:39:11 +01:00
|
|
|
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 17:39:11 +01:00
|
|
|
* Sat Nov 01 2014 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:39:11 +01:00
|
|
|
* 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
|