--- rpms/gnome-doc-utils/contribs8/gnome-doc-utils.spec 2008/11/25 16:20:12 1.5 +++ rpms/gnome-doc-utils/contribs8/gnome-doc-utils.spec 2010/02/24 18:29:40 1.6 @@ -1,23 +1,23 @@ -# $Id: gnome-doc-utils.spec,v 1.3 2008/04/02 15:22:03 slords Exp $ -# Authority: slords -# Name: Shad L. Lords +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} ### Abstract ### Name: gnome-doc-utils -Version: 0.12.2 +Version: 0.19.5 Release: 1%{?dist} License: GPLv2+ and LGPLv2+ and GFDL Group: Development/Tools -Summary: Documentation utilities for the GNOME project +Summary: Documentation utilities for GNOME URL: http://www.gnome.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source: http://download.gnome.org/sources/gnome-doc-utils/0.12/%{name}-%{version}.tar.bz2 +Source: http://download.gnome.org/sources/gnome-doc-utils/0.18/%{name}-%{version}.tar.bz2 BuildArch: noarch ### Patches ### +# RH bug #438638 / GNOME bug #524207 +Patch1: gnome-doc-utils-0.14.0-package.patch + ### Dependencies ### Requires: libxml2 >= 2.6.12 @@ -36,16 +36,16 @@ Requires: gnome-doc-utils-stylesheets = BuildRequires: libxml2-devel >= 2.6.12 BuildRequires: libxslt-devel >= 1.1.8 +BuildRequires: libxml2-python -BuildRequires: perl(XML::Parser) +BuildRequires: intltool BuildRequires: gettext BuildRequires: scrollkeeper %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. +all auxiliary files in your source tree. # note that this is an "inverse dependency" subpackage %package stylesheets @@ -53,19 +53,20 @@ Summary: XSL stylesheets used by gnome-d License: LGPLv2+ Group: Development/Tools # for /usr/share/pkgconfig -Requires: 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. +The gnome-doc-utils-stylesheets package contains XSL stylesheets which +are used by the tools in gnome-doc-utils and by yelp. %prep %setup -q +%patch1 -p1 -b .package %build -%configure --disable-scrollkeeper +%configure --disable-scrollkeeper --enable-build-utils make %install @@ -73,8 +74,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig/ -mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_datadir}/pkgconfig +sed -i -e '/^Requires:/d' $RPM_BUILD_ROOT%{_datadir}/pkgconfig/xml2po.pc %find_lang %{name} @@ -90,16 +90,96 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gnome/help/gnome-doc-xslt %{_datadir}/omf/gnome-doc-make %{_datadir}/omf/gnome-doc-xslt -%{_datadir}/xml2po %{_datadir}/gnome-doc-utils %doc %{_mandir}/man1/xml2po.1.gz +%{python_sitelib}/xml2po/ %files stylesheets %defattr(-,root,root,-) %{_datadir}/pkgconfig/* %{_datadir}/xml/gnome +%{_datadir}/xml/mallard %changelog +* Mon Feb 22 2010 Matthias Clasen - 0.19.5-1 +- Update to 0.19.5 + +* Mon Feb 08 2010 Matthew Barnes - 0.19.4-1 +- Update to 0.19.4 + +* Mon Jan 23 2010 Matthew Barnes - 0.19.3-1 +- Update to 0.19.3 + +* Mon Jan 11 2010 Matthew Barnes - 0.19.2-1 +- Update to 0.19.2 + +* Wed Jan 06 2010 Matthew Barnes - 0.19.1-1 +- Update to 0.19.1 + +* Sun Dec 20 2009 Matthew Barnes - 0.18.1-1 +- Update to 0.18.1 + +* Mon Sep 21 2009 Matthias Clasen - 0.18.0-1 +- Update to 0.18.0 + +* Mon Sep 7 2009 Matthias Clasen - 0.17.5-1 +- Update to 0.17.5 + +* Mon Aug 24 2009 Matthias Clasen - 0.17.4-1 +- Update to 0.17.4 + +* Tue Jul 28 2009 Matthias Clasen - 0.17.3-1 +- Update to 0.17.3 + +* Fri Jul 24 2009 Fedora Release Engineering - 0.17.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 29 2009 Matthew Barnes - 0.17.2-1 +- Update to 0.17.2 +- Require libxml2-python for building. + +* Mon Jun 15 2009 Matthias Clasen - 0.17.1-1 +- Update to 0.17.1 + +* Tue Apr 14 2009 Matthias Clasen - 0.16.1-1 +- Update to 0.16.1 + +* Mon Mar 16 2009 Matthias Clasen - 0.16.0-1 +- Update to 0.16.0 + +* Mon Mar 02 2009 Matthew Barnes - 0.15.2-1 +- Update to 0.15.2 + +* Tue Feb 24 2009 Fedora Release Engineering - 0.15.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Feb 3 2009 Matthias Clasen - 0.15.1-2 +- Update to 0.15.1 + +* Sun Jan 11 2009 Matthias Clasen - 0.14.2-1 +- Update to 0.14.2 + +* Wed Dec 17 2008 Matthias Clasen - 0.14.1-1 +- Update to 0.14.1 + +* Mon Dec 8 2008 Matthias Clasen - 0.14.0-7 +- Fight pkg-config-induced dependency bloat + +* Mon Dec 01 2008 Ignacio Vazquez-Abrams - 0.14.0-4 +- Rebuild for Python 2.6 + +* Sat Nov 29 2008 Matthew Barnes - 0.14.0-3 +- Add patch for RH bug #438638 (monospace elements). + +* Sun Nov 23 2008 Matthias Clasen - 0.14.0-2 +- Tweak %%summary and %%description + +* Mon Sep 22 2008 Matthias Clasen - 0.14.0-1 +- Update to 0.14.0 + +* Tue Sep 2 2008 Matthias Clasen - 0.13.1-1 +- Update to 0.13.1 + * Mon Mar 10 2008 Matthias Clasen - 0.12.2-1 - Update to 0.12.2