From 81877083be4d94d8aa9e5c8500a4860bd4d06c6e Mon Sep 17 00:00:00 2001 From: guibuilder_pel7ppc64lebuilder0 Date: Tue, 14 Jul 2020 01:52:59 +0200 Subject: [PATCH] fdk-aac package creation (free and non-free) Signed-off-by: guibuilder_pel7ppc64lebuilder0 --- SPECS/fdk-aac-free.spec | 109 ++++++++++++++++++++++++++++++++++++++++ SPECS/fdk-aac.spec | 85 +++++++++++++++++++++++++++++++ 2 files changed, 194 insertions(+) create mode 100644 SPECS/fdk-aac-free.spec create mode 100644 SPECS/fdk-aac.spec diff --git a/SPECS/fdk-aac-free.spec b/SPECS/fdk-aac-free.spec new file mode 100644 index 0000000..ec8ba29 --- /dev/null +++ b/SPECS/fdk-aac-free.spec @@ -0,0 +1,109 @@ +Name: fdk-aac-free +Version: 2.0.0 +Release: 3%{?dist} +Summary: Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android + +License: FDK-AAC +URL: https://cgit.freedesktop.org/~wtay/fdk-aac/log/?h=fedora +Source0: https://people.freedesktop.org/~wtay/fdk-aac-free-%{version}.tar.gz + +BuildRequires: gcc gcc-c++ +BuildRequires: automake libtool + +%description +The Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library +for Android is software that implements part of the MPEG Advanced Audio Coding +("AAC") encoding and decoding scheme for digital audio. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + + +%prep +%autosetup +autoreconf -vif + +%build +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + + +%install +%make_install INSTALL="install -p" +find %{buildroot} -name '*.la' -print -delete + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc ChangeLog README.fedora +%license NOTICE +%{_libdir}/*.so.* + +%files devel +%doc documentation/*.pdf +%dir %{_includedir}/fdk-aac +%{_includedir}/fdk-aac/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/fdk-aac.pc + + +%changelog +* Tue Jan 28 2020 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jun 25 2019 Wim Taymans - 2.0.0-1 +- Update to 2.0.0 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Sep 25 2018 Wim Taymans - 0.1.6-1 +- Update to 0.1.6 +- Fix url + +* Tue Sep 25 2018 Wim Taymans - 0.1.5-5 +- Use %ldconfig_scriptlets +- Remove Group + +* Thu Nov 02 2017 Wim Taymans - 0.1.5-4 +- Fix BuildRequires, fix libtool cleanup + +* Tue Oct 10 2017 Wim Taymans - 0.1.5-3 +- Build against stripped fdk-aac library + +* Thu Aug 31 2017 RPM Fusion Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Mar 20 2017 Leigh Scott - 0.1.5-1 +- Update to 1.5 + +* Wed Sep 07 2016 Nicolas Chauvet - 0.1.5-0.1.gita0bd8aa +- Update to github snapshot +- Spec file clean-up + +* Fri Nov 06 2015 Nicolas Chauvet - 0.1.4-1 +- Update to 1.4 + +* Sun Jan 26 2014 Nicolas Chauvet - 0.1.3-1 +- Update to 1.3.0 + +* Thu Aug 15 2013 Nicolas Chauvet - 0.1.2-1 +- Update to 0.1.2 + +* Thu Mar 28 2013 Nicolas Chauvet - 0.1.1-1 +- Initial spec + diff --git a/SPECS/fdk-aac.spec b/SPECS/fdk-aac.spec new file mode 100644 index 0000000..5378351 --- /dev/null +++ b/SPECS/fdk-aac.spec @@ -0,0 +1,85 @@ +%global commit0 a0bd8aa3b6339082fbe9d830264839fa50c0a4b7 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + +Name: fdk-aac +Version: 0.1.5 +Release: 0.1%{?commit0:.git%{shortcommit0}}%{?dist} +Summary: Fraunhofer FDK AAC Codec Library + +License: FDK-AAC +URL: https://github.com/mstorsjo/fdk-aac +Source0: https://github.com/mstorsjo/%{name}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz + +BuildRequires: libtool + + +%description +The Fraunhofer FDK AAC Codec Library ("FDK AAC Codec") is software that +implements the MPEG Advanced Audio Coding ("AAC") encoding and decoding +scheme for digital audio. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + + +%prep +%autosetup -n %{name}-%{?commit0}%{?!commit0:%{version}} +autoreconf -vif + + +%build +%configure \ + --disable-silent-rules \ + --disable-static + +%make_build + + +%install +%make_install INSTALL="install -p" +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc ChangeLog +%license NOTICE +%{_libdir}/*.so.* + +%files devel +%doc documentation/*.pdf +%dir %{_includedir}/fdk-aac +%{_includedir}/fdk-aac/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Wed Sep 07 2016 Nicolas Chauvet - 0.1.5-0.1.gita0bd8aa +- Update to github snapshot +- Spec file clean-up + +* Fri Nov 06 2015 Nicolas Chauvet - 0.1.4-1 +- Update to 1.4 + +* Sun Jan 26 2014 Nicolas Chauvet - 0.1.3-1 +- Update to 1.3.0 + +* Thu Aug 15 2013 Nicolas Chauvet - 0.1.2-1 +- Update to 0.1.2 + +* Thu Mar 28 2013 Nicolas Chauvet - 0.1.1-1 +- Initial spec +