]>
Commit | Line | Data |
---|---|---|
d8c9af25 | 1 | Summary: High productivity build system |
5c8fd48e | 2 | Summary(pl.UTF-8): System budowania o dużej produktywności |
d8c9af25 | 3 | Name: meson |
901737e8 | 4 | Version: 0.46.1 |
cba0c754 | 5 | Release: 5 |
d8c9af25 | 6 | License: Apache v2.0 |
5c8fd48e JB |
7 | Group: Development/Tools |
8 | #Source0Download: https://github.com/mesonbuild/meson/releases/ | |
33639844 | 9 | Source0: https://github.com/mesonbuild/meson/releases/download/%{version}/%{name}-%{version}.tar.gz |
901737e8 | 10 | # Source0-md5: 1698f6526574839de5dcdc45e3f7d582 |
7e088899 | 11 | Patch0: %{name}-gtkdocdir.patch |
d8c9af25 MB |
12 | URL: http://mesonbuild.com/ |
13 | BuildRequires: ninja >= 1.5 | |
c014913d JP |
14 | BuildRequires: python3 >= 1:3.5 |
15 | BuildRequires: python3-modules >= 1:3.5 | |
33639844 ER |
16 | BuildRequires: python3-setuptools |
17 | BuildRequires: rpm-pythonprov | |
18 | BuildRequires: rpmbuild(macros) >= 1.714 | |
5c8fd48e | 19 | BuildRequires: sed >= 4.0 |
caf3fd13 | 20 | Requires: python3-devel-tools >= 1:3.5 |
11f6c851 | 21 | Requires: python3-libs >= 1:3.5 |
b081d008 | 22 | Requires: python3-modules >= 1:3.5 |
d8c9af25 MB |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Meson is a build system designed to optimize programmer productivity. | |
27 | It aims to do this by providing simple, out-of-the-box support for | |
28 | modern software development tools and practices, such as unit tests, | |
29 | coverage reports, Valgrind, CCache and the like. | |
30 | ||
5c8fd48e JB |
31 | %description -l pl.UTF-8 |
32 | Meson to system budowania zaprojektowany z myślą o optymalizacji | |
33 | produktywności programisty. Celem jest dostarczenie prostej, od razu | |
34 | działającej obsługi nowoczesnych narzędzi i praktyk programistycznych, | |
35 | takich jak testy jednostkowe, raporty pokrycia, Valgrind, CCache itp. | |
36 | ||
d8c9af25 MB |
37 | %prep |
38 | %setup -q | |
7e088899 | 39 | %patch0 -p1 |
d8c9af25 | 40 | |
5c8fd48e JB |
41 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \ |
42 | meson.py mesonconf.py mesonintrospect.py mesontest.py wraptool.py | |
d8c9af25 MB |
43 | %build |
44 | %py3_build | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
d8c9af25 MB |
48 | %py3_install |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
c014913d | 55 | %doc README.md |
d8c9af25 MB |
56 | %attr(755,root,root) %{_bindir}/meson |
57 | %attr(755,root,root) %{_bindir}/mesonconf | |
58 | %attr(755,root,root) %{_bindir}/mesonintrospect | |
59 | %attr(755,root,root) %{_bindir}/mesontest | |
60 | %attr(755,root,root) %{_bindir}/wraptool | |
61 | %{_mandir}/man1/meson.1* | |
62 | %{_mandir}/man1/mesonconf.1* | |
63 | %{_mandir}/man1/mesonintrospect.1* | |
64 | %{_mandir}/man1/mesontest.1* | |
65 | %{_mandir}/man1/wraptool.1* | |
5c8fd48e | 66 | %{py3_sitescriptdir}/meson-%{version}-py*.egg-info |
d8c9af25 | 67 | %{py3_sitescriptdir}/mesonbuild |