gtk-doc/gtk-doc.spec

104 lines
3.0 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:54:59 +08:00
%global debug_package %{nil}
%global __python %{__python3}
Name: gtk-doc
Version: 1.33.2
2024-11-20 18:46:33 +08:00
Release: 7
2019-12-14 18:54:59 +08:00
Summary: Generate API documentation from comments that can be added to C code
2024-11-20 18:46:33 +08:00
License: GPLv2+
2019-12-14 18:54:59 +08:00
URL: https://www.gtk.org/gtk-doc/
2020-12-01 16:21:13 +08:00
Source0: https://download.gnome.org/sources/gtk-doc/1.33/%{name}-%{version}.tar.xz
Patch0: fix-fixxref-not-found-file.patch
Patch1: fix-mkdb-not-found-file.patch
Patch2: fix-gtkdoc-rebase-NoneType-object-has-no-attribute-group.patch
2024-11-20 18:46:33 +08:00
Patch3: fix-mkhtml-test.patch
2019-12-14 18:54:59 +08:00
2022-02-19 11:11:47 +08:00
BuildRequires: docbook-utils libxslt gettext
2021-07-22 10:39:10 +08:00
BuildRequires: itstool yelp-tools docbook-style-xsl gcc
BuildRequires: meson glib2-devel
2020-06-18 17:29:01 +08:00
BuildRequires: python3-pygments
BuildRequires: python3-parameterized
BuildRequires: python3-anytree
BuildRequires: python3-lxml
Requires: docbook-style-xsl docbook-utils libxslt glib2-devel
2020-06-18 17:29:01 +08:00
Requires: python3-pygments python3-parameterized python3-anytree python3-lxml
2020-12-01 16:21:13 +08:00
2019-12-14 18:54:59 +08:00
%description
GTK-Doc is a project which was started to generate API documentation from comments added to C code.
It is typically used to document the public API of GTK and GNOME libraries, but it can also be used
to document application code.
%prep
%autosetup -n %{name}-%{version} -p1
sed -i 's/@DBLATEX@/\/usr\/bin\/dblatex/g' gtkdoc/config_data.py.in
2019-12-14 18:54:59 +08:00
mv doc/README doc/README.1
%build
export PYTHON=%{__python3}
2020-12-01 16:21:13 +08:00
%meson
%meson_build
2019-12-14 18:54:59 +08:00
%install
2020-12-01 16:21:13 +08:00
%meson_install
2019-12-14 18:54:59 +08:00
%check
2020-12-01 16:21:13 +08:00
%meson_test
2019-12-14 18:54:59 +08:00
%files
%doc README doc/* examples
%license COPYING COPYING-DOCS AUTHORS
%{_bindir}/*
%{_libdir}/cmake/
2019-12-14 18:54:59 +08:00
%{_datadir}/aclocal/
%{_datadir}/%{name}/
%{_datadir}/*/*.pc
%{_datadir}/help/*/%{name}-manual/
%changelog
2024-11-20 18:46:33 +08:00
* Wed Nov 20 2024 Wenhua Huang <huangwenhua@kylinos.cn> - 1.33.2-7
- Fix mkhtml test
2022-02-19 11:11:47 +08:00
* Sat Feb 19 2022 Liu Zixian <liuzixian4@huawei.com> - 1.33.2-6
- Remove useless BuildRequires python3-devel
* Fri Oct 15 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.33.2-5
- Del buildrequire dblatex by replace macro @DBLATEX@ with dblatex path
2022-05-24 10:28:17 +08:00
* Tue Jul 27 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.33.2-4
2021-07-22 10:39:10 +08:00
- Del useless buildrequire gdb
2022-05-24 10:28:17 +08:00
* Mon Jul 26 2021 Ge Wang <wangge20@huawei.com> - 1.33.2-3
- fix gtkdoc-rebase NoneType object has no attribute 'group'
* Sun Jul 25 2021 liyanan <liyanan32@huawei.com> - 1.33.2-2
- fix not found file
* Wed May 19 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.33.2-1
- Upgrade to 1.33.2
- Update Version
- Vsesion 1.33.2 change its "cmake" dir to /lib64
2020-12-01 16:21:13 +08:00
* Tue Dec 1 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.33.0-1
- upgrade to 1.33.0
* Mon Jun 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.32-1
- upgrade to 1.32
2020-03-21 19:23:10 +08:00
* Sat Mar 21 2020 hexiujun <hexiujun1@huawei.com> - 1.29-4
- Type:NA
- ID:NA
- SUG:NA
- DESC:add gdb build require
2020-01-15 14:48:01 +08:00
* Wed Jan 15 2020 gulining<gulining1@huawei.com> - 1.29-3
- solve unresolveable
2020-12-01 16:21:13 +08:00
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-2
2019-12-14 18:54:59 +08:00
- strenthen spec
2020-12-01 16:21:13 +08:00
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-1
2019-12-14 18:54:59 +08:00
- Package init
2020-12-01 16:21:13 +08:00