Blame meson.spec

Igor Gnatenko 1db395
%global libname mesonbuild
Igor Gnatenko 1db395
Igor Gnatenko 186529
Name:           meson
Igor Gnatenko 5bbd23
Version:        0.36.0
Igor Gnatenko 511817
Release:        1%{?dist}
Igor Gnatenko 186529
Summary:        High productivity build system
Igor Gnatenko 186529
Igor Gnatenko 186529
License:        ASL 2.0
Igor Gnatenko 433e55
URL:            http://mesonbuild.com/
Igor Gnatenko d0d56c
Source0:        https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
Igor Gnatenko 1a5438
BuildArch:      noarch
Jon Ciesla 87b624
Obsoletes:      %{name}-gui < 0.31.0-3
Igor Gnatenko 186529
Igor Gnatenko 9dd9b8
BuildRequires:  python3-devel
Igor Gnatenko 9dd9b8
BuildRequires:  python3-setuptools
Igor Gnatenko 9dd9b8
BuildRequires:  ninja-build
Igor Gnatenko 8baf4f
# Various languages
Igor Gnatenko 8baf4f
BuildRequires:  gcc
Igor Gnatenko 8baf4f
BuildRequires:  gcc-c++
Igor Gnatenko 8baf4f
BuildRequires:  gcc-gfortran
Igor Gnatenko 8baf4f
BuildRequires:  gcc-objc
Igor Gnatenko 8baf4f
BuildRequires:  gcc-objc++
Igor Gnatenko 8baf4f
BuildRequires:  java-devel
Igor Gnatenko 8baf4f
BuildRequires:  mono-core mono-devel
Igor Gnatenko 8baf4f
BuildRequires:  rust
Igor Gnatenko 8baf4f
BuildRequires:  ldc
Igor Gnatenko 8baf4f
# Various libs support
Igor Gnatenko 06afb1
BuildRequires:  boost-devel
Igor Gnatenko 06afb1
BuildRequires:  gtest-devel
Igor Gnatenko 06afb1
BuildRequires:  gmock-devel
Igor Gnatenko 6c4bc5
BuildRequires:  qt5-qtbase-devel
Igor Gnatenko 06afb1
BuildRequires:  vala
Igor Gnatenko 3a783f
%if 0%{?fedora} && 0%{?fedora} <= 24
Igor Gnatenko 3a783f
BuildRequires:  vala-tools
Igor Gnatenko 3a783f
%endif
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 57d01a
BuildRequires:  git-core
Igor Gnatenko f99e63
BuildRequires:  pkgconfig(protobuf)
Igor Gnatenko 06afb1
BuildRequires:  pkgconfig(glib-2.0)
Igor Gnatenko dca6cb
BuildRequires:  pkgconfig(gobject-introspection-1.0) python3-gobject-base gtk-doc
Igor Gnatenko 5bbd23
BuildRequires:  itstool
Igor Gnatenko 06afb1
BuildRequires:  pkgconfig(zlib)
Igor Gnatenko c9d23b
BuildRequires:  python3-Cython
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 186529
%prep
Igor Gnatenko bc635a
%autosetup -p1
Igor Gnatenko 57d01a
find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} ';'
Igor Gnatenko 186529
Igor Gnatenko 186529
%build
Igor Gnatenko 4907f4
%py3_build
Igor Gnatenko 186529
Igor Gnatenko 186529
%install
Igor Gnatenko 4907f4
%py3_install
Igor Gnatenko 57d01a
install -Dpm0644 data/macros.%{name} %{buildroot}%{rpmmacrodir}/macros.%{name}
Igor Gnatenko 186529
Igor Gnatenko 186529
%check
Igor Gnatenko 57d01a
#export MESON_PRINT_TEST_OUTPUT=1
Igor Gnatenko 57d01a
%{__python3} ./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 52e552
%{_bindir}/%{name}introspect
Igor Gnatenko 4c1397
%{_bindir}/wraptool
Igor Gnatenko 4907f4
%{python3_sitelib}/%{libname}/
Igor Gnatenko 9dd9b8
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/
Igor Gnatenko 06afb1
%{_mandir}/man1/%{name}.1.*
Igor Gnatenko 06afb1
%{_mandir}/man1/%{name}conf.1.*
Igor Gnatenko 52e552
%{_mandir}/man1/%{name}introspect.1.*
Igor Gnatenko 4c1397
%{_mandir}/man1/wraptool.1.*
Igor Gnatenko 57d01a
%{rpmmacrodir}/macros.%{name}
Igor Gnatenko 06afb1
Igor Gnatenko 186529
%changelog
Igor Gnatenko 5bbd23
* Mon Nov 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-1
Igor Gnatenko 5bbd23
- Update to 0.36.0
Igor Gnatenko 5bbd23
Igor Gnatenko 511817
* Tue Oct 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.1-1
Igor Gnatenko 511817
- Update to 0.35.1 (RHBZ #1385986)
Igor Gnatenko 511817
Igor Gnatenko 57d01a
* Tue Oct 11 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-3
Igor Gnatenko 57d01a
- Backport couple of fixes
Igor Gnatenko 57d01a
Igor Gnatenko d0cd5e
* Wed Oct 05 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-2
Igor Gnatenko d0cd5e
- Apply patch to fix FTBFS
Igor Gnatenko d0cd5e
Igor Gnatenko acff2f
* Mon Oct 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-1
Igor Gnatenko acff2f
- Update to 0.35.0
Igor Gnatenko acff2f
Igor Gnatenko 8baf4f
* Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-2
Igor Gnatenko 8baf4f
- Run D test suite
Igor Gnatenko 8baf4f
Igor Gnatenko 9a153c
* Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-1
Igor Gnatenko 9a153c
- Update to 0.34.0
Igor Gnatenko 9a153c
Jon Ciesla 87b624
* Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-2
Jon Ciesla 87b624
- Obsoletes fix.
Jon Ciesla 87b624
Jon Ciesla 539766
* Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-1
Jon Ciesla 539766
- 0.33.0
Jon Ciesla 539766
- GUI dropped upstream.
Jon Ciesla 539766
Fedora Release Engineering e9c659
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-2
Fedora Release Engineering e9c659
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
Fedora Release Engineering e9c659
Igor Gnatenko c62bf2
* Thu Apr 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.31.0-1
Igor Gnatenko c62bf2
- Update to 0.31.0
Igor Gnatenko c62bf2
Igor Gnatenko e192f8
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.30.0-1
Igor Gnatenko e192f8
- Update to 0.30.0
Igor Gnatenko e192f8
2678ab
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-2
2678ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2678ab
Igor Gnatenko 4907f4
* Sun Jan 24 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.29.0-1
Igor Gnatenko 4907f4
- Update to 0.29.0
Igor Gnatenko 4907f4
Jonathan Wakely 1c91e4
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.28.0-2
Jonathan Wakely 1c91e4
- Rebuilt for Boost 1.60
Jonathan Wakely 1c91e4
Igor Gnatenko 2b4d8b
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.28.0-1
Igor Gnatenko 2b4d8b
- 0.28.0
Igor Gnatenko 2b4d8b
Igor Gnatenko 0b0228
* Wed Nov 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.27.0-1
Igor Gnatenko 0b0228
- 0.27.0
Igor Gnatenko 0b0228
Peter Robinson 91c524
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.0-3
Peter Robinson 91c524
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
Peter Robinson 91c524
Igor Gnatenko f3168f
* Fri Oct 30 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-2
Igor Gnatenko f3168f
- Fix rpm macros for using optflags
Igor Gnatenko f3168f
Igor Gnatenko 035747
* Sun Sep 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-1
Igor Gnatenko 035747
- 0.26.0
Igor Gnatenko 035747
Jonathan Wakely 849433
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.25.0-4
Jonathan Wakely 849433
- Rebuilt for Boost 1.59
Jonathan Wakely 849433
d702da
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.0-3
d702da
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
d702da
David Tardon 02cefd
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.25.0-2
David Tardon 02cefd
- rebuild for Boost 1.58
David Tardon 02cefd
Igor Gnatenko cd7a9d
* Sun Jul 12 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.0-1
Igor Gnatenko cd7a9d
- 0.25.0
Igor Gnatenko cd7a9d
Igor Gnatenko d0d56c
* Sat Jul 11 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-3
Igor Gnatenko d0d56c
- Update URLs
Igor Gnatenko 60af3c
- drop unneded hacks in install section
Igor Gnatenko 807ff3
- enable print test output for tests
Igor Gnatenko d0d56c
56fee4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-2
56fee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
56fee4
Igor Gnatenko 6c4bc5
* Mon May 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
Igor Gnatenko 6c4bc5
- Update to 0.24.0
Igor Gnatenko 6c4bc5
Igor Gnatenko e2b9f4
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3.20150328git0ba1d54
Igor Gnatenko e2b9f4
- Update to latest git
Igor Gnatenko e2b9f4
Igor Gnatenko d55639
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-3
Igor Gnatenko d55639
- Add patch to accept .S files
Igor Gnatenko d55639
Igor Gnatenko f5aa38
* Wed Apr 29 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-2
Igor Gnatenko f5aa38
- Add python3 to Requires (Thanks to Ilya Kyznetsov)
Igor Gnatenko f5aa38
Igor Gnatenko cdb259
* Tue Mar 31 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.0-1
Igor Gnatenko cdb259
- 0.23.0
Igor Gnatenko cdb259
Igor Gnatenko 1c2e45
* Sat Mar 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150328git3b49b71
Igor Gnatenko 1c2e45
- Update to latest git
Igor Gnatenko 1c2e45
Igor Gnatenko 52e552
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150325git18550fe
Igor Gnatenko 52e552
- Update to latest git
Igor Gnatenko 52e552
- Include mesonintrospect
Igor Gnatenko 52e552
Igor Gnatenko 27049a
* Mon Mar 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-9.20150322git78d31ca
Igor Gnatenko 27049a
- Fix filelists for mesongui (python-bytecode-without-source)
Igor Gnatenko 27049a
Igor Gnatenko feb70e
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-8.20150322git78d31ca
Igor Gnatenko feb70e
- Enable C# tests
Igor Gnatenko feb70e
Igor Gnatenko 9cd381
* Sun Mar 22 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.22.0-7.20150322git78d31ca
Igor Gnatenko 9cd381
- update to latest git
Igor Gnatenko 9cd381
- fix tests on arm
Igor Gnatenko 9cd381
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