+++ /dev/null
---- gtk-doc-1.25/gtkdoc-scangobj.in.orig 2015-06-17 10:23:31.000000000 +0200
-+++ gtk-doc-1.25/gtkdoc-scangobj.in 2017-05-25 19:00:21.900251236 +0200
-@@ -1269,7 +1269,7 @@
- #endif
-
- #ifdef GTK_IS_WIDGET_CLASS
--#if GTK_CHECK_VERSION(2,1,0)
-+#if GTK_CHECK_VERSION(2,1,0) && !GTK_CHECK_VERSION(3,89,2)
- if (!style_prop && GTK_IS_WIDGET_CLASS (class)) {
- properties = gtk_widget_class_list_style_properties (GTK_WIDGET_CLASS (class), &n_properties);
- style_prop = TRUE;
---- gtk-doc-1.22/configure.ac.noarch 2015-05-08 18:46:08.040460393 +0200
-+++ gtk-doc-1.22/configure.ac 2015-05-08 18:46:35.954031830 +0200
-@@ -24,10 +24,6 @@ AM_SILENT_RULES([yes])
+--- gtk-doc-1.26/configure.ac.orig 2017-08-11 10:01:46.000000000 +0200
++++ gtk-doc-1.26/configure.ac 2017-11-13 16:03:52.413461438 +0100
+@@ -24,10 +24,6 @@
# Check for programs
AC_PROG_CC
dnl Make sure we have pkg-config >= 0.19, so installing in $(datadir) is OK.
PKG_PROG_PKG_CONFIG([0.19])
-@@ -260,22 +256,6 @@ gtk-doc.cat
- gtkdoc-common.pl
+@@ -227,25 +223,6 @@
+ gtkdoc/config.py
help/Makefile
help/manual/Makefile
-tests/Makefile
-tests/empty/Makefile
-tests/empty/src/Makefile
-tests/empty/docs/Makefile
+-tests/program/Makefile
+-tests/program/src/Makefile
+-tests/program/docs/Makefile
])
dnl run chmod on these after parsing them.
%bcond_with tests # build regression tests programs
%bcond_without gnome # build without gtk-doc-manual in GNOME help format
#
-%include /usr/lib/rpm/macros.perl
-#
Summary: API documentation generation tool for GTK+ and GNOME
Summary(es.UTF-8): El generador de documentación del GTK
Summary(pl.UTF-8): Narzędzie do generowania dokumentacji API do GTK+ i GNOME
Summary(pt_BR.UTF-8): O gerador de documentação do GTK
Name: gtk-doc
-Version: 1.25
-Release: 2
+Version: 1.26
+Release: 1
License: GPL v2+
Group: Development/Tools
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 0dc6570953112a464a409fb99258ccbc
+# Source0-md5: 1ad4a1dbf804889fdc85f8eec45e8696
Patch0: %{name}-noarch.patch
-Patch1: %{name}-gtk4.patch
URL: http://www.gtk.org/gtk-doc/
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
BuildRequires: docbook-dtd43-xml
BuildRequires: docbook-style-xsl >= 1.74.0
%{?with_tests:BuildRequires: glib2-devel >= 1:2.6.0}
-%{?with_tests:BuildRequires: libtool}
+%{?with_tests:BuildRequires: libtool >= 2:2.2}
+BuildRequires: libxml2 >= 1:2.3.6
BuildRequires: libxslt-progs >= 1.1.15
-BuildRequires: perl-base >= 1:5.18.0
BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: python >= 1:2.3
-BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: python >= 1:2.7
+BuildRequires: python-six
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.446
%{?with_gnome:BuildRequires: yelp-tools}
Requires: %{name}-automake = %{version}-%{release}
Requires: docbook-dtd43-xml
-Requires: docbook-style-dsssl >= 1.77
Requires: docbook-style-xsl >= 1.74.0
-Requires: docbook-utils >= 0.6.10
+Requires: libxml2 >= 1:2.3.6
Requires: libxslt-progs >= 1.1.15
-Requires: openjade
-Requires: perl-base >= 1:5.18.0
+Requires: python-six
Requires: source-highlight
Conflicts: pkgconfig < 1:0.19
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Makra automake'a do gtk-doc
Group: Development/Tools
Requires: automake
+Requires: pkgconfig
+Conflicts: glib2-devel < 1:2.10.0
Conflicts: gtk-doc < 0:1.4-3
%if "%{_rpmversion}" >= "5"
BuildArch: noarch
%prep
%setup -q
%{!?with_tests:%patch0 -p1}
-%patch1 -p1
%{__mv} doc/README doc/README.docs
%build
%{_libdir}/cmake/GtkDoc/GtkDocScanGObjWrapper.cmake
%{_datadir}/gtk-doc
%{_npkgconfigdir}/gtk-doc.pc
-%{_datadir}/sgml/%{name}
%{_examplesdir}/%{name}-%{version}
%files automake