Package init
This commit is contained in:
commit
94c01d7176
BIN
sbc-1.4.tar.xz
Normal file
BIN
sbc-1.4.tar.xz
Normal file
Binary file not shown.
56
sbc.spec
Normal file
56
sbc.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
Name: sbc
|
||||||
|
Version: 1.4
|
||||||
|
Release: 1
|
||||||
|
Summary: Bluetooth Low-Complexity, Sub-Band Codec Utilities
|
||||||
|
License: GPLv2 and LGPLv2+
|
||||||
|
URL: https://www.bluez.org
|
||||||
|
Source0: https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc libsndfile-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The package contains utilities for using the SBC codec.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Header files for SBC
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files for SBC
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS
|
||||||
|
%{_bindir}/sbc*
|
||||||
|
%{_libdir}/libsbc.so.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/sbc/
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/libsbc.so
|
||||||
|
%{_libdir}/pkgconfig/sbc.pc
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ChangeLog
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user