2007-01-16 00:16:00 +01:00
|
|
|
#
|
2010-04-01 03:06:45 +02:00
|
|
|
# spec file for package gtk-doc (Version 1.14)
|
2007-01-16 00:16:00 +01:00
|
|
|
#
|
2010-04-01 03:06:45 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-08 21:27:26 +02:00
|
|
|
|
2007-01-16 00:16:00 +01:00
|
|
|
Name: gtk-doc
|
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
|
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: openjade
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: sgml-skel
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2009-12-29 19:02:06 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:16:00 +01:00
|
|
|
Group: Productivity/Publishing/SGML
|
|
|
|
# Old for <= 10.2 & CODE10
|
|
|
|
Provides: gtkdoc = %{version}
|
|
|
|
Obsoletes: gtkdoc
|
|
|
|
Requires: openjade libxml2 docbook-xsl-stylesheets libxslt docbook_4
|
|
|
|
Requires: docbook-dsssl-stylesheets
|
2007-12-18 18:18:05 +01:00
|
|
|
AutoReqProv: on
|
2010-04-01 03:06:45 +02:00
|
|
|
Version: 1.14
|
2007-03-22 12:09:51 +01:00
|
|
|
Release: 1
|
2007-01-16 00:16:00 +01:00
|
|
|
Summary: GTK+ DocBook Documentation Generator
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-02-06 18:34:28 +01:00
|
|
|
%configure --disable-scrollkeeper
|
2007-01-16 00:16:00 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2009-12-29 19:02:06 +01:00
|
|
|
%makeinstall
|
2007-01-16 00:16:00 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
|
|
|
|
mv -v doc/README doc/doc.README
|
|
|
|
|
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/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_datadir}/gtk-doc
|
|
|
|
%{_datadir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/sgml/gtk-doc
|
2009-02-06 18:34:28 +01:00
|
|
|
%doc %{_datadir}/gnome/help/gtk-doc-manual
|
|
|
|
%doc %{_datadir}/omf/gtk-doc-manual
|
|
|
|
# We have to own those directories since we can't depend on anything that will
|
|
|
|
# own them, unfortunately :/
|
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%dir %{_datadir}/gnome/help
|
|
|
|
%dir %{_datadir}/omf
|
2007-01-16 00:16:00 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-03-22 12:09:51 +01:00
|
|
|
%changelog
|