########%define gnomever 2.32.0 %define majver %(echo %version | cut -d. -f 1-2) %define group desktop %define pkgname gnome-doc-utils Name: gnome-doc-utils Version: 0.20.10 Release: 1mamba Summary: A collection of documentation utilities for the Gnome project Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: ftp://ftp.gnome.org # bugfixes: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname} Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/%{majver}/gnome-doc-utils-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: gettext-devel BuildRequires: perl BuildRequires: perl-XML-Parser BuildRequires: pkgconfig BuildRequires: libpython-devel BuildRequires: libxslt-devel BuildRequires: python-libxml2 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Gnome-doc-utils is a collection of documentation utilities for the Gnome project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp. Starting with Gnome 2.8, Yelp will require gnome-doc-utils for the XSLT. Gnome documentation utilities. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version} %description devel gnome-doc-utils is a collection of documentation utilities for the Gnome project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp. Starting with Gnome 2.8, Yelp will require gnome-doc-utils for the XSLT. This package contains static libraries and header files need for development. %prep %setup -q %build %configure --disable-scrollkeeper %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall #%find_lang gnome-doc-make --with-gnome #%find_lang gnome-doc-xslt --with-gnome #cat gnome-doc-xslt.lang gnome-doc-make.lang >> %{name}.lang %find_lang %{pkgname} %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files -f %{pkgname}.lang %defattr(-,root,root) %{_bindir}/gnome-doc-prepare %{_bindir}/gnome-doc-tool %{_bindir}/xml2po %{_datadir}/gnome/help/gnome-doc-make/ %{_datadir}/gnome/help/gnome-doc-xslt/ %{_datadir}/gnome-doc-utils/* #%{_datadir}/omf/gnome-doc-make/* #%{_datadir}/omf/gnome-doc-xslt/* %{_datadir}/xml/gnome/xslt/docbook/common/* %{_datadir}/xml/gnome/xslt/docbook/html/* %{_datadir}/xml/gnome/xslt/docbook/omf/* %{_datadir}/xml/gnome/xslt/docbook/utils/* %{_datadir}/xml/gnome/xslt/gettext/* %{_datadir}/xml/gnome/xslt/common/theme.xsl %{_datadir}/xml/gnome/xslt/common/utils.xsl %{_datadir}/xml/gnome/xslt/mallard %{_datadir}/xml/mallard/1.0/mallard.rnc %{_datadir}/xml/mallard/1.0/mallard.rng %{python_sitearch}/xml2po #%{_datadir}/xml/gnome/xslt/xsldoc/* #%{_datadir}/xml2po/* %{_mandir}/man1/xml2po.* %doc AUTHORS COPYING ChangeLog NEWS README %files devel %defattr(-,root,root) %{_datadir}/aclocal/gnome-doc-utils.m4 %{_datadir}/pkgconfig/*.pc %changelog * Mon Jul 02 2012 Automatic Build System 0.20.10-1mamba - automatic version update by autodist * Wed Mar 21 2012 Automatic Build System 0.20.9-1mamba - automatic version update by autodist * Sun Mar 18 2012 Automatic Build System 0.20.8-1mamba - automatic version update by autodist * Mon Mar 12 2012 Automatic Build System 0.20.7-1mamba - update to 0.20.7 * Tue May 03 2011 Automatic Build System 0.20.6-1mamba - automatic update by autodist * Tue Mar 22 2011 Automatic Build System 0.20.5-1mamba - automatic update by autodist * Mon Jan 10 2011 Automatic Build System 0.20.4-1mamba - automatic update by autodist * Mon Dec 20 2010 Automatic Build System 0.20.3-1mamba - automatic update to 0.20.3 by autodist * Tue Sep 28 2010 Automatic Build System 0.20.2-1mamba - automatic update to 0.20.2 by autodist * Sun May 30 2010 Automatic Build System 0.20.1-1mamba - update to 0.20.1 * Thu Oct 02 2008 gil 0.14.0-1mamba - update to 0.14.0 * Mon May 19 2008 gil 0.12.2-1mamba - update to version 0.12.2 * Tue Apr 10 2007 Tiziano Pratellesi 0.10.1-1mamba - update to version 0.10.1 * Thu Jan 11 2007 Davide Madrisan 0.8.0-1qilnx - update to version 0.8.0 by autospec * Tue Mar 14 2006 Davide Madrisan 0.6.0-2qilnx - use %%find_lang and %%majversion - added missing build requirements * Mon Mar 13 2006 Silvan Calarco 0.6.0-1qilnx - package created by autospec