]> git.pld-linux.org Git - packages/jhbuild.git/blame - jhbuild.spec
rebuild with python 3.10
[packages/jhbuild.git] / jhbuild.spec
CommitLineData
9df6eee4
JB
1Summary: Tool to ease building collections of source packages
2Summary(pl.UTF-8): Narzędzie ułatwiające budowanie zbioru pakietów źródłowych
3Name: jhbuild
40f784d1 4Version: 3.38.0
ed594b82 5Release: 3
9df6eee4
JB
6License: GPL v2+
7Group: Development/Tools
40f784d1
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/jhbuild/3.38/%{name}-%{version}.tar.xz
9# Source0-md5: 8621b7757fe0d4e04a66183a380d8f10
9df6eee4
JB
10URL: https://wiki.gnome.org/Projects/Jhbuild
11BuildRequires: gettext-tools >= 0.19.6
12BuildRequires: pkgconfig
13BuildRequires: python3 >= 1:3.5
14BuildRequires: rpmbuild(macros) >= 1.507
15BuildRequires: tar >= 1:1.22
16BuildRequires: xz
17BuildRequires: yelp-tools
18Requires: python3 >= 1:3.5
b1ec001a 19BuildArch: noarch
9df6eee4
JB
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23JHBuild is a tool designed to ease building collections of source
24packages, called "modules".
25
26JHBuild was originally written for building GNOME, but has since been
27extended to be usable with other projects.
28
29%description -l pl.UTF-8
30JHBuild to narzędzie zaprojektowane w celu ułatwienia budowania zbioru
31pakietów źródłowych, zwanych "modułami".
32
33Oryginalnie zostało zaprojektowane w celu ułatwienia budowania GNOME,
34ale zostało rozszerzone, aby nadawało się do użycia z innymi
35projektami.
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
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%find_lang %{name} --with-gnome
60
61%clean
62rm -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
This page took 0.059167 seconds and 4 git commands to generate.