diff --git a/README.md b/README.md index bafb145..46ad249 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,3 @@ GTK-Doc is a tool for generating API reference documentation. It is used for generating the documentation for GTK+, GLib and GNOME. - diff --git a/gtk-doc.spec b/gtk-doc.spec index cd04bd4..854b83d 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -1,5 +1,6 @@ +%define majver %(echo %version | cut -d. -f1-2) Name: gtk-doc -Version: 1.32 +Version: 1.33.0 Release: 1mamba Summary: API documentation generation tool for GTK+ and GNOME Group: Graphical Desktop/Applications/Development @@ -7,10 +8,12 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gtk.org -Source: ftp://ftp.gnome.org/pub/gnome/sources/gtk-doc/%{version}/gtk-doc-%{version}.tar.xz +Source: ftp://ftp.gnome.org/pub/gnome/sources/gtk-doc/%{majver}/gtk-doc-%{version}.tar.xz Patch0: gtk-doc-1.15-fixxref-vim-7.3.patch Patch1: gtk-doc-1.30-fix-perms-style-css.patch License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END BuildRequires: perl BuildRequires: openjade BuildRequires: libxslt @@ -20,15 +23,12 @@ BuildRequires: docbook-dtds >= 1.0.20050222 BuildRequires: docbook-xsl >= 1.68.1 BuildRequires: dblatex %if "%{stage1}" != "1" -BuildRequires: libscrollkeeper-devel BuildRequires: gnome-doc-utils %endif -## AUTOBUILDREQ-BEGIN -BuildRequires: perl-devel -## AUTOBUILDREQ-END +BuildRequires: python-pygments-py3 BuildRequires: perl-devel >= 5.24 Requires: perl >= 5.24 -Requires: python-pygments-py36 +Requires: python-pygments-py3 Provides: perl(gtkdoc-common.pl) Requires: docbook-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -37,24 +37,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root GTK-Doc is a tool for generating API reference documentation. It is used for generating the documentation for GTK+, GLib and GNOME. -%prep -%setup -q -n gtk-doc-%{version} -#%patch0 -p1 -#%patch1 -p1 +#% debug_package -sed -i "s|env python3|env python36|" gtkdoc/*.py +%prep +%setup -q +#sed -i "s|env python3|env python36|" gtkdoc/*.py %build -%configure \ - --enable-public-id \ - --disable-scrollkeeper \ - PYTHON=%{__python36} - -%make pkgconfigdir=%{_libdir}/pkgconfig +%meson + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%makeinstall pkgconfigdir=%{_libdir}/pkgconfig +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -65,22 +61,21 @@ sed -i "s|env python3|env python36|" gtkdoc/*.py %{_datadir}/aclocal/gtk-doc.m4 %dir %{_datadir}/gtk-doc %{_datadir}/gtk-doc/* -#%dir %{_datadir}/sgml/gtk-doc -#%{_datadir}/sgml/gtk-doc/* %if "%{stage1}" != "1" %dir %{_datadir}/help/*/gtk-doc-manual %{_datadir}/help/*/gtk-doc-manual/*.xml %{_datadir}/help/*/gtk-doc-manual/index.docbook -#%dir %{_datadir}/omf/gtk-doc-manual -#%{_datadir}/omf/gtk-doc-manual/gtk-doc-manual-*.omf %endif -%{_libdir}/pkgconfig/gtk-doc.pc +%{_datadir}/pkgconfig/gtk-doc.pc %dir %{_datadir}/cmake/GtkDoc %{_datadir}/cmake/GtkDoc/GtkDoc*.cmake %doc AUTHORS COPYING #ChangeLog NEWS README TODO %changelog +* Thu Oct 22 2020 Silvan Calarco 1.33.0-1mamba +- update to 1.33.0 + * Sat Nov 09 2019 Automatic Build System 1.32-1mamba - automatic version update by autodist