sbc/sbc.spec
jzm369 cf88d9328c add check in spec and rebuild sbc
(cherry picked from commit e741f62ea7a01a58cbdc622b5dce88ba977cdf95)
2021-03-05 19:48:37 +08:00

66 lines
1.2 KiB
RPMSpec

Name: sbc
Version: 1.4
Release: 3
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
%check
make check
%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
* Thu Feb 18 2021 jinzhimin <jinzhimin2@huawei.com> - 1.4-3
- rebuild sbc
* Thu Feb 18 2021 jinzhimin <jinzhimin2@huawei.com> - 1.4-2
- add check in spec
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4-1
- Package init