split out a stylesheets subpackage

epel9
Matthias Clasen 18 years ago
parent 0bca747bb3
commit 8a861396d3

@ -2,7 +2,7 @@
Name: gnome-doc-utils Name: gnome-doc-utils
Version: 0.10.3 Version: 0.10.3
Release: 3%{?dist} Release: 4%{?dist}
License: LGPL License: LGPL
Group: Development/Tools Group: Development/Tools
Summary: Documentation utilities for the GNOME project Summary: Documentation utilities for the GNOME project
@ -19,17 +19,14 @@ BuildArch: noarch
Requires: libxml2 >= 2.6.12 Requires: libxml2 >= 2.6.12
Requires: libxslt >= 1.1.8 Requires: libxslt >= 1.1.8
Requires: libxml2-python Requires: libxml2-python
# for /usr/share/pkgconfig
Requires: pkgconfig
# for /usr/share/aclocal # for /usr/share/aclocal
Requires: automake Requires: automake
# for /usr/share/xml
Requires: xml-common
# for /usr/share/gnome/help # for /usr/share/gnome/help
#Requires: yelp #Requires: yelp
# Currently creates a chicken/egg problem; gnome-doc-utils is needed in # Currently creates a chicken/egg problem; gnome-doc-utils is needed in
# the build-chain for yelp, thus making it nearly impossible to ever # the build-chain for yelp, thus making it nearly impossible to ever
# update yelp for say newer Firefox. # update yelp for say newer Firefox.
Requires: gnome-doc-utils-stylesheets = %{version}-%{release}
### Build Dependencies ### ### Build Dependencies ###
@ -46,6 +43,19 @@ project. Notably, it contains utilities for building documentation and
all auxiliary files in your source tree, and it contains the DocBook all auxiliary files in your source tree, and it contains the DocBook
XSLT stylesheets that were once distributed with Yelp. XSLT stylesheets that were once distributed with Yelp.
# note that this is an "inverse dependency" subpackage
%package stylesheets
Summary: XSL stylesheets used by gnome-doc-utils
Group: Development/Tools
# for /usr/share/pkgconfig
Requires: pkgconfig
# for /usr/share/xml
Requires: xml-common
%description stylesheets
The gnome-doc-utils-stylesheets package contains XSL
stylesheets which are used by the tools in gnome-doc-utils.
%prep %prep
%setup -q %setup -q
@ -70,18 +80,24 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS README NEWS %doc AUTHORS README NEWS
%{_bindir}/* %{_bindir}/*
%{_datadir}/pkgconfig/*
%{_datadir}/aclocal/gnome-doc-utils.m4 %{_datadir}/aclocal/gnome-doc-utils.m4
%{_datadir}/gnome/help/gnome-doc-make %{_datadir}/gnome/help/gnome-doc-make
%{_datadir}/gnome/help/gnome-doc-xslt %{_datadir}/gnome/help/gnome-doc-xslt
%{_datadir}/omf/gnome-doc-make %{_datadir}/omf/gnome-doc-make
%{_datadir}/omf/gnome-doc-xslt %{_datadir}/omf/gnome-doc-xslt
%{_datadir}/xml/gnome
%{_datadir}/xml2po %{_datadir}/xml2po
%{_mandir}/man1/xml2po.1.gz %{_mandir}/man1/xml2po.1.gz
%{_datadir}/gnome-doc-utils %{_datadir}/gnome-doc-utils
%files stylesheets
%{_datadir}/pkgconfig/*
%{_datadir}/xml/gnome
%changelog %changelog
* Mon Jul 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.3-4
- Split out stylesheets as subpackage to avoid pulling automake
in the live CD
* Fri Jul 20 2007 Jesse Keating <jkeating@redhat.com> - 0.10.3-3 * Fri Jul 20 2007 Jesse Keating <jkeating@redhat.com> - 0.10.3-3
- Don't require yelp for now - Don't require yelp for now

Loading…
Cancel
Save