1865295
%global __python %{__python3}
1865295
e2b9f4a
%global commit 0ba1d54
e2b9f4a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
e2b9f4a
%global date 20150521
e2b9f4a
1865295
Name:           meson
cdb2593
Version:        0.23.0
e2b9f4a
Release:        3.%{date}git%{shortcommit}%{?dist}
1865295
Summary:        High productivity build system
1865295
1865295
License:        ASL 2.0
1865295
URL:            https://jpakkane.github.io/meson/
e2b9f4a
#Source0:        https://github.com/jpakkane/meson/archive/%{version}/%{name}-%{version}.tar.gz
e2b9f4a
Source0:        https://github.com/jpakkane/meson/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
1a5438e
BuildArch:      noarch
1865295
1865295
BuildRequires:  python3-devel ninja-build
1865295
# Test deps
62bf505
BuildRequires:  gcc-gfortran gcc-objc gcc-objc++ java-devel mono-core mono-devel
06afb14
BuildRequires:  boost-devel
06afb14
BuildRequires:  gtest-devel
06afb14
BuildRequires:  gmock-devel
06afb14
BuildRequires:  qt5-qtbase-devel
06afb14
BuildRequires:  vala
0555734
BuildRequires:  wxGTK3-devel
06afb14
BuildRequires:  flex bison
06afb14
BuildRequires:  gettext
06afb14
BuildRequires:  gnustep-base-devel
06afb14
BuildRequires:  git
f99e631
BuildRequires:  pkgconfig(protobuf)
06afb14
BuildRequires:  pkgconfig(glib-2.0)
06afb14
BuildRequires:  pkgconfig(gobject-introspection-1.0)
06afb14
BuildRequires:  pkgconfig(zlib)
452dca8
Requires:       ninja-build
f5aa383
Requires:       python3
1865295
1865295
%description
1865295
Meson is a build system designed to optimize programmer
1865295
productivity. It aims to do this by providing simple, out-of-the-box
1865295
support for modern software development tools and practices, such as
1865295
unit tests, coverage reports, Valgrind, CCache and the like.
1865295
06afb14
%package gui
06afb14
Summary:        GUI for high productivity build system
06afb14
06afb14
Requires:       %{name} = %{version}-%{release}
06afb14
Requires:       python3-qt5
06afb14
06afb14
%description gui
06afb14
GUI for high productivity build system.
06afb14
1865295
%prep
dd8dbe2
%autosetup -n %{name}-%{commit}
1865295
1865295
%build
1865295
# Nothing to build
1865295
1865295
%install
1865295
./install_meson.py --prefix=%{_prefix} --destdir=%{buildroot}
1865295
sed -i '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{_datadir}/%{name}/dependencies.py
1865295
sed -i '1{\@^#!/usr/bin/python@d}' %{buildroot}%{_datadir}/%{name}/mparser.py
1865295
chmod +x %{buildroot}%{_bindir}/meson*
1865295
1865295
%check
06afb14
./run_tests.py
1865295
1865295
%files
1865295
%license COPYING
06afb14
%{_bindir}/%{name}
06afb14
%{_bindir}/%{name}conf
52e552e
%{_bindir}/%{name}introspect
06afb14
%dir %{_datadir}/%{name}/
0d5fc66
%exclude %{_datadir}/%{name}/*.ui
0d5fc66
%exclude %{_datadir}/%{name}/mesongui.py
27049a4
%exclude %{_datadir}/%{name}/__pycache__/mesongui.*
06afb14
%{_datadir}/%{name}/*
06afb14
%{_mandir}/man1/%{name}.1.*
06afb14
%{_mandir}/man1/%{name}conf.1.*
52e552e
%{_mandir}/man1/%{name}introspect.1.*
0d5fc66
%{_rpmconfigdir}/macros.d/macros.%{name}
06afb14
06afb14
%files gui
06afb14
%license COPYING
06afb14
%{_bindir}/%{name}gui
06afb14
%{_datadir}/%{name}/*.ui
06afb14
%{_datadir}/%{name}/mesongui.py
27049a4
%{_datadir}/%{name}/__pycache__/mesongui.*
06afb14
%{_mandir}/man1/%{name}gui.1.*
1865295
1865295
%changelog
e2b9f4a
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3.20150328git0ba1d54
e2b9f4a
- Update to latest git
e2b9f4a
d556394
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3
d556394
- Add patch to accept .S files
d556394
f5aa383
* Wed Apr 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-2
f5aa383
- Add python3 to Requires (Thanks to Ilya Kyznetsov)
f5aa383
cdb2593
* Tue Mar 31 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-1
cdb2593
- 0.23.0
cdb2593
1c2e457
* Sat Mar 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150328git3b49b71
1c2e457
- Update to latest git
1c2e457
52e552e
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150325git18550fe
52e552e
- Update to latest git
52e552e
- Include mesonintrospect
52e552e
27049a4
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150322git78d31ca
27049a4
- Fix filelists for mesongui (python-bytecode-without-source)
27049a4
feb70e7
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-8.20150322git78d31ca
feb70e7
- Enable C# tests
feb70e7
9cd3811
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150322git78d31ca
9cd3811
- update to latest git
9cd3811
- fix tests on arm
9cd3811
0d5fc66
* Sat Mar 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150321gita084a8e
0d5fc66
- update to latest git
0d5fc66
fb56d20
* Mon Mar 16 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150316gitfa2c659
fb56d20
- update to latest git
fb56d20
0555734
* Tue Mar 10 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150310gitf9f51b1
0555734
- today's git snapshot with support for cool GNOME features
0555734
- re-enable wxGTK3 tests, package fixed in rawhide
0555734
0555734
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-6.git7581895
06afb14
- split gui to subpkg
06afb14
- update to latest snapshot
06afb14
- enable tests
06afb14
1a5438e
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-5.gitc6dbf98
1a5438e
- Fix packaging style
1a5438e
- Make package noarch
1a5438e
5d75d99
* Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-4.git.c6dbf98
5d75d99
- Use development version
5d75d99
452dca8
* Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
452dca8
- Add ninja-build to requires
452dca8
1865295
* Thu Jan 22 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-2
1865295
- fix shebang in python files
1865295
1865295
* Wed Jan 21 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
1865295
- Initial package