From c97e121f3a7695e38ef6658d6ce4ddb0c5122eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 31 Mar 2008 06:50:46 +0000 Subject: [PATCH] - 439284 add owner to %{_defaultdocdir}/speex --- speex.spec | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/speex.spec b/speex.spec index 05312a7..0008e4a 100644 --- a/speex.spec +++ b/speex.spec @@ -1,7 +1,7 @@ Summary: A voice compression format (codec) Name: speex Version: 1.2 -Release: 0.5.beta3 +Release: 0.6.beta3 License: BSD Group: System Environment/Libraries URL: http://www.speex.org/ @@ -30,12 +30,22 @@ Requires: pkgconfig Speex is a patent-free compression format designed especially for speech. This package contains development files for %{name} +%package tools +Summary: The tools package for %{name} +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} + +%description tools +Speex is a patent-free compression format designed especially for +speech. This package contains tools files and user's manual for %{name}. + %prep %setup -q -n speex-1.2beta3 %patch0 -p1 -b .test-progs +chmod a-x README %build -%configure --enable-static --with-ogg-libraries=%{_libdir} +%configure --disable-static # Remove rpath from speexenc and speexdec sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -44,8 +54,7 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall -rm -f $RPM_BUILD_ROOT%{_docdir}/speex-*/manual.pdf -chmod a-x README +rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf %clean rm -rf $RPM_BUILD_ROOT @@ -55,28 +64,35 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc AUTHORS COPYING TODO ChangeLog README NEWS doc/manual.pdf -%{_bindir}/speexenc -%{_bindir}/speexdec -%{_mandir}/man1/speexenc.1* -%{_mandir}/man1/speexdec.1* +%doc AUTHORS COPYING TODO ChangeLog README NEWS %{_libdir}/libspeex.so.* -%{_libdir}/libspeexdsp.a -%{_libdir}/libspeexdsp.so* -%{_libdir}/pkgconfig/speexdsp.pc -%{_defaultdocdir}/speex/manual.pdf +%{_libdir}/libspeex*.so.* %exclude %{_libdir}/libspeexdsp.la %files devel %defattr(-,root,root,-) -%exclude %{_libdir}/libspeex.a -%exclude %{_libdir}/libspeex.la %{_includedir}/speex %{_datadir}/aclocal/speex.m4 +%{_libdir}/pkgconfig/speexdsp.pc %{_libdir}/pkgconfig/speex.pc %{_libdir}/libspeex.so +#%{_libdir}/libspeexdsp.so* +%{_libdir}/libspeex*.so +%exclude %{_libdir}/libspeex.la + +%files tools +%defattr(-,root,root,-) +%{_defaultdocdir}/speex +%doc doc/manual.pdf +%{_bindir}/speexenc +%{_bindir}/speexdec +%{_mandir}/man1/speexenc.1* +%{_mandir}/man1/speexdec.1* %changelog +* Mon Mar 31 2008 Marcela Maslanova - 1.2-0.6.beta3 +- 439284 add owner to %{_defaultdocdir}/speex + * Tue Feb 19 2008 Fedora Release Engineering - 1.2-0.5.beta3 - Autorebuild for GCC 4.3