100 lines
2.6 KiB
RPMSpec
100 lines
2.6 KiB
RPMSpec
Name: sbc
|
|
Version: 1.4
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libsndfile-devel
|
|
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
|
|
* 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
|