SHA256
1
0
forked from pool/speex
OBS User autobuild 2010-01-14 15:17:13 +00:00 committed by Git OBS Bridge
parent 5fd70b3b60
commit 9ce9d71dda
3 changed files with 58 additions and 59 deletions

View File

@ -1,2 +1,2 @@
libspeex1 speex
libspeexdsp1 libspeex

View File

@ -1,11 +1,3 @@
-------------------------------------------------------------------
Thu Jan 7 18:59:26 UTC 2010 - lnussel@suse.de
- split off libspeex1 and libspeexdsp1 according to library
packaging policy
- include actual tarball version in package version
- don't package README's for embedded cpus
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 18 13:11:17 CET 2009 - jengelh@medozas.de Fri Dec 18 13:11:17 CET 2009 - jengelh@medozas.de

View File

@ -22,9 +22,9 @@ Name: speex
%define package_version 1.2rc1 %define package_version 1.2rc1
BuildRequires: libogg-devel pkgconfig BuildRequires: libogg-devel pkgconfig
Summary: An Open Source, Patent Free Speech Codec Summary: An Open Source, Patent Free Speech Codec
Version: 1.1.999_%package_version Version: 1.1.99.91
Release: 1 Release: 17
License: BSD 3-Clause License: BSD3c
Group: System/Libraries Group: System/Libraries
Url: http://www.speex.org/ Url: http://www.speex.org/
Source: %{name}-%{package_version}.tar.bz2 Source: %{name}-%{package_version}.tar.bz2
@ -43,44 +43,49 @@ Speex is a patent free audio codec designed especially for voice
narrowband and wideband quality. This project aims to be complementary narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec. to the Vorbis codec.
%package -n libspeex1
Authors:
--------
Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%package -n libspeex
Summary: An Open Source, Patent Free Speech Codec Library Summary: An Open Source, Patent Free Speech Codec Library
License: BSD 3-Clause License: BSD3c
Group: System/Libraries Group: System/Libraries
Obsoletes: libspeex < %version # bug437293
Provides: libspeex = %version %ifarch ppc64
Obsoletes: speex-64bit
%endif
#
%description -n libspeex1 %description -n libspeex
Speex is a patent free audio codec designed especially for voice
(unlike Vorbis which targets general audio) signals and providing good
narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec.
%package -n libspeexdsp1
Summary: An Open Source, Patent Free Speech Codec Library
License: BSD 3-Clause
Group: System/Libraries
%description -n libspeexdsp1
Speex is a patent free audio codec designed especially for voice Speex is a patent free audio codec designed especially for voice
(unlike Vorbis which targets general audio) signals and providing good (unlike Vorbis which targets general audio) signals and providing good
narrowband and wideband quality. This project aims to be complementary narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec. to the Vorbis codec.
# XXX: not sure whether to call it libspeex-devel as it includes
# devel files for libspeexdsp too. having libspeexdsp-devel seems Authors:
# extreme. --------
Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%package devel %package devel
Summary: Development package for SpeeX Summary: Development package for SpeeX
License: BSD 3-Clause License: BSD3c
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: libspeex-devel = %version-%release Requires: libspeex glibc-devel
Obsoletes: libspeex-devel < %version-%release
Requires: libspeex1 = %version
Requires: libspeexdsp1 = %version
Requires: glibc-devel
Requires: libogg-devel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: speex-devel-64bit Obsoletes: speex-devel-64bit
@ -91,6 +96,17 @@ Obsoletes: speex-devel-64bit
This package contains the files needed to compile programs that use the This package contains the files needed to compile programs that use the
SpeeX library. SpeeX library.
Authors:
--------
Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
David Rowe <david@voicetronix.com.au>
John Francis Edwards
Segher Boessenkool
Atsuhiko Yamanaka <ymnk@jcraft.com>
Radim Kolar <hsn@cybermail.net>
%prep %prep
%setup -q -n %{name}-%{package_version} %setup -q -n %{name}-%{package_version}
%patch1 %patch1
@ -100,24 +116,18 @@ autoreconf -fi
%configure \ %configure \
--disable-static \ --disable-static \
--with-ogg-libraries=%{_libdir} --with-ogg-libraries=%{_libdir}
make %{?jobs:-j%{jobs}} make %{?_smp_mflags}
%install %install
%makeinstall %makeinstall
# remove duped documents # remove duped documents
rm -rf %{buildroot}%{_datadir}/doc/speex* rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/speex*
# remove unneeded *.la files # remove unneeded *.la files
rm -f %{buildroot}%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f %{buildroot}%{_libdir}/*.a
%post -n libspeex -p /sbin/ldconfig
%post -n libspeex1 -p /sbin/ldconfig %postun -n libspeex -p /sbin/ldconfig
%postun -n libspeex1 -p /sbin/ldconfig
%post -n libspeexdsp1 -p /sbin/ldconfig
%postun -n libspeexdsp1 -p /sbin/ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -126,22 +136,19 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO %doc AUTHORS ChangeLog COPYING NEWS README TODO
%doc doc/*.pdf %doc doc/*.pdf
%{_bindir}/speex* %{_bindir}/*
%{_mandir}/man?/* %doc %{_mandir}/man?/*
%files -n libspeex1 %files -n libspeex
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libspeex.so.* %{_libdir}/libspeex*.so.*
%files -n libspeexdsp1
%defattr(-,root,root)
%{_libdir}/libspeexdsp.so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc README.TI-DSP README.blackfin README.symbian
%doc doc/manual.pdf %doc doc/manual.pdf
%{_includedir}/* %{_includedir}/*
%{_libdir}/lib*.so %{_libdir}/libspeex*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/*.m4 %{_datadir}/aclocal/*.m4