gnome-doc-utils/gnome-doc-utils.spec

217 lines
7.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gnome-doc-utils (Version 0.10.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-doc-utils
BuildRequires: docbook_4 glib2-devel gnome-common intltool libxslt-devel python
License: GPL v2 or later, LGPL v2 or later
Group: System/GUI/GNOME
AutoReqProv: on
Version: 0.10.3
Release: 43
Summary: A Collection of Documentation Utilities for GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.8/%{name}-%{version}.tar.bz2
Patch: gnome-doc-utils-permissive.patch
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libxml2-python
# only for directory ownership:
BuildRequires: libgnome scrollkeeper
Requires: libgnome scrollkeeper
BuildArch: noarch
%description
The gnome-doc-utils package is a collection of documentation utilities
for the GNOMEproject. Notably, it contains utilities for building
documentation and all auxiliary files in your source tree. It also
contains the DocBook XSLT stylesheets that were once distributed with
Yelp. Starting with GNOME 2.8, Yelp requires gnome-doc-utils for XSLT.
It also contains the Python program xml2po that extracts translatable
content from XML documents and outputs gettext-compatible POT files.
For simple tags, it works out-of-the-box. For complicated tags, provide
a list of all tags that are considered "final" (tags with contents that
should be put into one "message" in the POT file), "ignored" (skipped
over), and "space preserving".
Sane defaults are available for DocBook documents and other common
document types (like GNOME Summaries and XHTML). For other kinds of
documents, it is possible to use -a (--automatic-tags) to choose
suitable translatable pieces.
Authors:
--------
Shaun McCance <shaunm@gnome.org>
%package devel
Summary: A Collection of Documentation Utilities for GNOME
Group: System/GUI/GNOME
AutoReqProv: on
Requires: %{name} = %{version} libxml2-devel
%description devel
The gnome-doc-utils package 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. It also
contains the DocBook XSLT stylesheets that were once distributed with
Yelp. Starting with GNOME 2.8, Yelp requires gnome-doc-utils for XSLT.
It also contains the Python program xml2po that extracts translatable
content from XML documents and outputs gettext-compatible POT files.
For simple tags, it works out-of-the-box. For complicated tags, provide
a list of all tags that are considered "final" (tags with contents that
should be put into one "message" in the POT file), "ignored" (skipped
over), and "space preserving".
Sane defaults are available for DocBook documents and other common
document types (like GNOME Summaries and XHTML). For other kinds of
documents, it is possible to use -a (--automatic-tags) to choose
suitable translatable pieces.
Authors:
--------
Shaun McCance <shaunm@gnome.org>
%prep
%setup -q
# This patch is an ugly hack and should be removed ASAP:
%patch
%build
# autoreconf fails...
# ACLOCAL="aclocal -I $PWD" autoreconf -f -i
%configure\
--disable-scrollkeeper
make %{?jobs:-j%jobs} pkgconfigdir=%{_datadir}/pkgconfig
%install
%makeinstall pkgconfigdir=%{_datadir}/pkgconfig
%find_lang %{name}
%find_lang gnome-doc-xslt %{name}.lang
%find_lang gnome-doc-make %{name}.lang
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/aclocal/gnome-doc-utils.m4
%{_datadir}/gnome-doc-utils
%{_datadir}/xml/*
%{_datadir}/omf/*
%{_datadir}/xml2po
%{_mandir}/man?/*.*
%files devel
%defattr (-, root, root)
%{_datadir}/pkgconfig/*.pc
%changelog
* Fri Sep 14 2007 - hpj@suse.de
- Reverted back to version 0.10.3, so the reverted Yelp will work
correctly.
* Fri Aug 31 2007 - maw@suse.de
- Update to version 0.11.2:
* Added db2html.division.div.content.mode
* Added support for manual indexes
* Fixed the mime attribute in OMF output
* Worked on the HTML output for refentry
* Switched to set:has-same-node for node comparisons
* Updated translations.
* Thu Aug 02 2007 - mauro@suse.de
- Update to version 0.11.1
- Bugfixes for #456700.
* Wed Apr 11 2007 - maw@suse.de
- Update to version 0.10.3
* general:
Use gawk -W compat whenever $(AWK) is gawk (Shaun McCance)
* tools:
Don't call ScrollKeeper when it's not installed; bug #410715
(Shaun McCance)
* xml2po:
Display xsltproc invocation, honor its exit status, and pull
the source from srcdir; bugzilla.gnome.org #169324 (Danilo <20>Å egan)
* Updated translations:
gl (Ignacio Casal Quinteiro)
sq (Laurent Dhima)
* Tue Mar 27 2007 - maw@suse.de
- Update to version 0.10.1
- fixes for b.g.o 416933, 409292, and 169324.
* Thu Mar 01 2007 - sbrabec@suse.cz
- Be even more permissive.
* Mon Feb 26 2007 - sbrabec@suse.cz
- Be more permissive for incorrectly formatted docs.
* Mon Feb 19 2007 - maw@suse.de
- Update to version 0.9.2.
* Mon Jan 29 2007 - sbrabec@suse.cz
- Build as noarch (patch from Andreas Hanke, #237146).
* Thu Dec 14 2006 - maw@suse.de
- Move to /usr.
* Fri Oct 13 2006 - danw@suse.de
- Remove dead patch
* Tue Oct 10 2006 - jhargadon@suse.de
- split out the devel files into a -devel package
* Thu Sep 14 2006 - jhargadon@suse.de
- update to version 0.8.0
- Use an XSLT namespace alias for XInclude output
- Updated translations
* Mon Aug 21 2006 - jhargadon@suse.de
- update to version 0.7.2
- updated translations
* Fri Aug 11 2006 - jhargadon@suse.de
- update to version 0.7.1
- Added support for the LINGUAS environment variable
- Some fixes for HTML generation
- Fixed attribute handling
- updated translations
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 - sbrabec@suse.cz
- Updated to version 0.5.3.
* Wed Nov 30 2005 - gekker@suse.de
- Update to version 0.4.4
* Tue Oct 04 2005 - sbrabec@suse.cz
- Updated to version 0.4.2.
* Tue Sep 06 2005 - sbrabec@suse.cz
- Updated to version 0.4.0.
* Mon Sep 05 2005 - gekker@suse.de
- Update to version 0.3.3 (GNOME 2.12)
* Wed Aug 10 2005 - sbrabec@suse.cz
- Do not require -devel packages.
* Mon Aug 08 2005 - sbrabec@suse.cz
- Use minimal build environment to break build loop.
* Thu Jul 28 2005 - sbrabec@suse.cz
- Updated to version 0.3.2.
- Fixed dependency on libxml2-python (#98757).
* Fri Jul 22 2005 - gekker@suse.de
- Update to version 0.3.1
- Remove previous patch
* Wed Jul 06 2005 - clahey@suse.de
- Added patches to update to cvs.
- Called auto* to get changes from cvs.
- Added dep on libxml2-devel.
* Sat Jun 18 2005 - gekker@suse.de
- Update to version 0.2.0
* Wed Mar 09 2005 - gekker@suse.de
- Updating to version 0.1.3 (GNOME 2.10).
* Thu Feb 03 2005 - clahey@suse.de
- Updating to version 0.1.2.
* Mon Jan 24 2005 - ro@suse.de
- fix lib64 build
* Mon Jan 24 2005 - clahey@suse.de
- Initial import.