Should fix a bug for platforms where a char is 16 bits.
[speexdsp.git] / Speex.spec.in
index b0b427f..f359b42 100644 (file)
@@ -41,7 +41,7 @@ Speex development files.
 %setup
 
 %build
-export CFLAGS='-O3 -DRELEASE'
+export CFLAGS='-O3'
 ./configure --prefix=/usr --enable-shared --enable-static
 make
 
@@ -59,10 +59,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
 /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
+%attr(755,root,root) %{_libdir}/libspeex*.so*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libspeex*.la
-%{_includedir}/speex*.h
+%{_includedir}/speex/speex*.h
+/usr/share/aclocal/speex.m4
+%{_libdir}/pkgconfig/speex.pc
 %{_libdir}/libspeex*.a