commit 94c01d7176af5ddb1198942b6993f496dd0e3d3e Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:16:42 2019 -0400 Package init diff --git a/sbc-1.4.tar.xz b/sbc-1.4.tar.xz new file mode 100644 index 0000000..546cdae Binary files /dev/null and b/sbc-1.4.tar.xz differ diff --git a/sbc.spec b/sbc.spec new file mode 100644 index 0000000..f3c98ce --- /dev/null +++ b/sbc.spec @@ -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 - 1.4-1 +- Package init