|
Igor Gnatenko |
186529 |
%global __python %{__python3}
|
|
Igor Gnatenko |
5d75d9 |
%global commit c6dbf98a055bb0fe1d36fc9f4f757b67ca613f01
|
|
Igor Gnatenko |
5d75d9 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
Name: meson
|
|
Igor Gnatenko |
186529 |
Version: 0.22.0
|
|
Igor Gnatenko |
5d75d9 |
Release: 4.git.%{shortcommit}%{?dist}
|
|
Igor Gnatenko |
186529 |
Summary: High productivity build system
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
License: ASL 2.0
|
|
Igor Gnatenko |
186529 |
URL: https://jpakkane.github.io/meson/
|
|
Igor Gnatenko |
5d75d9 |
#Source0: https://github.com/jpakkane/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
|
Igor Gnatenko |
5d75d9 |
Source0: https://github.com/jpakkane/meson/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
BuildRequires: python3-devel ninja-build
|
|
Igor Gnatenko |
186529 |
# Test deps
|
|
Igor Gnatenko |
186529 |
#BuildRequires: boost-devel protobuf-devel gobject-introspection-devel
|
|
Igor Gnatenko |
186529 |
#BuildRequires: gettext-devel
|
|
Igor Gnatenko |
452dca |
Requires: ninja-build
|
|
Igor Gnatenko |
186529 |
Requires: python3-qt5
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%description
|
|
Igor Gnatenko |
186529 |
Meson is a build system designed to optimize programmer
|
|
Igor Gnatenko |
186529 |
productivity. It aims to do this by providing simple, out-of-the-box
|
|
Igor Gnatenko |
186529 |
support for modern software development tools and practices, such as
|
|
Igor Gnatenko |
186529 |
unit tests, coverage reports, Valgrind, CCache and the like.
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%prep
|
|
Igor Gnatenko |
5d75d9 |
%setup -qn %{name}-%{commit}
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%build
|
|
Igor Gnatenko |
186529 |
# Nothing to build
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%install
|
|
Igor Gnatenko |
186529 |
./install_meson.py --prefix=%{_prefix} --destdir=%{buildroot}
|
|
Igor Gnatenko |
186529 |
sed -i '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{_datadir}/%{name}/dependencies.py
|
|
Igor Gnatenko |
186529 |
sed -i '1{\@^#!/usr/bin/python@d}' %{buildroot}%{_datadir}/%{name}/mparser.py
|
|
Igor Gnatenko |
186529 |
chmod +x %{buildroot}%{_bindir}/meson*
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%check
|
|
Igor Gnatenko |
186529 |
# Disable now, because not all deps in repo
|
|
Igor Gnatenko |
186529 |
#./run_tests.py
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%files
|
|
Igor Gnatenko |
186529 |
%license COPYING
|
|
Igor Gnatenko |
186529 |
%{_bindir}/%{name}*
|
|
Igor Gnatenko |
186529 |
%{_datadir}/%{name}/
|
|
Igor Gnatenko |
186529 |
%{_mandir}/man1/%{name}*.1.*
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%changelog
|
|
Igor Gnatenko |
5d75d9 |
* Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-4.git.c6dbf98
|
|
Igor Gnatenko |
5d75d9 |
- Use development version
|
|
Igor Gnatenko |
5d75d9 |
|
|
Igor Gnatenko |
452dca |
* Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
|
|
Igor Gnatenko |
452dca |
- Add ninja-build to requires
|
|
Igor Gnatenko |
452dca |
|
|
Igor Gnatenko |
186529 |
* Thu Jan 22 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-2
|
|
Igor Gnatenko |
186529 |
- fix shebang in python files
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
* Wed Jan 21 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
|
|
Igor Gnatenko |
186529 |
- Initial package
|