2007-01-10 01:54:58 +01:00
|
|
|
#
|
2011-04-20 13:09:24 +02:00
|
|
|
# spec file for package gnome-doc-utils
|
2007-01-10 01:54:58 +01:00
|
|
|
#
|
2018-03-05 14:51:23 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX 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/
|
|
|
|
#
|
|
|
|
|
2012-02-26 14:30:34 +01:00
|
|
|
|
2007-01-10 01:54:58 +01:00
|
|
|
Name: gnome-doc-utils
|
2012-03-28 08:11:27 +02:00
|
|
|
Version: 0.20.10
|
2011-12-22 21:34:24 +01:00
|
|
|
Release: 0
|
2009-09-05 00:45:20 +02:00
|
|
|
Summary: A Collection of Documentation Utilities for GNOME
|
2018-03-05 14:51:23 +01:00
|
|
|
License: GPL-2.0-or-later
|
2009-09-05 00:45:20 +02:00
|
|
|
Group: System/GUI/GNOME
|
2018-03-05 14:51:23 +01:00
|
|
|
URL: http://www.gnome.org
|
2012-03-11 18:46:48 +01:00
|
|
|
Source: http://download.gnome.org/sources/gnome-doc-utils/0.20/%{name}-%{version}.tar.xz
|
2012-09-07 17:37:06 +02:00
|
|
|
# PATCH-FIX-UPSTREAM gnome-doc-utils-fig-path.patch bgo#682776 dimstar@opensuse.org -- Fix linking of figs in subfolders.
|
|
|
|
Patch0: gnome-doc-utils-fig-path.patch
|
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
|
2009-07-31 19:28:12 +02:00
|
|
|
BuildRequires: libxml2-python
|
2012-02-26 14:30:34 +01:00
|
|
|
# needed for xmllint
|
|
|
|
BuildRequires: libxml2-tools
|
2008-10-11 17:12:29 +02:00
|
|
|
BuildRequires: libxslt-devel
|
2018-03-05 14:51:23 +01:00
|
|
|
BuildRequires: pkgconfig
|
2009-09-05 00:45:20 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-03-11 16:49:28 +01:00
|
|
|
Requires: libxslt
|
2011-02-13 21:41:37 +01:00
|
|
|
Recommends: %{name}-lang
|
2010-01-15 02:29:35 +01:00
|
|
|
BuildArch: noarch
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The gnome-doc-utils package is a collection of documentation utilities
|
2010-01-15 02:29:35 +01:00
|
|
|
for the GNOME project. 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
|
2010-01-15 02:29:35 +01:00
|
|
|
Yelp.
|
|
|
|
|
|
|
|
%package -n xml2po
|
|
|
|
Summary: Tool to extract translatable content from XML documents
|
2018-03-05 14:51:23 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-01-15 02:29:35 +01:00
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: libxml2-python
|
|
|
|
|
|
|
|
%description -n xml2po
|
|
|
|
xml2po is a simple Python program which extracts translatable
|
|
|
|
content from free-form XML documents and outputs gettext compatible
|
|
|
|
POT files.
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: A Collection of Documentation Utilities for GNOME
|
2018-03-05 14:51:23 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2007-01-10 01:54:58 +01:00
|
|
|
Group: System/GUI/GNOME
|
2009-03-11 16:49:28 +01:00
|
|
|
Requires: %{name} = %{version}
|
2011-05-27 17:05:40 +02:00
|
|
|
# For the validation with xsltproc to use a local DTD
|
|
|
|
Requires: docbook_4
|
2010-01-15 02:29:35 +01:00
|
|
|
Requires: xml2po-devel
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The gnome-doc-utils package is a collection of documentation utilities
|
2010-01-15 02:29:35 +01:00
|
|
|
for the GNOME project. 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
|
2010-01-15 02:29:35 +01:00
|
|
|
Yelp.
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2010-01-15 02:29:35 +01:00
|
|
|
%package -n xml2po-devel
|
|
|
|
Summary: Tool to extract translatable content from XML documents
|
2018-03-05 14:51:23 +01:00
|
|
|
License: GPL-2.0-or-later
|
2010-01-15 02:29:35 +01:00
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: xml2po = %{version}
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2010-01-15 02:29:35 +01:00
|
|
|
%description -n xml2po-devel
|
|
|
|
xml2po is a simple Python program which extracts translatable
|
|
|
|
content from free-form XML documents and outputs gettext compatible
|
|
|
|
POT files.
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%lang_package
|
2018-03-05 14:51:23 +01:00
|
|
|
|
2007-01-10 01:54:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-09-07 17:37:06 +02:00
|
|
|
%patch0 -p1
|
2009-03-26 17:26:36 +01:00
|
|
|
translation-update-upstream
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure\
|
|
|
|
--disable-scrollkeeper
|
2018-03-05 14:51:23 +01:00
|
|
|
make %{?_smp_mflags} pkgconfigdir=%{_datadir}/pkgconfig
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%install
|
2018-03-05 14:51:23 +01:00
|
|
|
%make_install pkgconfigdir=%{_datadir}/pkgconfig
|
2010-01-15 02:29:35 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
2018-03-05 14:51:23 +01:00
|
|
|
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
2010-01-15 02:29:35 +01:00
|
|
|
%endif
|
2011-02-13 21:41:37 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%find_lang gnome-doc-make %{?no_lang_C} %{name}.lang
|
|
|
|
%find_lang gnome-doc-xslt %{?no_lang_C} %{name}.lang
|
2009-09-05 00:45:20 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%files
|
2018-03-05 14:51:23 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2011-02-13 21:41:37 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/gnome-doc-make/
|
|
|
|
%doc %{_datadir}/gnome/help/gnome-doc-make/C/
|
|
|
|
%dir %{_datadir}/gnome/help/gnome-doc-xslt/
|
|
|
|
%doc %{_datadir}/gnome/help/gnome-doc-xslt/C/
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_bindir}/gnome-doc-tool
|
|
|
|
%dir %{_datadir}/gnome-doc-utils
|
|
|
|
%{_datadir}/gnome-doc-utils/icons
|
|
|
|
%{_datadir}/gnome-doc-utils/watermarks
|
|
|
|
%{_datadir}/xml/gnome
|
2012-03-21 12:02:54 +01:00
|
|
|
%{_datadir}/xml/mallard
|
2010-01-15 02:29:35 +01:00
|
|
|
|
|
|
|
%files -n xml2po
|
2018-03-05 14:51:23 +01:00
|
|
|
%license xml2po/COPYING
|
|
|
|
%doc xml2po/AUTHORS xml2po/ChangeLog xml2po/NEWS xml2po/README
|
2010-01-15 02:29:35 +01:00
|
|
|
%{_bindir}/xml2po
|
|
|
|
%{python_sitelib}/xml2po
|
2018-03-05 14:51:23 +01:00
|
|
|
%{_mandir}/man?/xml2po*%{ext_man}
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%files devel
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_bindir}/gnome-doc-prepare
|
2011-12-22 21:34:24 +01:00
|
|
|
%dir %{_datadir}/aclocal
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_datadir}/aclocal/gnome-doc-utils.m4
|
2010-01-15 02:29:35 +01:00
|
|
|
%{_datadir}/pkgconfig/gnome-doc-utils.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*.*
|
|
|
|
|
2010-01-15 02:29:35 +01:00
|
|
|
%files -n xml2po-devel
|
|
|
|
%{_datadir}/pkgconfig/xml2po.pc
|
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%files lang -f %{name}.lang
|
2007-01-10 01:54:58 +01:00
|
|
|
|
2007-02-20 00:26:56 +01:00
|
|
|
%changelog
|