diff --git a/gstreamer.spec.in b/gstreamer.spec.in index e63a9e67c3..91256f5eb3 100644 --- a/gstreamer.spec.in +++ b/gstreamer.spec.in @@ -101,7 +101,10 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/devhelp/specs cp $RPM_BUILD_DIR/%{name}-%{version}/docs/devhelp/*.devhelp $RPM_BUILD_ROOT/usr/share/devhelp/specs %makeinstall - +# Clean out files that should not be part of the rpm. +# This is the recommended way of dealing with it for RH8 +rm -f $RPM_BUILD_ROOT%{_libdir}/gst/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gst/*.a %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT @@ -129,6 +132,7 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books %{_bindir}/gst-md5sum %{_bindir}/gst-register %{_bindir}/gst-feedback +%{_bindir}/gst-xmllaunch %{_libdir}/libgstreamer-%{version}.so.* %{_libdir}/gst/libgstautoplugcache*.so* %{_libdir}/gst/libgstautoplugger*.so* @@ -144,6 +148,8 @@ ln -sf %{_datadir}/gtk-doc/html/gstreamer-libs %{_datadir}/devhelp/books %{_libdir}/gst/libgstgetbits*.so* %{_libdir}/gst/libgstputbits*.so* %{_libdir}/gst/libgstspider*.so* +%{_mandir}/man1/gst-feedback.* +%{_mandir}/man1/gst-xmllaunch.* %{_mandir}/man1/gst-complete.* %{_mandir}/man1/gst-compprep.* %{_mandir}/man1/gst-inspect.*