]>
Commit | Line | Data |
---|---|---|
ab664642 JB |
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 | |
141911d4 | 3 | Name: yelp-tools |
4572fae2 | 4 | Version: 42.0 |
89849850 | 5 | Release: 1 |
74a0edc7 | 6 | License: GPL v2+ with exceptions |
141911d4 | 7 | Group: Libraries |
4572fae2 JB |
8 | Source0: https://download.gnome.org/sources/yelp-tools/42/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 74a58cceafb53a721735ee377853d88d | |
94b9e8cc | 10 | Patch0: %{name}-sh.patch |
fbd052ce | 11 | URL: https://wiki.gnome.org/Apps/Yelp |
141911d4 | 12 | BuildRequires: itstool |
ab664642 | 13 | BuildRequires: libxml2-progs >= 1:2.6.12 |
e5649f57 | 14 | BuildRequires: libxslt-progs >= 1.1.8 |
89849850 | 15 | BuildRequires: meson >= 0.51.0 |
e0b6950d | 16 | BuildRequires: ninja >= 1.5 |
e5649f57 | 17 | BuildRequires: pkgconfig |
e0b6950d JB |
18 | BuildRequires: python3 >= 1:3 |
19 | BuildRequires: python3-lxml | |
141911d4 MB |
20 | BuildRequires: tar >= 1:1.22 |
21 | BuildRequires: xz | |
89849850 | 22 | BuildRequires: yelp-xsl >= 41 |
ab664642 JB |
23 | Requires: itstool |
24 | Requires: libxml2-progs >= 1:2.6.12 | |
e5649f57 | 25 | Requires: libxslt-progs >= 1.1.8 |
89849850 JB |
26 | Requires: python3-lxml |
27 | Requires: yelp-xsl >= 41 | |
0c1da308 | 28 | BuildArch: noarch |
141911d4 MB |
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 | ||
ab664642 JB |
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 | ||
141911d4 MB |
44 | %prep |
45 | %setup -q | |
94b9e8cc | 46 | %patch0 -p1 |
141911d4 MB |
47 | |
48 | %build | |
e0b6950d JB |
49 | %meson build \ |
50 | -Dhelp=true | |
51 | ||
52 | %ninja_build -C build | |
141911d4 MB |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
e0b6950d JB |
57 | %ninja_install -C build |
58 | ||
59 | %find_lang %{name} --with-gnome | |
141911d4 MB |
60 | |
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
e0b6950d | 64 | %files -f %{name}.lang |
141911d4 | 65 | %defattr(644,root,root,755) |
e0b6950d | 66 | %doc AUTHORS COPYING MAINTAINERS NEWS README |
141911d4 MB |
67 | %attr(755,root,root) %{_bindir}/yelp-build |
68 | %attr(755,root,root) %{_bindir}/yelp-check | |
69 | %attr(755,root,root) %{_bindir}/yelp-new | |
87ea7cfc | 70 | %{_aclocaldir}/yelp.m4 |
141911d4 | 71 | %{_datadir}/yelp-tools |