- We still need the docbook hack - make it a bit more flexible by asking

the catalog where we should get the dtd
- Nothing is installed to _libexecdir anymore so removed those entries
This commit is contained in:
John (J5) Palmieri 2005-09-09 20:37:01 +00:00
parent 41298ed34d
commit 1052cae2cb

View File

@ -1,5 +1,6 @@
%define _glib2 2.3.0
%define _libxml2 2.4.9
%define DOCBOOK_DTD_PATH `xmlcatalog /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.2//EN" | sed -e "s#file://##g"`
Name: gstreamer
Version: 0.8.11
@ -34,6 +35,7 @@ BuildRequires: gettext-devel
BuildRequires: cvs
BuildRequires: flex
BuildRequires: ghostscript
BuildRequires: sed
Prereq: /sbin/ldconfig
@ -45,7 +47,7 @@ BuildRequires: docbook-style-xsl
BuildRequires: docbook-dtds
BuildRequires: docbook-utils
BuildRequires: transfig xfig
BuildRequires: netpbm-progs
BuildRequires: netpbm-progs
%description
GStreamer is a streaming-media framework, based on graphs of filters which
@ -95,6 +97,9 @@ in the future.
%patch1 -p1 -b .nops
%patch2 -p1 -b .cast-fix
# openjade doesn't support xml catalogs, so we have to patch in the right dtd reference
find -name "*.xml" | xargs grep -l "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" | xargs perl -pi -e "s#http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd#%{DOCBOOK_DTD_PATH}#g"
# The nopdf patch touches automake makefile sources
NOCONFIGURE=1 ./autogen.sh
@ -140,7 +145,6 @@ env DISPLAY= %{_bindir}/gst-register-%{majmin} 1>/dev/null 2>&1
%{_libdir}/gstreamer-%{majmin}/*.so*
%{_libdir}/*.so.*
%{_bindir}/*-%{majmin}
%{_libexecdir}/*-%{majmin}
%{_mandir}/man1/*-%{majmin}.1.gz
%files devel
@ -157,15 +161,15 @@ env DISPLAY= %{_bindir}/gst-register-%{majmin} 1>/dev/null 2>&1
%defattr(-, root, root)
%{_bindir}/*
%exclude %{_bindir}/*-%{majmin}
%{_libexecdir}/*
%exclude %{_libexecdir}/*-%{majmin}
%{_mandir}/man1/*
%exclude %{_mandir}/man1/*-%{majmin}.1.gz
%changelog
* Fri Sep 09 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.11-1
- Update to upstream 0.8.11
- take out docbook hack
- We still need the docbook hack - make it a bit more flexible
by asking the catalog where we should get the dtd
- Nothing is installed to _libexecdir anymore so removed those entries
* Tue May 03 2005 John (J5) Palmieri <johnp@redhat.com> 0.8.10-1
- Update to upstream 0.8.10