update to 1.33.0 [release 1.33.0-1mamba;Thu Oct 22 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:34:09 +01:00
parent c4f4c873b2
commit 5a469ad498
2 changed files with 19 additions and 25 deletions

View File

@ -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.

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.33.0-1mamba
- update to 1.33.0
* Sat Nov 09 2019 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
- automatic version update by autodist