]>
Commit | Line | Data |
---|---|---|
9df6eee4 JB |
1 | Summary: Tool to ease building collections of source packages |
2 | Summary(pl.UTF-8): Narzędzie ułatwiające budowanie zbioru pakietów źródłowych | |
3 | Name: jhbuild | |
40f784d1 | 4 | Version: 3.38.0 |
ed594b82 | 5 | Release: 3 |
9df6eee4 JB |
6 | License: GPL v2+ |
7 | Group: Development/Tools | |
40f784d1 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/jhbuild/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 8621b7757fe0d4e04a66183a380d8f10 | |
9df6eee4 JB |
10 | URL: https://wiki.gnome.org/Projects/Jhbuild |
11 | BuildRequires: gettext-tools >= 0.19.6 | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: python3 >= 1:3.5 | |
14 | BuildRequires: rpmbuild(macros) >= 1.507 | |
15 | BuildRequires: tar >= 1:1.22 | |
16 | BuildRequires: xz | |
17 | BuildRequires: yelp-tools | |
18 | Requires: python3 >= 1:3.5 | |
b1ec001a | 19 | BuildArch: noarch |
9df6eee4 JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | JHBuild is a tool designed to ease building collections of source | |
24 | packages, called "modules". | |
25 | ||
26 | JHBuild was originally written for building GNOME, but has since been | |
27 | extended to be usable with other projects. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | JHBuild to narzędzie zaprojektowane w celu ułatwienia budowania zbioru | |
31 | pakietów źródłowych, zwanych "modułami". | |
32 | ||
33 | Oryginalnie zostało zaprojektowane w celu ułatwienia budowania GNOME, | |
34 | ale zostało rozszerzone, aby nadawało się do użycia z innymi | |
35 | projektami. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' scripts/hg-update.py | |
41 | %{__sed} -i -e '1s,/usr/bin/env @python@,%{__python3},' scripts/jhbuild.in | |
42 | ||
43 | %build | |
44 | %configure \ | |
b1ec001a JP |
45 | ac_cv_build=%{_build} \ |
46 | ac_cv_host=%{_host} \ | |
47 | am_cv_python_pythondir=%{py3_sitescriptdir} \ | |
9df6eee4 JB |
48 | --enable-doc-installation \ |
49 | --enable-gui \ | |
50 | --with-python=%{__python3} | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
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 NEWS README.rst | |
67 | %attr(755,root,root) %{_bindir}/jhbuild | |
b1ec001a | 68 | %{py3_sitescriptdir}/jhbuild |
9df6eee4 JB |
69 | %dir %{_datadir}/jhbuild |
70 | %{_datadir}/jhbuild/sitecustomize | |
71 | %{_datadir}/jhbuild/triggers | |
72 | %attr(755,root,root) %{_datadir}/jhbuild/hg-update.py | |
73 | %{_datadir}/jhbuild/*.png | |
74 | %{_desktopdir}/jhbuild.desktop |