]> git.pld-linux.org Git - SPECS.git/blob - yelp-tools.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / yelp-tools.spec
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:        40.0
5 Release:        3
6 License:        GPL v2+ with exceptions
7 Group:          Libraries
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
21 BuildRequires:  xz
22 BuildRequires:  yelp-xsl >= 40
23 Requires:       itstool
24 Requires:       libxml2-progs >= 1:2.6.12
25 Requires:       libxslt-progs >= 1.1.8
26 Requires:       yelp-xsl >= 40
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
35
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.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %meson build \
49         -Dhelp=true
50
51 %ninja_build -C build
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %ninja_install -C build
57
58 %find_lang %{name} --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
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
This page took 0.167046 seconds and 3 git commands to generate.