2007-01-16 00:16:00 +01:00
|
|
|
#
|
2011-04-20 13:19:29 +02:00
|
|
|
# spec file for package gtk-doc
|
2007-01-16 00:16:00 +01:00
|
|
|
#
|
2017-07-04 20:36:48 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:16:00 +01:00
|
|
|
#
|
2009-02-06 18:34:28 +01: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-16 00:16:00 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-26 14:30:25 +01:00
|
|
|
|
2007-01-16 00:16:00 +01:00
|
|
|
Name: gtk-doc
|
2017-08-31 09:41:03 +02:00
|
|
|
Version: 1.26
|
2011-12-22 21:34:59 +01:00
|
|
|
Release: 0
|
2011-02-22 00:14:45 +01:00
|
|
|
Summary: GTK+ DocBook Documentation Generator
|
2011-12-22 21:34:59 +01:00
|
|
|
License: GPL-2.0+
|
2011-02-22 00:14:45 +01:00
|
|
|
Group: Productivity/Publishing/SGML
|
2011-12-22 21:34:59 +01:00
|
|
|
Url: http://www.gtk.org/gtk-doc/
|
2017-10-27 15:12:59 +02:00
|
|
|
# When updating this package, please don't forget to update the gtk-doc.m4 Source in glib2.
|
2017-08-31 09:41:03 +02:00
|
|
|
Source: https://download.gnome.org/sources/gtk-doc/1.26/%{name}-%{version}.tar.xz
|
2017-10-27 15:12:59 +02:00
|
|
|
# PATCH-FIX-UPSTREAM gtk-doc-Generate-main-sgml.patch bgo#786174 -- Generate main sgml file by waiting on mkdb
|
|
|
|
Patch0: gtk-doc-Generate-main-sgml.patch
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2017-10-27 15:12:59 +02:00
|
|
|
BuildRequires: libtool
|
2012-02-26 14:30:25 +01:00
|
|
|
BuildRequires: libxml2-tools
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: openjade
|
2017-09-04 14:48:25 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-02-26 14:30:25 +01:00
|
|
|
BuildRequires: python-base
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: sgml-skel
|
2016-06-14 16:57:22 +02:00
|
|
|
BuildRequires: xsltproc
|
2013-06-23 15:45:36 +02:00
|
|
|
BuildRequires: yelp-tools
|
2011-02-22 00:14:45 +01:00
|
|
|
Requires: docbook-xsl-stylesheets
|
|
|
|
Requires: docbook_4
|
2017-09-04 14:48:25 +02:00
|
|
|
Requires: glib2-devel
|
2012-02-26 14:30:25 +01:00
|
|
|
Requires: libxml2-tools
|
2011-02-22 00:14:45 +01:00
|
|
|
Requires: openjade
|
2017-08-31 09:41:03 +02:00
|
|
|
Requires: python-six
|
|
|
|
Requires: python3-six
|
2016-06-14 16:57:22 +02:00
|
|
|
Requires: xsltproc
|
2013-06-23 15:45:36 +02:00
|
|
|
Recommends: %{name}-lang
|
2017-09-04 14:48:25 +02:00
|
|
|
Recommends: source-highlight
|
2007-01-16 00:16:00 +01:00
|
|
|
# Old for <= 10.2 & CODE10
|
|
|
|
Provides: gtkdoc = %{version}
|
|
|
|
Obsoletes: gtkdoc
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gtkdoc is a set of Perl scripts that generate API reference
|
|
|
|
documentation in DocBook format. It can extract documentation from
|
|
|
|
source code comments in a manner similar to Java-doc. It is used to
|
|
|
|
generate the documentation for GLib, Gtk+, and GNOME.
|
|
|
|
|
2013-06-23 15:45:36 +02:00
|
|
|
%lang_package
|
2017-09-04 14:48:25 +02:00
|
|
|
|
2007-01-16 00:16:00 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2017-10-27 15:12:59 +02:00
|
|
|
%patch0 -p1
|
2007-01-16 00:16:00 +01:00
|
|
|
|
|
|
|
%build
|
2017-10-27 15:12:59 +02:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure
|
2011-02-22 00:14:45 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:16:00 +01:00
|
|
|
|
|
|
|
%install
|
2011-02-22 00:14:45 +01:00
|
|
|
%make_install
|
2016-03-22 13:31:16 +01:00
|
|
|
# Do not install the cmake files for now - they need more clarification (1.25)
|
|
|
|
rm -rf %{buildroot}%{_libdir}/cmake
|
2011-02-22 00:14:45 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/gtk-doc/html
|
2007-01-16 00:16:00 +01:00
|
|
|
mv -v doc/README doc/doc.README
|
2013-06-23 15:45:36 +02:00
|
|
|
%find_lang %{name}-manual %{?no_lang_C}
|
2007-01-16 00:16:00 +01:00
|
|
|
|
2009-12-29 19:02:06 +01:00
|
|
|
%files
|
2007-01-16 00:16:00 +01:00
|
|
|
%doc AUTHORS COPYING COPYING-DOCS ChangeLog NEWS README TODO doc/*
|
2011-12-22 21:34:59 +01:00
|
|
|
%{_bindir}/gtkdoc-*
|
|
|
|
%{_bindir}/gtkdocize
|
|
|
|
%dir %{_datadir}/aclocal
|
|
|
|
%{_datadir}/aclocal/gtk-doc.m4
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
%{_datadir}/pkgconfig/gtk-doc.pc
|
2013-06-23 15:45:36 +02:00
|
|
|
%doc %{_datadir}/help/C/gtk-doc-manual/
|
2007-01-16 00:16:00 +01:00
|
|
|
|
2013-06-23 15:45:36 +02:00
|
|
|
%files lang -f %{name}-manual.lang
|
2007-01-16 00:16:00 +01:00
|
|
|
|
2007-03-22 12:09:51 +01:00
|
|
|
%changelog
|