]>
Commit | Line | Data |
---|---|---|
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 | |
3 | Name: yelp-tools | |
4 | Version: 42.0 | |
5 | Release: 1 | |
6 | License: GPL v2+ with exceptions | |
7 | Group: Libraries | |
8 | Source0: https://download.gnome.org/sources/yelp-tools/42/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 74a58cceafb53a721735ee377853d88d | |
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.51.0 | |
16 | BuildRequires: ninja >= 1.5 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: python3 >= 1:3 | |
19 | BuildRequires: python3-lxml | |
20 | BuildRequires: tar >= 1:1.22 | |
21 | BuildRequires: xz | |
22 | BuildRequires: yelp-xsl >= 41 | |
23 | Requires: itstool | |
24 | Requires: libxml2-progs >= 1:2.6.12 | |
25 | Requires: libxslt-progs >= 1.1.8 | |
26 | Requires: python3-lxml | |
27 | Requires: yelp-xsl >= 41 | |
28 | BuildArch: noarch | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | yelp-tools is a collection of scripts and build utilities to help | |
33 | create, manage, and publish documentation for Yelp and the web. Most | |
34 | of the heavy lifting is done by packages like yelp-xsl and itstool. | |
35 | This package just wraps things up in a developer-friendly way. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | yelp-tools to zestaw skryptów i narzędzi do budowania, mających | |
39 | pomagać przy tworzeniu, zarządzaniu i publikowaniu dokumentacji dla | |
40 | Yelpa oraz na WWW. Większość pracy wykonywana jest przez pakiety | |
41 | takie jak yelp-xsl i itstool. Ten pakiet po prostu obudowuje je w | |
42 | sposób przyjazny dla programisty. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | %patch0 -p1 | |
47 | ||
48 | %build | |
49 | %meson build \ | |
50 | -Dhelp=true | |
51 | ||
52 | %ninja_build -C build | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %ninja_install -C build | |
58 | ||
59 | %find_lang %{name} --with-gnome | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files -f %{name}.lang | |
65 | %defattr(644,root,root,755) | |
66 | %doc AUTHORS COPYING MAINTAINERS NEWS README | |
67 | %attr(755,root,root) %{_bindir}/yelp-build | |
68 | %attr(755,root,root) %{_bindir}/yelp-check | |
69 | %attr(755,root,root) %{_bindir}/yelp-new | |
70 | %{_aclocaldir}/yelp.m4 | |
71 | %{_datadir}/yelp-tools |