From 6b9623b89cf52c2db2697ea6433df45a8e6abd25 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:39:11 +0100 Subject: [PATCH] automatic update by autodist [release 1.2-1mamba;Wed Feb 12 2014] --- README.md | 2 ++ sbc.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 sbc.spec diff --git a/README.md b/README.md index cb3617a..21dc131 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # sbc +Bluetooth low-complexity, subband codec (SBC) library. + diff --git a/sbc.spec b/sbc.spec new file mode 100644 index 0000000..c6d118d --- /dev/null +++ b/sbc.spec @@ -0,0 +1,92 @@ +Name: sbc +Version: 1.2 +Release: 1mamba +Summary: Bluetooth low-complexity, subband codec (SBC) library +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/sbc/ +Source: http://www.kernel.org/pub/linux/bluetooth/sbc-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +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} +## note: you can add this requirement if .pc files are provided by this package +#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 + +%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 +* Wed Feb 12 2014 Automatic Build System 1.2-1mamba +- automatic update by autodist + +* Fri May 03 2013 Automatic Build System 1.1-1mamba +- automatic version update by autodist + +* Sat Dec 15 2012 Automatic Build System 1.0-1mamba +- update to 1.0 + +* Sat Dec 08 2012 Silvan Calarco 0.0cvs20070728-1mamba +- package created by silvan using the webbuild interface