gtk-doc/gtk-doc.spec

70 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:54:59 +08:00
%global debug_package %{nil}
%global __python %{__python3}
2020-06-09 16:33:38 +08:00
%bcond_with check
2019-12-14 18:54:59 +08:00
Name: gtk-doc
Version: 1.32
Release: 1
2019-12-14 18:54:59 +08:00
Summary: Generate API documentation from comments that can be added to C code
License: GPLv2+ and GFDL
URL: https://www.gtk.org/gtk-doc/
Source0: https://download.gnome.org/sources/gtk-doc/1.32/%{name}-%{version}.tar.xz
2019-12-14 18:54:59 +08:00
2020-01-15 14:48:01 +08:00
BuildRequires: python3-six python3-devel docbook-utils libxslt gettext source-highlight
2020-03-21 19:23:10 +08:00
BuildRequires: itstool yelp-tools docbook-style-xsl gcc gdb
2019-12-14 18:54:59 +08:00
Requires: python3-six source-highlight docbook-style-xsl libxslt docbook-utils
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
mv doc/README doc/README.1
%build
export PYTHON=%{__python3}
%configure
%make_build
%install
%make_install
%check
2020-06-09 16:33:38 +08:00
%if %{with check}
make check
%endif
2019-12-14 18:54:59 +08:00
%files
%doc README doc/* examples
%license COPYING COPYING-DOCS AUTHORS
%{_bindir}/*
%{_datadir}/aclocal/
%{_datadir}/%{name}/
%{_datadir}/*/*.pc
%{_datadir}/help/*/%{name}-manual/
%{_datadir}/cmake/
2019-12-14 18:54:59 +08:00
%changelog
* 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
2019-12-14 18:54:59 +08:00
* Tue Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-2
- strenthen spec
* Mon Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.29-1
- Package init