]> git.pld-linux.org Git - packages/meson.git/commitdiff
- pl auto/th/meson-0.40.1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Jun 2017 05:53:20 +0000 (07:53 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 3 Jun 2017 05:53:20 +0000 (07:53 +0200)
- require python3 instead of /usr/bin/env

meson.spec

index 067571274d39ccfeec5d8dcaf6d4d096db9e2cf0..f7bd5b61b5428e91297e37c1adb7171d30eb91c7 100644 (file)
@@ -1,18 +1,21 @@
 Summary:       High productivity build system
+Summary(pl.UTF-8):     System budowania o dużej produktywności
 Name:          meson
 Version:       0.40.1
-Release:       1
+Release:       2
 License:       Apache v2.0
-Group:         Applications
+Group:         Development/Tools
+#Source0Download: https://github.com/mesonbuild/meson/releases/
 Source0:       https://github.com/mesonbuild/meson/releases/download/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: 8475b19d5f5f3bd5c40f4bb1f31b93f3
 URL:           http://mesonbuild.com/
 BuildRequires: ninja >= 1.5
 BuildRequires: python3 >= 1:3.4
-BuildRequires: python3-modules
+BuildRequires: python3-modules >= 1:3.4
 BuildRequires: python3-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,9 +24,17 @@ It aims to do this by providing simple, out-of-the-box support for
 modern software development tools and practices, such as unit tests,
 coverage reports, Valgrind, CCache and the like.
 
+%description -l pl.UTF-8
+Meson to system budowania zaprojektowany z myślą o optymalizacji
+produktywności programisty. Celem jest dostarczenie prostej, od razu
+działającej obsługi nowoczesnych narzędzi i praktyk programistycznych,
+takich jak testy jednostkowe, raporty pokrycia, Valgrind, CCache itp.
+
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
+       meson.py mesonconf.py mesonintrospect.py mesontest.py wraptool.py
 %build
 %py3_build
 
@@ -47,5 +58,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/mesonintrospect.1*
 %{_mandir}/man1/mesontest.1*
 %{_mandir}/man1/wraptool.1*
-%{py3_sitescriptdir}/meson-*-py3*.egg-info
+%{py3_sitescriptdir}/meson-%{version}-py*.egg-info
 %{py3_sitescriptdir}/mesonbuild
This page took 0.409179 seconds and 4 git commands to generate.