sbc/sbc.spec

138 lines
4.6 KiB
RPMSpec
Raw Normal View History

2012-12-03 14:40:35 +00:00
Name: sbc
2018-12-22 15:59:07 +00:00
Version: 1.4
Release: 6%{?dist}
2012-12-03 14:40:35 +00:00
Summary: Sub Band Codec used by bluetooth A2DP
License: GPLv2 and LGPLv2+
URL: http://www.bluez.org
2018-12-22 15:59:07 +00:00
Source0: http://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
2012-12-03 14:40:35 +00:00
2018-03-09 14:49:26 +00:00
BuildRequires: gcc
2012-12-03 14:40:35 +00:00
BuildRequires: libsndfile-devel
2019-12-12 05:28:06 +00:00
Requires: lib%{name}%{?_isa} = %{version}-%{release}
2012-12-03 14:40:35 +00:00
%description
SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio
Distribution Profile (A2DP) bluetooth standard but can be used standalone. It
uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with
an adaptive block PCM quantizers.
2019-12-12 05:28:06 +00:00
%package -n libsbc
Summary: Library for the SBC (Sub Band Codec)
%description -n libsbc
Library for SBC (Sub Band Codec) is a low-complexity audio codec used in the
Advanced Audio Distribution Profile (A2DP) bluetooth standard but can be used
standalone. It uses 4 or 8 subbands, an adaptive bit allocation algorithm in
combination with an adaptive block PCM quantizers.
2012-12-03 14:40:35 +00:00
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
2019-12-12 05:28:06 +00:00
Requires: lib%{name}%{?_isa} = %{version}-%{release}
2012-12-03 14:40:35 +00:00
%description devel
Files for development with %{name}.
%prep
%setup -q
%build
%configure --disable-static
2018-12-22 15:59:07 +00:00
%make_build
2012-12-03 14:40:35 +00:00
%install
2018-12-22 15:59:07 +00:00
%make_install
2012-12-03 14:40:35 +00:00
#Remove libtool archives.
2015-02-04 09:55:26 +00:00
find %{buildroot} -type f -name "*.la" -delete
2012-12-03 14:40:35 +00:00
2018-12-22 15:59:07 +00:00
%ldconfig_scriptlets
2012-12-03 14:40:35 +00:00
%files
2015-02-04 09:55:26 +00:00
%doc AUTHORS ChangeLog
2012-12-03 14:40:35 +00:00
%{_bindir}/sbc*
2019-12-12 05:28:06 +00:00
%files -n libsbc
%license COPYING
2012-12-18 15:55:11 +00:00
%{_libdir}/libsbc.so.1*
2012-12-03 14:40:35 +00:00
%files devel
2012-12-18 15:55:11 +00:00
%{_includedir}/sbc/
2012-12-03 14:40:35 +00:00
%{_libdir}/pkgconfig/sbc.pc
2012-12-18 15:55:11 +00:00
%{_libdir}/libsbc.so
2012-12-03 14:40:35 +00:00
%changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-12-12 05:28:06 +00:00
* Thu Dec 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-4
- Split library out to sub package
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-12-22 15:59:07 +00:00
* Sat Dec 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-1
- Update to 1.4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-03-09 14:49:26 +00:00
* Fri Mar 9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-9
- Add gcc BR
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-02-04 09:55:26 +00:00
* Wed Feb 4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-2
- Use %%license
2014-11-20 11:54:53 +00:00
* Thu Nov 20 2014 Bastien Nocera <bnocera@redhat.com> 1.3-1
- Update to 1.3
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-01-29 12:07:56 +00:00
* Wed Jan 29 2014 Bastien Nocera <bnocera@redhat.com> 1.2-1
- Update to 1.2
2013-08-23 22:58:49 +00:00
* Sat Aug 24 2013 Bastien Nocera <bnocera@redhat.com> 1.1-1
- Update to 1.1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-12-18 15:55:11 +00:00
* Tue Dec 18 2012 Rex Dieter <rdieter@fedoraproject.org> 1.0-2
- track lib soname, minor .spec cleanup
2012-12-03 14:40:35 +00:00
* Sat Dec 1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.0-1
- Initial package