sbc/sbc.spec
zhangpan 1ccc76a273 enable test
(cherry picked from commit bee5b8e03c4d52e66d31dad4d739912a79e6003b)
2023-03-17 15:47:12 +08:00

68 lines
1.2 KiB
RPMSpec

Name: sbc
Version: 1.5
Release: 2
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
Patch1: backport-fix-build-on-non-x86.patch
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 Mar 16 2023 zhangpan<zhangpan103@h-partners.com> - 1.5-2
- enable test
* Thu Jan 28 2021 jinzhimin<jinzhimin2@huawei.com> - 1.5-1
- Upgrade to 1.5
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4-1
- Package init