2007-01-10 01:54:58 +01:00
|
|
|
#
|
2009-03-11 16:49:28 +01:00
|
|
|
# spec file for package gnome-doc-utils (Version 0.15.2)
|
2007-01-10 01:54:58 +01:00
|
|
|
#
|
2009-02-07 00:04:45 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 01:54:58 +01:00
|
|
|
#
|
2008-08-14 00:54:22 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-10 01:54:58 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-22 01:21:38 +01:00
|
|
|
|
2007-01-10 01:54:58 +01:00
|
|
|
Name: gnome-doc-utils
|
2008-10-11 17:12:29 +02:00
|
|
|
BuildRequires: docbook_4
|
2009-02-07 00:04:45 +01:00
|
|
|
BuildRequires: fdupes
|
2008-10-11 17:12:29 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python
|
2008-02-22 01:21:38 +01:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2007-01-10 01:54:58 +01:00
|
|
|
Group: System/GUI/GNOME
|
2009-03-11 16:49:28 +01:00
|
|
|
Version: 0.15.2
|
2008-10-11 17:12:29 +02:00
|
|
|
Release: 1
|
2007-01-10 01:54:58 +01:00
|
|
|
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
|
2007-09-14 16:01:47 +02:00
|
|
|
Url: http://www.gnome.org
|
2007-01-10 01:54:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: libxml2-python
|
2009-03-11 16:49:28 +01:00
|
|
|
Requires: libxslt
|
|
|
|
Requires: %{name}-lang = %{version}
|
2007-09-14 16:01:47 +02:00
|
|
|
BuildArch: noarch
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The gnome-doc-utils package is a collection of documentation utilities
|
2007-08-31 15:21:25 +02:00
|
|
|
for the GNOMEproject. Notably, it contains utilities for building
|
2007-01-10 01:54:58 +01:00
|
|
|
documentation and all auxiliary files in your source tree. It also
|
|
|
|
contains the DocBook XSLT stylesheets that were once distributed with
|
2007-08-31 15:21:25 +02:00
|
|
|
Yelp. Starting with GNOME 2.8, Yelp requires gnome-doc-utils for XSLT.
|
2007-01-10 01:54:58 +01:00
|
|
|
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
|
2007-08-31 15:21:25 +02:00
|
|
|
document types (like GNOME Summaries and XHTML). For other kinds of
|
2007-01-10 01:54:58 +01:00
|
|
|
documents, it is possible to use -a (--automatic-tags) to choose
|
|
|
|
suitable translatable pieces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Shaun McCance <shaunm@gnome.org>
|
|
|
|
|
|
|
|
%package devel
|
2008-08-14 00:54:22 +02:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2007-01-10 01:54:58 +01:00
|
|
|
Summary: A Collection of Documentation Utilities for GNOME
|
|
|
|
Group: System/GUI/GNOME
|
2009-03-11 16:49:28 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
# Needed by packages being built with gnome-doc-utils, unless they
|
|
|
|
# use --disable-scrollkeeper
|
|
|
|
Requires: scrollkeeper
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%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>
|
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%lang_package
|
2007-01-10 01:54:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-03-27 01:24:18 +02:00
|
|
|
# autoreconf fails...
|
|
|
|
# ACLOCAL="aclocal -I $PWD" autoreconf -f -i
|
2007-01-10 01:54:58 +01:00
|
|
|
%configure\
|
|
|
|
--disable-scrollkeeper
|
2007-01-29 16:58:21 +01:00
|
|
|
make %{?jobs:-j%jobs} pkgconfigdir=%{_datadir}/pkgconfig
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%install
|
2007-01-29 16:58:21 +01:00
|
|
|
%makeinstall pkgconfigdir=%{_datadir}/pkgconfig
|
2007-01-10 01:54:58 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang gnome-doc-xslt %{name}.lang
|
|
|
|
%find_lang gnome-doc-make %{name}.lang
|
2009-02-07 00:04:45 +01:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%files
|
2007-01-10 01:54:58 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2009-03-11 16:49:28 +01:00
|
|
|
# xml2po stuff
|
|
|
|
%{_bindir}/xml2po
|
2007-01-10 01:54:58 +01:00
|
|
|
%{_datadir}/xml2po
|
2009-03-11 16:49:28 +01:00
|
|
|
# gnome-doc-tool stuff
|
|
|
|
%{_bindir}/gnome-doc-tool
|
|
|
|
%dir %{_datadir}/gnome-doc-utils
|
|
|
|
%{_datadir}/gnome-doc-utils/icons
|
|
|
|
%{_datadir}/gnome-doc-utils/watermarks
|
|
|
|
%{_datadir}/xml/gnome
|
|
|
|
# Misc.
|
2007-01-10 01:54:58 +01:00
|
|
|
%{_mandir}/man?/*.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_bindir}/gnome-doc-prepare
|
|
|
|
%{_datadir}/aclocal/gnome-doc-utils.m4
|
2007-01-29 16:58:21 +01:00
|
|
|
%{_datadir}/pkgconfig/*.pc
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_datadir}/gnome-doc-utils/gnome-doc-utils.make
|
|
|
|
%{_datadir}/gnome-doc-utils/templates
|
|
|
|
%{_datadir}/gnome-doc-utils/template*.*
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr (-, root, root)
|
|
|
|
# Own these directories to not depend on gnome-common while building:
|
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%dir %{_datadir}/gnome/help
|
|
|
|
# Own this directory to not depend on scrollkeeper
|
|
|
|
%dir %{_datadir}/omf
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2007-02-20 00:26:56 +01:00
|
|
|
%changelog
|
2009-03-11 16:49:28 +01:00
|
|
|
* Mon Mar 09 2009 vuntz@novell.com
|
|
|
|
- Split off a lang package.
|
|
|
|
- Put back scrollkeeper in Requires (of the devel package this
|
|
|
|
time). It's really needed.
|
|
|
|
- Move some files to the devel package, where they belong.
|
|
|
|
* Mon Mar 02 2009 mboman@suse.de
|
|
|
|
- Update to version 0.15.2:
|
|
|
|
+ More RTL fixes for bgo#563559
|
|
|
|
+ Translation updates
|
|
|
|
- Completly remove gnome-doc-utils-permissive.patch
|
|
|
|
- Remove scrollkeeper from BuildRequires/Requires
|
|
|
|
- Remove AutoReqProv since it's default
|
|
|
|
- Add libxslt to Requires
|
2009-02-07 00:04:45 +01:00
|
|
|
* 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
|
2009-03-11 16:49:28 +01:00
|
|
|
* Wed Sep 24 2008 mboman@suse.de
|
2008-10-11 17:12:29 +02:00
|
|
|
- Update to version 0.14.0:
|
|
|
|
+ Translation updates.
|
2009-03-11 16:49:28 +01:00
|
|
|
* Fri Sep 05 2008 maw@suse.de
|
2008-09-05 22:41:40 +02:00
|
|
|
- Don't require glib2-devel to build.
|
|
|
|
- Do require pkg-config to build.
|
2008-09-05 01:25:40 +02:00
|
|
|
* 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.
|
2008-08-14 00:54:22 +02:00
|
|
|
* Fri Jul 25 2008 vuntz@novell.com
|
|
|
|
- Tag patch.
|
|
|
|
- Add gnome-doc-utils-bnc408363-unicodeerror.patch to fix an error
|
|
|
|
in xml2po (bnc#408363).
|
2009-03-11 16:49:28 +01:00
|
|
|
* Fri Mar 14 2008 maw@suse.de
|
2008-03-14 17:19:58 +01:00
|
|
|
- Update to version 0.12.2:
|
|
|
|
+ Added DOCTYPE decls to HTML and XHTML pages
|
|
|
|
+ Adde EXSLT set to the excluded prefixes
|
|
|
|
+ Updated translations.
|
2008-02-22 01:21:38 +01:00
|
|
|
* 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
|
2007-09-14 16:01:47 +02:00
|
|
|
- Reverted back to version 0.10.3, so the reverted Yelp will work
|
|
|
|
correctly.
|
2008-09-05 22:41:40 +02:00
|
|
|
* Thu Aug 30 2007 maw@suse.de
|
2007-08-31 15:21:25 +02:00
|
|
|
- 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.
|
2008-09-05 22:41:40 +02:00
|
|
|
* Thu Aug 02 2007 mauro@suse.de
|
2007-08-03 01:33:00 +02:00
|
|
|
- Update to version 0.11.1
|
|
|
|
- Bugfixes for #456700.
|
2009-03-11 16:49:28 +01:00
|
|
|
* Thu Apr 12 2007 maw@suse.de
|
2007-04-12 17:01:55 +02:00
|
|
|
- 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
|
2009-02-07 00:04:45 +01:00
|
|
|
the source from srcdir; bugzilla.gnome.org #169324 (Danilo Šegan)
|
2007-04-12 17:01:55 +02:00
|
|
|
* Updated translations:
|
|
|
|
gl (Ignacio Casal Quinteiro)
|
|
|
|
sq (Laurent Dhima)
|
2008-09-05 22:41:40 +02:00
|
|
|
* Mon Mar 26 2007 maw@suse.de
|
2007-03-27 01:24:18 +02:00
|
|
|
- Update to version 0.10.1
|
|
|
|
- fixes for b.g.o 416933, 409292, and 169324.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Thu Mar 01 2007 sbrabec@suse.cz
|
2007-03-03 14:30:53 +01:00
|
|
|
- Be even more permissive.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Feb 26 2007 sbrabec@suse.cz
|
2007-02-26 19:01:30 +01:00
|
|
|
- Be more permissive for incorrectly formatted docs.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Feb 19 2007 maw@suse.de
|
2007-02-20 00:26:56 +01:00
|
|
|
- Update to version 0.9.2.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Jan 29 2007 sbrabec@suse.cz
|
2007-01-29 16:58:21 +01:00
|
|
|
- Build as noarch (patch from Andreas Hanke, #237146).
|
2008-02-22 01:21:38 +01:00
|
|
|
* Thu Dec 14 2006 maw@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Move to /usr.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Fri Oct 13 2006 danw@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Remove dead patch
|
2008-02-22 01:21:38 +01:00
|
|
|
* Tue Oct 10 2006 jhargadon@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- split out the devel files into a -devel package
|
2008-09-05 22:41:40 +02:00
|
|
|
* Wed Sep 13 2006 jhargadon@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- update to version 0.8.0
|
|
|
|
- Use an XSLT namespace alias for XInclude output
|
|
|
|
- Updated translations
|
2008-09-05 22:41:40 +02:00
|
|
|
* Mon Aug 21 2006 jhargadon@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- update to version 0.7.2
|
|
|
|
- updated translations
|
2008-02-22 01:21:38 +01:00
|
|
|
* Fri Aug 11 2006 jhargadon@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- update to version 0.7.1
|
|
|
|
- Added support for the LINGUAS environment variable
|
|
|
|
- Some fixes for HTML generation
|
|
|
|
- Fixed attribute handling
|
|
|
|
- updated translations
|
2008-02-22 01:21:38 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-22 01:21:38 +01:00
|
|
|
* Wed Jan 18 2006 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updated to version 0.5.3.
|
2008-09-05 22:41:40 +02:00
|
|
|
* Wed Nov 30 2005 gekker@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Update to version 0.4.4
|
2008-02-22 01:21:38 +01:00
|
|
|
* Tue Oct 04 2005 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updated to version 0.4.2.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Tue Sep 06 2005 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updated to version 0.4.0.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Sep 05 2005 gekker@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Update to version 0.3.3 (GNOME 2.12)
|
2008-02-22 01:21:38 +01:00
|
|
|
* Wed Aug 10 2005 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Do not require -devel packages.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Aug 08 2005 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Use minimal build environment to break build loop.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Thu Jul 28 2005 sbrabec@suse.cz
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updated to version 0.3.2.
|
|
|
|
- Fixed dependency on libxml2-python (#98757).
|
2008-02-22 01:21:38 +01:00
|
|
|
* Fri Jul 22 2005 gekker@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Update to version 0.3.1
|
|
|
|
- Remove previous patch
|
2008-02-22 01:21:38 +01:00
|
|
|
* Wed Jul 06 2005 clahey@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Added patches to update to cvs.
|
|
|
|
- Called auto* to get changes from cvs.
|
|
|
|
- Added dep on libxml2-devel.
|
2008-09-05 22:41:40 +02:00
|
|
|
* Fri Jun 17 2005 gekker@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Update to version 0.2.0
|
2008-02-22 01:21:38 +01:00
|
|
|
* Wed Mar 09 2005 gekker@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updating to version 0.1.3 (GNOME 2.10).
|
2009-03-11 16:49:28 +01:00
|
|
|
* Thu Feb 03 2005 clahey@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Updating to version 0.1.2.
|
2008-02-22 01:21:38 +01:00
|
|
|
* Mon Jan 24 2005 ro@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- fix lib64 build
|
2009-03-11 16:49:28 +01:00
|
|
|
* Mon Jan 24 2005 clahey@suse.de
|
2007-01-10 01:54:58 +01:00
|
|
|
- Initial import.
|