2015-02-21 00:06:51 +00:00
|
|
|
%global __python %{__python3}
|
|
|
|
|
2015-05-25 14:56:31 +00:00
|
|
|
#%global commit 0ba1d545afe021e09090f434d5242ae942e7d5b4
|
|
|
|
#%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
#%global date 20150521
|
2015-05-21 10:04:13 +00:00
|
|
|
|
2015-02-21 00:06:51 +00:00
|
|
|
Name: meson
|
2015-05-25 14:56:31 +00:00
|
|
|
Version: 0.24.0
|
|
|
|
#Release: 1.%{date}git%{shortcommit}%{?dist}
|
|
|
|
Release: 1%{?dist}
|
2015-02-21 00:06:51 +00:00
|
|
|
Summary: High productivity build system
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://jpakkane.github.io/meson/
|
2015-05-25 14:56:31 +00:00
|
|
|
#Source0: https://github.com/jpakkane/meson/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
|
Source0: https://github.com/jpakkane/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
2015-02-25 22:10:58 +00:00
|
|
|
BuildArch: noarch
|
2015-02-21 00:06:51 +00:00
|
|
|
|
|
|
|
BuildRequires: python3-devel ninja-build
|
|
|
|
# Test deps
|
2015-05-25 14:56:31 +00:00
|
|
|
BuildRequires: gcc gcc-c++ gcc-gfortran gcc-objc gcc-objc++ java-devel mono-core mono-devel
|
2015-02-26 19:47:06 +00:00
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: gtest-devel
|
|
|
|
BuildRequires: gmock-devel
|
2015-05-25 14:56:31 +00:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2015-02-26 19:47:06 +00:00
|
|
|
BuildRequires: vala
|
2015-03-10 09:12:39 +00:00
|
|
|
BuildRequires: wxGTK3-devel
|
2015-02-26 19:47:06 +00:00
|
|
|
BuildRequires: flex bison
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gnustep-base-devel
|
|
|
|
BuildRequires: git
|
2015-05-21 10:08:40 +00:00
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2015-02-26 19:47:06 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
2015-02-21 00:25:35 +00:00
|
|
|
Requires: ninja-build
|
2015-04-28 22:56:06 +00:00
|
|
|
Requires: python3
|
2015-02-21 00:06:51 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Meson is a build system designed to optimize programmer
|
|
|
|
productivity. 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.
|
|
|
|
|
2015-02-26 19:47:06 +00:00
|
|
|
%package gui
|
|
|
|
Summary: GUI for high productivity build system
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: python3-qt5
|
|
|
|
|
|
|
|
%description gui
|
|
|
|
GUI for high productivity build system.
|
|
|
|
|
2015-02-21 00:06:51 +00:00
|
|
|
%prep
|
2015-05-25 15:11:17 +00:00
|
|
|
#%autosetup -n %{name}-%{commit}
|
|
|
|
%autosetup
|
2015-02-21 00:06:51 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# Nothing to build
|
|
|
|
|
|
|
|
%install
|
|
|
|
./install_meson.py --prefix=%{_prefix} --destdir=%{buildroot}
|
|
|
|
sed -i '1{\@^#!/usr/bin/env python@d}' %{buildroot}%{_datadir}/%{name}/dependencies.py
|
|
|
|
sed -i '1{\@^#!/usr/bin/python@d}' %{buildroot}%{_datadir}/%{name}/mparser.py
|
|
|
|
chmod +x %{buildroot}%{_bindir}/meson*
|
|
|
|
|
|
|
|
%check
|
2015-02-26 19:47:06 +00:00
|
|
|
./run_tests.py
|
2015-02-21 00:06:51 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2015-02-26 19:47:06 +00:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}conf
|
2015-03-25 07:27:27 +00:00
|
|
|
%{_bindir}/%{name}introspect
|
2015-02-26 19:47:06 +00:00
|
|
|
%dir %{_datadir}/%{name}/
|
2015-03-21 12:38:15 +00:00
|
|
|
%exclude %{_datadir}/%{name}/*.ui
|
|
|
|
%exclude %{_datadir}/%{name}/mesongui.py
|
2015-03-23 08:41:07 +00:00
|
|
|
%exclude %{_datadir}/%{name}/__pycache__/mesongui.*
|
2015-02-26 19:47:06 +00:00
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
%{_mandir}/man1/%{name}conf.1.*
|
2015-03-25 07:27:27 +00:00
|
|
|
%{_mandir}/man1/%{name}introspect.1.*
|
2015-03-21 12:38:15 +00:00
|
|
|
%{_rpmconfigdir}/macros.d/macros.%{name}
|
2015-02-26 19:47:06 +00:00
|
|
|
|
|
|
|
%files gui
|
|
|
|
%license COPYING
|
|
|
|
%{_bindir}/%{name}gui
|
|
|
|
%{_datadir}/%{name}/*.ui
|
|
|
|
%{_datadir}/%{name}/mesongui.py
|
2015-03-23 08:41:07 +00:00
|
|
|
%{_datadir}/%{name}/__pycache__/mesongui.*
|
2015-02-26 19:47:06 +00:00
|
|
|
%{_mandir}/man1/%{name}gui.1.*
|
2015-02-21 00:06:51 +00:00
|
|
|
|
|
|
|
%changelog
|
2015-05-25 14:56:31 +00:00
|
|
|
* Mon May 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
|
|
|
|
- Update to 0.24.0
|
|
|
|
|
2015-05-21 10:04:13 +00:00
|
|
|
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3.20150328git0ba1d54
|
|
|
|
- Update to latest git
|
|
|
|
|
2015-05-21 09:46:55 +00:00
|
|
|
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3
|
|
|
|
- Add patch to accept .S files
|
|
|
|
|
2015-04-28 22:56:06 +00:00
|
|
|
* Wed Apr 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-2
|
|
|
|
- Add python3 to Requires (Thanks to Ilya Kyznetsov)
|
|
|
|
|
2015-03-31 12:18:45 +00:00
|
|
|
* Tue Mar 31 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-1
|
|
|
|
- 0.23.0
|
|
|
|
|
2015-03-28 11:10:12 +00:00
|
|
|
* Sat Mar 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150328git3b49b71
|
|
|
|
- Update to latest git
|
|
|
|
|
2015-03-25 07:27:27 +00:00
|
|
|
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150325git18550fe
|
|
|
|
- Update to latest git
|
|
|
|
- Include mesonintrospect
|
|
|
|
|
2015-03-23 08:41:07 +00:00
|
|
|
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150322git78d31ca
|
|
|
|
- Fix filelists for mesongui (python-bytecode-without-source)
|
|
|
|
|
2015-03-22 19:15:42 +00:00
|
|
|
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-8.20150322git78d31ca
|
|
|
|
- Enable C# tests
|
|
|
|
|
2015-03-22 13:39:56 +00:00
|
|
|
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150322git78d31ca
|
|
|
|
- update to latest git
|
|
|
|
- fix tests on arm
|
|
|
|
|
2015-03-21 12:38:15 +00:00
|
|
|
* Sat Mar 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150321gita084a8e
|
|
|
|
- update to latest git
|
|
|
|
|
2015-03-16 09:35:42 +00:00
|
|
|
* Mon Mar 16 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150316gitfa2c659
|
|
|
|
- update to latest git
|
|
|
|
|
2015-03-10 09:12:39 +00:00
|
|
|
* Tue Mar 10 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150310gitf9f51b1
|
|
|
|
- today's git snapshot with support for cool GNOME features
|
|
|
|
- re-enable wxGTK3 tests, package fixed in rawhide
|
|
|
|
|
|
|
|
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-6.git7581895
|
2015-02-26 19:47:06 +00:00
|
|
|
- split gui to subpkg
|
|
|
|
- update to latest snapshot
|
|
|
|
- enable tests
|
|
|
|
|
2015-02-25 22:10:58 +00:00
|
|
|
* Thu Feb 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-5.gitc6dbf98
|
|
|
|
- Fix packaging style
|
|
|
|
- Make package noarch
|
|
|
|
|
2015-02-23 21:13:21 +00:00
|
|
|
* Mon Feb 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-4.git.c6dbf98
|
|
|
|
- Use development version
|
|
|
|
|
2015-02-21 00:25:35 +00:00
|
|
|
* Sat Feb 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-3
|
|
|
|
- Add ninja-build to requires
|
|
|
|
|
2015-02-21 00:06:51 +00:00
|
|
|
* Thu Jan 22 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-2
|
|
|
|
- fix shebang in python files
|
|
|
|
|
|
|
|
* Wed Jan 21 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
|
|
|
|
- Initial package
|