Patch by Alexander Chemeris removing medfilter from the VS2005 build
[speexdsp.git] / Speex.spec.in
index dfa9c3d..416f435 100644 (file)
@@ -6,12 +6,12 @@ Summary: An open-source, patent-free speech codec
 Name: %name
 Version: %ver
 Release: %rel
-Copyright: LGPL
+License: BSD
 Group: Application/Devel
-Source: http://prdownloads.sourceforge.net/speex/%{name}-%{ver}.tar.gz
-URL: http://speex.sourceforge.net/
+Source: http://www.speex.org/download/%{name}-%{ver}.tar.gz
+URL: http://www.speex.org/
 Vendor: Speex
-Packager: Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca)
+Packager: Jean-Marc Valin (jean-marc.valin@usherbrooke.ca)
 BuildRoot: /var/tmp/%{name}-build-root
 Docdir: /usr/share/doc
 
@@ -21,7 +21,18 @@ Vorbis which targets general audio) signals and providing good narrowband
 and wideband quality. This project aims to be complementary to the Vorbis
 codec.
 
+%package devel
+Summary:       Speex development files
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+Speex development files.
+
 %changelog
+* Thu Oct 03 2002 Jean-Marc Valin 
+- Added devel package inspired from PLD spec file
+
 * Tue Jul 30 2002 Fredrik Rambris <boost@users.sourceforge.net> 0.5.2
 - Added buildroot and docdir and ldconfig. Makes it builadble by non-roots
   and also doesn't write to actual library paths when building.
@@ -30,7 +41,7 @@ codec.
 %setup
 
 %build
-export CFLAGS='-O3 -DRELEASE'
+export CFLAGS='-O3'
 ./configure --prefix=/usr --enable-shared --enable-static
 make
 
@@ -42,11 +53,18 @@ make DESTDIR=$RPM_BUILD_ROOT install
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
-%doc AUTHORS COPYING NEWS TODO README
-/usr/lib/libspeex*
-/usr/bin/speexenc
-/usr/bin/speexdec
-/usr/include/speex.h
-/usr/include/speex_bits.h
-/usr/include/speex_header.h
+%defattr(644,root,root,755)
+%doc COPYING AUTHORS ChangeLog NEWS README
+%doc doc/manual.pdf
+/usr/share/man/man1/speexenc.1*
+/usr/share/man/man1/speexdec.1*
+%attr(755,root,root) %{_bindir}/speex*
+%attr(755,root,root) %{_libdir}/libspeex*.so*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libspeex*.la
+%{_includedir}/speex/speex*.h
+/usr/share/aclocal/speex.m4
+%{_libdir}/pkgconfig/speex.pc
+%{_libdir}/libspeex*.a