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
|
|
|
#
|
2015-02-04 09:49:36 +01:00
|
|
|
# Copyright (c) 2015 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
|
2015-05-31 05:25:00 +02:00
|
|
|
Version: 1.24
|
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/
|
2015-05-31 05:25:00 +02:00
|
|
|
Source: http://download.gnome.org/sources/gtk-doc/1.24/%{name}-%{version}.tar.xz
|
2008-04-08 21:27:26 +02:00
|
|
|
# When updating this package, please don't forget to update the gtk-doc.m4 Source
|
|
|
|
# in glib2.
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: docbook-xsl-stylesheets
|
2012-02-26 14:30:25 +01:00
|
|
|
BuildRequires: libxml2-tools
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: openjade
|
|
|
|
BuildRequires: pkg-config
|
2012-02-26 14:30:25 +01:00
|
|
|
BuildRequires: python-base
|
2009-02-06 18:34:28 +01:00
|
|
|
BuildRequires: sgml-skel
|
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
|
2012-02-26 14:30:25 +01:00
|
|
|
Requires: libxml2-tools
|
2011-02-22 00:14:45 +01:00
|
|
|
Requires: libxslt
|
|
|
|
Requires: openjade
|
|
|
|
Recommends: source-highlight
|
2013-06-23 15:45:36 +02:00
|
|
|
Recommends: %{name}-lang
|
2007-01-16 00:16:00 +01:00
|
|
|
# Old for <= 10.2 & CODE10
|
|
|
|
Provides: gtkdoc = %{version}
|
|
|
|
Obsoletes: gtkdoc
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-12-18 18:18:05 +01:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:16:00 +01:00
|
|
|
|
|
|
|
%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
|
2007-01-16 00:16:00 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-02-06 18:34:28 +01:00
|
|
|
%configure --disable-scrollkeeper
|
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
|
|
|
|
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
|
|
|
%defattr(-,root,root)
|
|
|
|
%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
|
|
|
|
%{_datadir}/sgml/gtk-doc/
|
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
|