1 Summary: Tools to create, manage, and publish documentation for Yelp
2 Summary(pl.UTF-8): Narzędzia do tworzenia, zarządzania i publikowania dokumentacji dla Yelpa
6 License: GPL v2+ with exceptions
8 Source0: https://download.gnome.org/sources/yelp-tools/40/%{name}-%{version}.tar.xz
9 # Source0-md5: fb55d5c79a11be9dea1fdd4d49409a06
10 Patch0: %{name}-sh.patch
11 URL: https://wiki.gnome.org/Apps/Yelp
12 BuildRequires: itstool
13 BuildRequires: libxml2-progs >= 1:2.6.12
14 BuildRequires: libxslt-progs >= 1.1.8
15 BuildRequires: meson >= 0.50.0
16 BuildRequires: ninja >= 1.5
17 BuildRequires: pkgconfig
18 BuildRequires: python3 >= 1:3
19 BuildRequires: python3-lxml
20 BuildRequires: tar >= 1:1.22
22 BuildRequires: yelp-xsl >= 40
24 Requires: libxml2-progs >= 1:2.6.12
25 Requires: libxslt-progs >= 1.1.8
26 Requires: yelp-xsl >= 40
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 yelp-tools is a collection of scripts and build utilities to help
32 create, manage, and publish documentation for Yelp and the web. Most
33 of the heavy lifting is done by packages like yelp-xsl and itstool.
34 This package just wraps things up in a developer-friendly way.
36 %description -l pl.UTF-8
37 yelp-tools to zestaw skryptów i narzędzi do budowania, mających
38 pomagać przy tworzeniu, zarządzaniu i publikowaniu dokumentacji dla
39 Yelpa oraz na WWW. Większość pracy wykonywana jest przez pakiety
40 takie jak yelp-xsl i itstool. Ten pakiet po prostu obudowuje je w
41 sposób przyjazny dla programisty.
54 rm -rf $RPM_BUILD_ROOT
56 %ninja_install -C build
58 %find_lang %{name} --with-gnome
61 rm -rf $RPM_BUILD_ROOT
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS COPYING MAINTAINERS NEWS README
66 %attr(755,root,root) %{_bindir}/yelp-build
67 %attr(755,root,root) %{_bindir}/yelp-check
68 %attr(755,root,root) %{_bindir}/yelp-new
69 %{_aclocaldir}/yelp.m4
70 %{_datadir}/yelp-tools