2007-01-10 01:54:58 +01:00
|
|
|
#
|
2010-02-11 01:33:44 +01:00
|
|
|
# spec file for package gnome-doc-utils (Version 0.19.4)
|
2007-01-10 01:54:58 +01:00
|
|
|
#
|
2010-02-01 18:55:31 +01:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-22 01:21:38 +01:00
|
|
|
|
2007-01-10 01:54:58 +01:00
|
|
|
Name: gnome-doc-utils
|
2010-02-11 01:33:44 +01:00
|
|
|
Version: 0.19.4
|
2009-09-05 00:45:20 +02:00
|
|
|
Release: 1
|
2010-01-15 02:29:35 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2009-09-05 00:45:20 +02:00
|
|
|
Summary: A Collection of Documentation Utilities for GNOME
|
|
|
|
Url: http://www.gnome.org
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/0.8/%{name}-%{version}.tar.bz2
|
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
|
2008-10-11 17:12:29 +02:00
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python
|
2009-09-05 00:45:20 +02:00
|
|
|
BuildRequires: translation-update-upstream
|
|
|
|
Requires: %{name}-lang = %{version}
|
2009-03-11 16:49:28 +01:00
|
|
|
Requires: libxslt
|
2009-09-05 00:45:20 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-01-15 02:29:35 +01:00
|
|
|
BuildArch: noarch
|
2009-08-17 14:19:28 +02:00
|
|
|
%if %suse_version <= 1110
|
|
|
|
%define python_sitelib %{py_sitedir}
|
|
|
|
%endif
|
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
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: Tool to extract translatable content from XML documents
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: libxml2-python
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%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
|
2010-01-15 02:29:35 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
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
|
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
|
|
|
|
License: GPLv2+
|
|
|
|
Summary: Tool to extract translatable content from XML documents
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: libxml2-devel
|
|
|
|
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
|
2007-01-10 01:54:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-03-26 17:26:36 +01:00
|
|
|
translation-update-upstream
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure\
|
|
|
|
--disable-scrollkeeper
|
2009-12-03 02:49:09 +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
|
2010-01-15 02:29:35 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2007-01-10 01:54:58 +01:00
|
|
|
%find_lang %{name}
|
2009-07-31 19:28:12 +02:00
|
|
|
%find_lang gnome-doc-mallard-spec %{name}.lang
|
2007-01-10 01:54:58 +01:00
|
|
|
%find_lang gnome-doc-make %{name}.lang
|
2009-07-31 19:28:12 +02:00
|
|
|
%find_lang gnome-doc-xslt %{name}.lang
|
2009-09-05 00:45:20 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%clean
|
2009-09-05 00:45:20 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 01:54:58 +01:00
|
|
|
|
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
|
|
|
%{_bindir}/gnome-doc-tool
|
|
|
|
%dir %{_datadir}/gnome-doc-utils
|
|
|
|
%{_datadir}/gnome-doc-utils/icons
|
|
|
|
%{_datadir}/gnome-doc-utils/watermarks
|
|
|
|
%{_datadir}/xml/gnome
|
2009-07-31 19:28:12 +02:00
|
|
|
%{_datadir}/xml/mallard
|
2010-01-15 02:29:35 +01:00
|
|
|
|
|
|
|
%files -n xml2po
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc xml2po/AUTHORS xml2po/ChangeLog xml2po/COPYING xml2po/NEWS xml2po/README
|
|
|
|
%{_bindir}/xml2po
|
|
|
|
%{python_sitelib}/xml2po
|
|
|
|
%{_mandir}/man?/xml2po.*
|
2007-01-10 01:54:58 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2009-03-11 16:49:28 +01:00
|
|
|
%{_bindir}/gnome-doc-prepare
|
|
|
|
%{_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
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_datadir}/pkgconfig/xml2po.pc
|
|
|
|
|
2009-03-11 16:49:28 +01:00
|
|
|
%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
|