]> git.pld-linux.org Git - packages/jhbuild.git/blob - jhbuild.spec
33ecf25490c9220659e3542f6be5cb5ebd6d70c1
[packages/jhbuild.git] / jhbuild.spec
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
4 Version:        3.38.0
5 Release:        2
6 License:        GPL v2+
7 Group:          Development/Tools
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/jhbuild/3.38/%{name}-%{version}.tar.xz
9 # Source0-md5:  8621b7757fe0d4e04a66183a380d8f10
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
19 BuildArch:      noarch
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 \
45         ac_cv_build=%{_build} \
46         ac_cv_host=%{_host} \
47         am_cv_python_pythondir=%{py3_sitescriptdir} \
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
68 %{py3_sitescriptdir}/jhbuild
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
This page took 0.062112 seconds and 2 git commands to generate.