|
Igor Gnatenko |
186529 |
%global __python %{__python3}
|
|
Igor Gnatenko |
0d5fc6 |
%global commit a084a8ec3ec12e91c3897dc6b805636be6d36527
|
|
Igor Gnatenko |
5d75d9 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
Igor Gnatenko |
0d5fc6 |
%global date 20150321
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
Name: meson
|
|
Igor Gnatenko |
186529 |
Version: 0.22.0
|
|
Igor Gnatenko |
055573 |
Release: 7.%{date}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 |
1a5438 |
Source0: https://github.com/jpakkane/meson/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
Igor Gnatenko |
0d5fc6 |
# https://github.com/jpakkane/meson/pull/57
|
|
Igor Gnatenko |
0d5fc6 |
Patch0: 0001-install-install-rpm-macros-if-RPM-bin-in-system.-Clo.patch
|
|
Igor Gnatenko |
1a5438 |
BuildArch: noarch
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
BuildRequires: python3-devel ninja-build
|
|
Igor Gnatenko |
186529 |
# Test deps
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: gcc-gfortran gcc-objc gcc-objc++ java-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: boost-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: gtest-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: gmock-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: qt5-qtbase-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: vala
|
|
Igor Gnatenko |
055573 |
BuildRequires: wxGTK3-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: flex bison
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: gettext
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: gnustep-base-devel
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: git
|
|
Igor Gnatenko |
06afb1 |
#BuildRequires: pkgconfig(protobuf)
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: pkgconfig(glib-2.0)
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
Igor Gnatenko |
06afb1 |
BuildRequires: pkgconfig(zlib)
|
|
Igor Gnatenko |
452dca |
Requires: ninja-build
|
|
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 |
06afb1 |
%package gui
|
|
Igor Gnatenko |
06afb1 |
Summary: GUI for high productivity build system
|
|
Igor Gnatenko |
06afb1 |
|
|
Igor Gnatenko |
06afb1 |
Requires: %{name} = %{version}-%{release}
|
|
Igor Gnatenko |
06afb1 |
Requires: python3-qt5
|
|
Igor Gnatenko |
06afb1 |
|
|
Igor Gnatenko |
06afb1 |
%description gui
|
|
Igor Gnatenko |
06afb1 |
GUI for high productivity build system.
|
|
Igor Gnatenko |
06afb1 |
|
|
Igor Gnatenko |
186529 |
%prep
|
|
Igor Gnatenko |
0d5fc6 |
%autosetup -n %{name}-%{commit}
|
|
Igor Gnatenko |
06afb1 |
# protobuf broken
|
|
Igor Gnatenko |
06afb1 |
rm -rf "test cases/frameworks/5 protocol buffers/"
|
|
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 |
06afb1 |
./run_tests.py
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%files
|
|
Igor Gnatenko |
186529 |
%license COPYING
|
|
Igor Gnatenko |
06afb1 |
%{_bindir}/%{name}
|
|
Igor Gnatenko |
06afb1 |
%{_bindir}/%{name}conf
|
|
Igor Gnatenko |
06afb1 |
%dir %{_datadir}/%{name}/
|
|
Igor Gnatenko |
0d5fc6 |
%exclude %{_datadir}/%{name}/*.ui
|
|
Igor Gnatenko |
0d5fc6 |
%exclude %{_datadir}/%{name}/mesongui.py
|
|
Igor Gnatenko |
06afb1 |
%{_datadir}/%{name}/*
|
|
Igor Gnatenko |
06afb1 |
%{_mandir}/man1/%{name}.1.*
|
|
Igor Gnatenko |
06afb1 |
%{_mandir}/man1/%{name}conf.1.*
|
|
Igor Gnatenko |
0d5fc6 |
%{_rpmconfigdir}/macros.d/macros.%{name}
|
|
Igor Gnatenko |
06afb1 |
|
|
Igor Gnatenko |
06afb1 |
%files gui
|
|
Igor Gnatenko |
06afb1 |
%license COPYING
|
|
Igor Gnatenko |
06afb1 |
%{_bindir}/%{name}gui
|
|
Igor Gnatenko |
06afb1 |
%{_datadir}/%{name}/*.ui
|
|
Igor Gnatenko |
06afb1 |
%{_datadir}/%{name}/mesongui.py
|
|
Igor Gnatenko |
06afb1 |
%{_mandir}/man1/%{name}gui.1.*
|
|
Igor Gnatenko |
186529 |
|
|
Igor Gnatenko |
186529 |
%changelog
|
|
Igor Gnatenko |
0d5fc6 |
* Sat Mar 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150321gita084a8e
|
|
Igor Gnatenko |
0d5fc6 |
- update to latest git
|
|
Igor Gnatenko |
0d5fc6 |
|
|
Igor Gnatenko |
fb56d2 |
* Mon Mar 16 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150316gitfa2c659
|
|
Igor Gnatenko |
fb56d2 |
- update to latest git
|
|
Igor Gnatenko |
fb56d2 |
|
|
Igor Gnatenko |
055573 |
* Tue Mar 10 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150310gitf9f51b1
|
|
Igor Gnatenko |
055573 |
- today's git snapshot with support for cool GNOME features
|
|
Igor Gnatenko |
055573 |
- re-enable wxGTK3 tests, package fixed in rawhide
|
|
Igor Gnatenko |
055573 |
|
|
Igor Gnatenko |
055573 |
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-6.git7581895
|
|
Igor Gnatenko |
06afb1 |
- split gui to subpkg
|
|
Igor Gnatenko |
06afb1 |
- update to latest snapshot
|
|
Igor Gnatenko |
06afb1 |
- enable tests
|
|
Igor Gnatenko |
06afb1 |
|
|
Igor Gnatenko |
1a5438 |
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-5.gitc6dbf98
|
|
Igor Gnatenko |
1a5438 |
- Fix packaging style
|
|
Igor Gnatenko |
1a5438 |
- Make package noarch
|
|
Igor Gnatenko |
1a5438 |
|
|
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
|