- 439284 add owner to %{_defaultdocdir}/speex
This commit is contained in:
parent
2d1241fa0f
commit
c97e121f3a
46
speex.spec
46
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 <mmaslano@redhat.com> - 1.2-0.6.beta3
|
||||
- 439284 add owner to %{_defaultdocdir}/speex
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-0.5.beta3
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user