187 lines
6.1 KiB
RPMSpec
187 lines
6.1 KiB
RPMSpec
#
|
||
# spec file for package gnome-doc-utils (Version 0.9.2)
|
||
#
|
||
# 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 intltool libxslt-devel python
|
||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||
Group: System/GUI/GNOME
|
||
Autoreqprov: on
|
||
Version: 0.9.2
|
||
Release: 4
|
||
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
|
||
BuildArchitectures: noarch
|
||
|
||
%description
|
||
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>
|
||
|
||
%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
|
||
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
|
||
* 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.
|