]> git.pld-linux.org Git - packages/meson.git/blame - meson.spec
- adjust shebang in one more file; release 2
[packages/meson.git] / meson.spec
CommitLineData
d8c9af25 1Summary: High productivity build system
5c8fd48e 2Summary(pl.UTF-8): System budowania o dużej produktywności
d8c9af25 3Name: meson
28e3c811 4Version: 0.52.1
5fb2412b 5Release: 2
d8c9af25 6License: Apache v2.0
5c8fd48e
JB
7Group: Development/Tools
8#Source0Download: https://github.com/mesonbuild/meson/releases/
33639844 9Source0: https://github.com/mesonbuild/meson/releases/download/%{version}/%{name}-%{version}.tar.gz
28e3c811 10# Source0-md5: a5f0c99567d772508f649a28ded7f8ad
7e088899 11Patch0: %{name}-gtkdocdir.patch
d8c9af25
MB
12URL: http://mesonbuild.com/
13BuildRequires: ninja >= 1.5
c014913d
JP
14BuildRequires: python3 >= 1:3.5
15BuildRequires: python3-modules >= 1:3.5
33639844
ER
16BuildRequires: python3-setuptools
17BuildRequires: rpm-pythonprov
18BuildRequires: rpmbuild(macros) >= 1.714
5c8fd48e 19BuildRequires: sed >= 4.0
caf3fd13 20Requires: python3-devel-tools >= 1:3.5
11f6c851 21Requires: python3-libs >= 1:3.5
b081d008 22Requires: python3-modules >= 1:3.5
6d6ce12e 23Requires: python3-setuptools
77a45a6c 24Conflicts: ninja < 1.5
d8c9af25
MB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Meson is a build system designed to optimize programmer productivity.
29It aims to do this by providing simple, out-of-the-box support for
30modern software development tools and practices, such as unit tests,
31coverage reports, Valgrind, CCache and the like.
32
5c8fd48e
JB
33%description -l pl.UTF-8
34Meson to system budowania zaprojektowany z myślą o optymalizacji
35produktywności programisty. Celem jest dostarczenie prostej, od razu
36działającej obsługi nowoczesnych narzędzi i praktyk programistycznych,
37takich jak testy jednostkowe, raporty pokrycia, Valgrind, CCache itp.
38
18653319
JB
39%package polkit
40Summary: PolKit integration - handle projects installation via Meson
41Summary(pl.UTF-8): Integracja z PolKitem - obsługa instalowania projektów przy użyciu Mesona
42Group: Development/Tools
43Requires: %{name} = %{version}-%{release}
44Requires: polkit
45
46%description polkit
47PolKit integration - handle projects installation via Meson.
48
49%description polkit -l pl.UTF-8
50Integracja z PolKitem - obsługa instalowania projektów przy użyciu
51Mesona.
52
d8c9af25
MB
53%prep
54%setup -q
7e088899 55%patch0 -p1
d8c9af25 56
5c8fd48e 57%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
5fb2412b
JB
58 meson.py \
59 mesonbuild/cmake/data/run_ctgt.py
894a70d0 60
d8c9af25
MB
61%build
62%py3_build
63
64%install
65rm -rf $RPM_BUILD_ROOT
18653319 66
d8c9af25
MB
67%py3_install
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
c014913d 74%doc README.md
d8c9af25 75%attr(755,root,root) %{_bindir}/meson
d8c9af25 76%{_mandir}/man1/meson.1*
5c8fd48e 77%{py3_sitescriptdir}/meson-%{version}-py*.egg-info
d8c9af25 78%{py3_sitescriptdir}/mesonbuild
18653319
JB
79
80%files polkit
81%defattr(644,root,root,755)
82%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
This page took 0.09315 seconds and 4 git commands to generate.