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