diff --git a/.gitignore b/.gitignore index e69de29..0072750 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/speex-1.2.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..5799cd2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (speex-1.2.0.tar.gz) = 7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b diff --git a/speex.spec b/speex.spec new file mode 100644 index 0000000..6de1806 --- /dev/null +++ b/speex.spec @@ -0,0 +1,256 @@ +Summary: A voice compression format (codec) +Name: speex +Version: 1.2.0 +Release: 7%{?dist} +License: BSD +URL: https://www.speex.org/ +Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: pkgconfig(ogg) +BuildRequires: pkgconfig(speexdsp) + +%description +Speex is a patent-free compression format designed especially for +speech. It is specialized for voice communications at low bit-rates in +the 2-45 kbps range. Possible applications include Voice over IP +(VoIP), Internet audio streaming, audio books, and archiving of speech +data (e.g. voice mail). + +%package devel +Summary: Development package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Speex is a patent-free compression format designed especially for +speech. This package contains development files for %{name} + +%package tools +Summary: The tools package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tools +Speex is a patent-free compression format designed especially for +speech. This package contains tools files and user's manual for %{name}. + +%prep +%setup -q + +%build +%configure --disable-static --enable-binaries +# Remove rpath from speexenc and speexdec +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +%make_build + +%install +%make_install +rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf + +%ldconfig_scriptlets + +%files +%license COPYING +%doc AUTHORS TODO ChangeLog README NEWS +%{_libdir}/libspeex.so.1* + +%files devel +%doc doc/manual.pdf +%{_includedir}/speex +%{_datadir}/aclocal/speex.m4 +%{_libdir}/pkgconfig/speex.pc +%{_libdir}/libspeex.so +%exclude %{_libdir}/libspeex.la + +%files tools +%{_bindir}/speexenc +%{_bindir}/speexdec +%{_mandir}/man1/speexenc.1* +%{_mandir}/man1/speexdec.1* + + +%changelog +* Tue Aug 18 2020 Tomas Korbar - 1.2.0-7 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Wed Jul 29 2020 Fedora Release Engineering - 1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Mar 06 2018 Miroslav Lichvar - 1.2.0-1 +- update to 1.2.0 +- use macro for ldconfig scriptlets +- add gcc to build requirements +- include soname in file list +- use license macro + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2-0.29.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.2-0.28.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2-0.27.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.2-0.26.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 1.2-0.25.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.2-0.24.rc2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Dec 14 2014 David King - 1.2-0.23.rc2 +- Drop cyclic dependency handling, as speexdsp was fixed + +* Sun Dec 14 2014 David King - 1.2-0.22.rc2 +- Bump release to ensure that rc2 is newer than rc1 + +* Fri Dec 12 2014 David King - 1.2-0.1.rc2 +- Update to 1.2-0.1.rc2, split off speexdsp to separate package (#1172820) + +* Mon Aug 18 2014 Fedora Release Engineering - 1.2-0.21.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.2-0.20.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Jan 17 2014 Miroslav Lichvar - 1.2-0.19.rc1 +- update config.sub for ppc64le (#1054399) + +* Sun Aug 04 2013 Fedora Release Engineering - 1.2-0.18.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Apr 05 2013 Miroslav Lichvar - 1.2-0.17.rc1 +- update config.guess and config.sub for aarch64 (#926562) +- make some dependencies arch-specific +- remove obsolete macros + +* Fri Feb 15 2013 Fedora Release Engineering - 1.2-0.16.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.2-0.15.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.2-0.14.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.2-0.13.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jul 26 2009 Fedora Release Engineering - 1.2-0.12.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 1.2-0.11.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jul 24 2008 Miroslav Lichvar - 1.2-0.10.rc1 +- update to 1.2rc1 +- move manual.pdf to -devel + +* Tue May 13 2008 Marcela Maslanova - 1.2-0.9.beta3 +- polishing review (many thanks to Matthias Saou) + +* Fri Apr 25 2008 Marcela Maslanova - 1.2-0.8.beta3 +- 226428 review + +* Tue Apr 15 2008 Tomas Hoger - 1.2-0.7.beta3 +- Security update: Add mode checks to speex_packet_to_header() to protect + applications using speex library and not having proper checks + (CVE-2008-1686, #441239, https://trac.xiph.org/changeset/14701) + +* Mon Mar 31 2008 Marcela Maslanova - 1.2-0.6.beta3 +- 439284 add owner to %%{_defaultdocdir}/speex + +* Tue Feb 19 2008 Fedora Release Engineering - 1.2-0.5.beta3 +- Autorebuild for GCC 4.3 + +* Thu Jan 24 2008 Marcela Maslanova - 1.2-0.4.beta3 +- update to beta 3 +- review: rhbz#226428 + +* Tue Sep 18 2007 - Bastien Nocera - 1.2-0.3.beta2 +- Update to Beta 2 + +* Tue Oct 24 2006 Matthias Clasen - 1.2-0.2.beta1 +- Rebuild + +* Tue Oct 24 2006 Matthias Clasen - 1.2-0.1.beta1 +- Update to 1.2beta1 +- Require pkgconfig in the -devel package + +* Wed Jul 12 2006 Jesse Keating - 1.0.5-2.1 +- rebuild + +* Wed Jun 7 2006 Jeremy Katz - 1.0.5-2 +- rebuild for -devel deps + +* Fri Feb 10 2006 Jesse Keating - 1.0.5-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.0.5-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Nov 09 2005 John (J5) Palmieri -1.0.5-1 +- Update to 1.0.5 + +* Wed Mar 02 2005 John (J5) Palmieri -1.0.4-5 +- rebuild for gcc 4.0 + +* Mon Oct 18 2004 Miloslav Trmac - 1.0.4-4 +- Fix version in pkg-config file (#135987, patch by Michael Schwendt) + +* Wed Aug 11 2004 Tim Waugh 1.0.4-3 +- Fixed underquoted m4 definition. + +* Fri Jul 30 2004 Colin Walters 1.0.4-2 +- Include /usr/include/speex directory, thanks + Nils Philippsen. + +* Thu Jul 29 2004 Colin Walters +- Update to 1.0.4. +- Include /usr/include/speex +- Include speex.pc + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Fri Dec 12 2003 Bill Nottingham 1.0.3-1 +- build 1.0.3, adapt specfile from linva.org + +* Thu Nov 20 2003 Dams 0:1.0.3-0.fdr.1 +- Updated to 1.0.3 + +* Tue Sep 30 2003 Dams 0:1.0.2-0.fdr.1 +- Updated to 1.0.2 + +* Mon Sep 15 2003 Dams 0:1.0.1-0.fdr.3 +- README doc file is no more +x + +* Tue Sep 9 2003 Dams 0:1.0.1-0.fdr.2 +- Added missing scriplets (ldconfig) + +* Sat Aug 16 2003 Dams +- Initial build.