284 lines
9.7 KiB
RPMSpec
284 lines
9.7 KiB
RPMSpec
#
|
|
# spec file for package gnome-doc-utils (Version 0.15.1)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: gnome-doc-utils
|
|
BuildRequires: docbook_4
|
|
BuildRequires: fdupes
|
|
BuildRequires: intltool
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: python
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
|
Group: System/GUI/GNOME
|
|
AutoReqProv: on
|
|
Version: 0.15.1
|
|
Release: 1
|
|
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-FIX-OPENSUSE gnome-doc-utils-permissive.patch -- Be permissive for incorrectly formatted docs, so that builds don't fail. Should be removed ASAP.
|
|
Patch: gnome-doc-utils-permissive.patch
|
|
Url: http://www.gnome.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: libxml2-python
|
|
# only for directory ownership:
|
|
BuildRequires: scrollkeeper
|
|
Requires: 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
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
|
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
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%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?/*.*
|
|
# Own these directories to not depend on gnome-common while building:
|
|
%dir %{_datadir}/gnome
|
|
%dir %{_datadir}/gnome/help
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_datadir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Mon Feb 02 2009 mboman@suse.de
|
|
- Update to version 0.15.1:
|
|
+ Fixed some RTL issues, thanks to muayyad alsadi, bgo#563559
|
|
+ Translation updates
|
|
- Comment out gnome-doc-utils-permissive.patch to see if packages
|
|
builds properly when it's not in place.
|
|
- Remove gnome-common from BuildRequires
|
|
* Sun Jan 25 2009 vuntz@novell.com
|
|
- Remove useless BuildRequires/Requires on libgnome.
|
|
- Use fdupes.
|
|
* Mon Jan 12 2009 mboman@suse.de
|
|
- Update to version 0.14.2:
|
|
+ Translation updates
|
|
* Sat Dec 20 2008 mboman@suse.de
|
|
- Update to version 0.14.1:
|
|
+ Fixed some LTR issues, more remain on bug bgo#563559
|
|
+ chmod +x gnome-doc-{tool,prepare} on configure, bgo#557732
|
|
+ Symlink non-localized figured to C figures, bgo#557227
|
|
+ Translation updates
|
|
* Tue Sep 23 2008 mboman@suse.de
|
|
- Update to version 0.14.0:
|
|
+ Translation updates.
|
|
* Thu Sep 04 2008 maw@suse.de
|
|
- Don't require glib2-devel to build.
|
|
- Do require pkg-config to build.
|
|
* Sat Aug 30 2008 mboman@novell.com
|
|
- Updated to version 0.13.1:
|
|
+ Fixed UnicodeDecodeError in xml2po
|
|
+ Correctly handle content and tooltips for links to anchors
|
|
+ Don't reprocess book titles when title and bookinfo/title exist
|
|
+ Remove GLib build dependency; include glib-gettext.m4 [bgo#510915]
|
|
+ Updated translations
|
|
- Removed gnome-doc-utils-bnc408363-unicodeerror.patch. Fixed upstream.
|
|
* Fri Jul 25 2008 vuntz@novell.com
|
|
- Tag patch.
|
|
- Add gnome-doc-utils-bnc408363-unicodeerror.patch to fix an error
|
|
in xml2po (bnc#408363).
|
|
* Thu Mar 13 2008 maw@suse.de
|
|
- Update to version 0.12.2:
|
|
+ Added DOCTYPE decls to HTML and XHTML pages
|
|
+ Adde EXSLT set to the excluded prefixes
|
|
+ Updated translations.
|
|
* Mon Feb 18 2008 maw@suse.de
|
|
- Update to version 0.12.1:
|
|
+ Chunks work without id attributes
|
|
+ Don't use the title as a label for qandadiv etc
|
|
+ Added support for manual indeces
|
|
+ Various other fixes
|
|
+ Updated translations.
|
|
* Fri Sep 14 2007 hpj@suse.de
|
|
- Reverted back to version 0.10.3, so the reverted Yelp will work
|
|
correctly.
|
|
* Thu Aug 30 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 Šegan)
|
|
* Updated translations:
|
|
gl (Ignacio Casal Quinteiro)
|
|
sq (Laurent Dhima)
|
|
* Mon Mar 26 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
|
|
* Wed Sep 13 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.
|
|
* Fri Jun 17 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).
|
|
* Wed Feb 02 2005 clahey@suse.de
|
|
- Updating to version 0.1.2.
|
|
* Mon Jan 24 2005 ro@suse.de
|
|
- fix lib64 build
|
|
* Sun Jan 23 2005 clahey@suse.de
|
|
- Initial import.
|