Port the new granule position scheme for 3.2.1 schemes to the theora-exp branch.
[xiph/unicode.git] / speex / Speex.spec.in
blobbccfc2351ac3019bbdc967204aaf4465bccf123b
1 %define name @PACKAGE@
2 %define ver @VERSION@
3 %define rel 1
5 Summary: An open-source, patent-free speech codec
6 Name: %name
7 Version: %ver
8 Release: %rel
9 License: BSD
10 Group: Application/Devel
11 Source: http://www.speex.org/download/%{name}-%{ver}.tar.gz
12 URL: http://www.speex.org/
13 Vendor: Speex
14 Packager: Jean-Marc Valin (jean-marc.valin@usherbrooke.ca)
15 BuildRoot: /var/tmp/%{name}-build-root
16 Docdir: /usr/share/doc
18 %description
19 Speex is a patent-free audio codec designed especially for voice (unlike
20 Vorbis which targets general audio) signals and providing good narrowband
21 and wideband quality. This project aims to be complementary to the Vorbis
22 codec.
24 %package devel
25 Summary: Speex development files
26 Group: Development/Libraries
27 Requires: %{name} = %{version}
29 %description devel
30 Speex development files.
32 %changelog
33 * Thu Oct 03 2002 Jean-Marc Valin
34 - Added devel package inspired from PLD spec file
36 * Tue Jul 30 2002 Fredrik Rambris <boost@users.sourceforge.net> 0.5.2
37 - Added buildroot and docdir and ldconfig. Makes it builadble by non-roots
38 and also doesn't write to actual library paths when building.
40 %prep
41 %setup
43 %build
44 export CFLAGS='-O3'
45 ./configure --prefix=/usr --enable-shared --enable-static
46 make
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 make DESTDIR=$RPM_BUILD_ROOT install
52 %post -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
55 %files
56 %defattr(644,root,root,755)
57 %doc COPYING AUTHORS ChangeLog NEWS README
58 %doc doc/manual.pdf
59 /usr/share/man/man1/speexenc.1*
60 /usr/share/man/man1/speexdec.1*
61 %attr(755,root,root) %{_bindir}/speex*
62 %attr(755,root,root) %{_libdir}/libspeex*.so*
64 %files devel
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/libspeex*.la
67 %{_includedir}/speex/speex*.h
68 /usr/share/aclocal/speex.m4
69 %{_libdir}/pkgconfig/speex.pc
70 %{_libdir}/pkgconfig/speexdsp.pc
71 %{_libdir}/libspeex*.a