Blame SPECS/speex.spec

84bff7
Summary:	A voice compression format (codec)
84bff7
Name:		speex
84bff7
Version:	1.2
84bff7
%define rc_ver	rc1
84bff7
Release:	0.19.%{rc_ver}%{?dist}
84bff7
License:	BSD
84bff7
Group:		System Environment/Libraries
84bff7
URL:		http://www.speex.org/
84bff7
Source0:	http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.tar.gz
84bff7
BuildRequires:	libogg-devel
84bff7
# update config.guess and config.sub for aarch64
84bff7
Patch1:		speex-aarch64.patch
84bff7
84bff7
%description
84bff7
Speex is a patent-free compression format designed especially for
84bff7
speech. It is specialized for voice communications at low bit-rates in
84bff7
the 2-45 kbps range. Possible applications include Voice over IP
84bff7
(VoIP), Internet audio streaming, audio books, and archiving of speech
84bff7
data (e.g. voice mail).
84bff7
84bff7
%package devel
84bff7
Summary: 	Development package for %{name}
84bff7
Group: 		Development/Libraries
84bff7
Requires: 	%{name}%{?_isa} = %{version}-%{release}
84bff7
Requires: 	pkgconfig
84bff7
84bff7
%description devel
84bff7
Speex is a patent-free compression format designed especially for
84bff7
speech. This package contains development files for %{name}
84bff7
84bff7
%package tools
84bff7
Summary:	The tools package for %{name}
84bff7
Group:		Applications/Multimedia
84bff7
Requires:	%{name}%{?_isa} = %{version}-%{release}
84bff7
84bff7
%description tools
84bff7
Speex is a patent-free compression format designed especially for
84bff7
speech. This package contains tools files and user's manual for %{name}.
84bff7
84bff7
%prep
84bff7
%setup -q -n %{name}-%{version}%{rc_ver}
84bff7
%patch1 -p1 -b .aarch64
84bff7
84bff7
%build
84bff7
%configure --disable-static
84bff7
# Remove rpath from speexenc and speexdec
84bff7
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
84bff7
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
84bff7
make %{?_smp_mflags}
84bff7
84bff7
%install
84bff7
make DESTDIR=$RPM_BUILD_ROOT install
84bff7
rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
84bff7
84bff7
%post -p /sbin/ldconfig
84bff7
%postun -p /sbin/ldconfig
84bff7
84bff7
%files
84bff7
%doc AUTHORS COPYING TODO ChangeLog README NEWS
84bff7
%{_libdir}/libspeex*.so.*
84bff7
84bff7
%files devel
84bff7
%doc doc/manual.pdf
84bff7
%{_includedir}/speex
84bff7
%{_datadir}/aclocal/speex.m4
84bff7
%{_libdir}/pkgconfig/speex*.pc
84bff7
%{_libdir}/libspeex*.so
84bff7
%exclude %{_libdir}/libspeex*.la
84bff7
84bff7
%files tools
84bff7
%{_bindir}/speexenc
84bff7
%{_bindir}/speexdec
84bff7
%{_mandir}/man1/speexenc.1*
84bff7
%{_mandir}/man1/speexdec.1*
84bff7
84bff7
%changelog
84bff7
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2-0.19.rc1
84bff7
- Mass rebuild 2014-01-24
84bff7
84bff7
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2-0.18.rc1
84bff7
- Mass rebuild 2013-12-27
84bff7
84bff7
* Fri Apr 05 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.2-0.17.rc1
84bff7
- update config.guess and config.sub for aarch64 (#926562)
84bff7
- make some dependencies arch-specific
84bff7
- remove obsolete macros
84bff7
84bff7
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.16.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
84bff7
84bff7
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.15.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
84bff7
84bff7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.14.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
84bff7
84bff7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.13.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
84bff7
84bff7
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.12.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
84bff7
84bff7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-0.11.rc1
84bff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
84bff7
84bff7
* Thu Jul 24 2008 Miroslav Lichvar <mlichvar@redhat.com> - 1.2-0.10.rc1
84bff7
- update to 1.2rc1
84bff7
- move manual.pdf to -devel
84bff7
84bff7
* Tue May 13 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.2-0.9.beta3
84bff7
- polishing review (many thanks to Matthias Saou)
84bff7
84bff7
* Fri Apr 25 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.2-0.8.beta3
84bff7
- 226428 review
84bff7
84bff7
* Tue Apr 15 2008 Tomas Hoger <thoger@redhat.com> - 1.2-0.7.beta3
84bff7
- Security update: Add mode checks to speex_packet_to_header() to protect
84bff7
  applications using speex library and not having proper checks
84bff7
  (CVE-2008-1686, #441239, https://trac.xiph.org/changeset/14701)
84bff7
84bff7
* Mon Mar 31 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.2-0.6.beta3
84bff7
- 439284 add owner to %%{_defaultdocdir}/speex
84bff7
84bff7
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-0.5.beta3
84bff7
- Autorebuild for GCC 4.3
84bff7
84bff7
* Thu Jan 24 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.2-0.4.beta3
84bff7
- update to beta 3
84bff7
- review: rhbz#226428
84bff7
84bff7
* Tue Sep 18 2007 - Bastien Nocera <bnocera@redhat.com> - 1.2-0.3.beta2
84bff7
- Update to Beta 2
84bff7
84bff7
* Tue Oct 24 2006 Matthias Clasen <mclasen@redhat.com> - 1.2-0.2.beta1
84bff7
- Rebuild 
84bff7
84bff7
* Tue Oct 24 2006 Matthias Clasen <mclasen@redhat.com> - 1.2-0.1.beta1
84bff7
- Update to 1.2beta1
84bff7
- Require pkgconfig in the -devel package
84bff7
84bff7
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-2.1
84bff7
- rebuild
84bff7
84bff7
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.0.5-2
84bff7
- rebuild for -devel deps
84bff7
84bff7
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2.1
84bff7
- bump again for double-long bug on ppc(64)
84bff7
84bff7
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.5-1.2
84bff7
- rebuilt for new gcc4.1 snapshot and glibc changes
84bff7
84bff7
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
84bff7
- rebuilt
84bff7
84bff7
* Wed Nov 09 2005 John (J5) Palmieri <johnp@redhat.com> -1.0.5-1
84bff7
- Update to 1.0.5
84bff7
84bff7
* Wed Mar 02 2005 John (J5) Palmieri <johnp@redhat.com> -1.0.4-5
84bff7
- rebuild for gcc 4.0
84bff7
84bff7
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 1.0.4-4
84bff7
- Fix version in pkg-config file (#135987, patch by Michael Schwendt)
84bff7
84bff7
* Wed Aug 11 2004 Tim Waugh <twaugh@redhat.com> 1.0.4-3
84bff7
- Fixed underquoted m4 definition.
84bff7
84bff7
* Fri Jul 30 2004 Colin Walters <walters@redhat.com> 1.0.4-2
84bff7
- Include /usr/include/speex directory, thanks
84bff7
  Nils Philippsen.
84bff7
84bff7
* Thu Jul 29 2004 Colin Walters <walters@redhat.com>
84bff7
- Update to 1.0.4.
84bff7
- Include /usr/include/speex
84bff7
- Include speex.pc
84bff7
84bff7
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
84bff7
- rebuilt
84bff7
84bff7
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
84bff7
- rebuilt
84bff7
84bff7
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
84bff7
- rebuilt
84bff7
84bff7
* Fri Dec 12 2003 Bill Nottingham <notting@redhat.com> 1.0.3-1
84bff7
- build 1.0.3, adapt specfile from linva.org
84bff7
84bff7
* Thu Nov 20 2003 Dams <anvil[AT]livna.org> 0:1.0.3-0.fdr.1
84bff7
- Updated to 1.0.3
84bff7
84bff7
* Tue Sep 30 2003 Dams <anvil[AT]livna.org> 0:1.0.2-0.fdr.1
84bff7
- Updated to 1.0.2
84bff7
84bff7
* Mon Sep 15 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.3
84bff7
- README doc file is no more +x
84bff7
84bff7
* Tue Sep  9 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.2
84bff7
- Added missing scriplets (ldconfig)
84bff7
84bff7
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 
84bff7
- Initial build.