1db395c
%global libname mesonbuild
1db395c
7241b44
%bcond_with check
7241b44
1865295
Name:           meson
76edac0
Version:        0.49.2
76edac0
Release:        1%{?dist}
1865295
Summary:        High productivity build system
1865295
1865295
License:        ASL 2.0
433e556
URL:            http://mesonbuild.com/
d0d56c3
Source0:        https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
ba4abe8
1a5438e
BuildArch:      noarch
87b6248
Obsoletes:      %{name}-gui < 0.31.0-3
1865295
fe8d31c
BuildRequires:  python3-devel
fe8d31c
BuildRequires:  python3-setuptools
be465e4
Requires:       python3-setuptools
7241b44
%if %{with check}
361beb2
BuildRequires:  ninja-build
8baf4fa
# Various languages
8baf4fa
BuildRequires:  gcc
ff72423
BuildRequires:  libasan
8baf4fa
BuildRequires:  gcc-c++
8baf4fa
BuildRequires:  gcc-gfortran
8baf4fa
BuildRequires:  gcc-objc
8baf4fa
BuildRequires:  gcc-objc++
8baf4fa
BuildRequires:  java-devel
8baf4fa
BuildRequires:  mono-core mono-devel
8baf4fa
BuildRequires:  rust
ef60814
# Since the build is noarch, we can't use %%ifarch
9c01094
#%%ifarch %%{ldc_arches}
9c01094
#BuildRequires:  ldc
9c01094
#%%endif
8baf4fa
# Various libs support
06afb14
BuildRequires:  boost-devel
06afb14
BuildRequires:  gtest-devel
06afb14
BuildRequires:  gmock-devel
6c4bc52
BuildRequires:  qt5-qtbase-devel
06afb14
BuildRequires:  vala
795680b
BuildRequires:  python3-gobject-base
0555734
BuildRequires:  wxGTK3-devel
97d823a
BuildRequires:  flex
97d823a
BuildRequires:  bison
06afb14
BuildRequires:  gettext
06afb14
BuildRequires:  gnustep-base-devel
97d823a
BuildRequires:  %{_bindir}/gnustep-config
57d01a8
BuildRequires:  git-core
f99e631
BuildRequires:  pkgconfig(protobuf)
06afb14
BuildRequires:  pkgconfig(glib-2.0)
7241b44
BuildRequires:  pkgconfig(glib-sharp-2.0)
41d08ee
BuildRequires:  pkgconfig(gobject-introspection-1.0)
41d08ee
BuildRequires:  gtk-doc
5bbd239
BuildRequires:  itstool
06afb14
BuildRequires:  pkgconfig(zlib)
41d08ee
BuildRequires:  python%{python3_pkgversion}-Cython
f3e6a1b
BuildRequires:  pkgconfig(sdl2)
d6d9b34
BuildRequires:  %{_bindir}/pcap-config
4f9cbf9
BuildRequires:  pkgconfig(vulkan)
f3e6a1b
BuildRequires:  llvm-devel
7241b44
BuildRequires:  cups-devel
7241b44
%endif
452dca8
Requires:       ninja-build
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
1865295
%prep
bc635a1
%autosetup -p1
ff72423
# Remove MPI tests for now because it is complicated to run
ff72423
rm -rf "test cases/frameworks/17 mpi"
795680b
# Macro should not change when we are redefining bindir
795680b
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
1865295
1865295
%build
4907f43
%py3_build
1865295
1865295
%install
4907f43
%py3_install
57d01a8
install -Dpm0644 data/macros.%{name} %{buildroot}%{rpmmacrodir}/macros.%{name}
1865295
7241b44
%if %{with check}
1865295
%check
c46ffa2
export MESON_PRINT_TEST_OUTPUT=1
fe8d31c
%{__python3} ./run_tests.py
7241b44
%endif
1865295
1865295
%files
1865295
%license COPYING
06afb14
%{_bindir}/%{name}
4907f43
%{python3_sitelib}/%{libname}/
b87296a
%{python3_sitelib}/%{name}-*.egg-info/
Igor Gnatenko f863cb5
%{_mandir}/man1/%{name}.1*
57d01a8
%{rpmmacrodir}/macros.%{name}
9bb702f
%dir %{_datadir}/polkit-1
9bb702f
%dir %{_datadir}/polkit-1/actions
9bb702f
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
06afb14
1865295
%changelog
76edac0
* Mon Feb 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.2-1
76edac0
- Update to 0.49.2
76edac0
ec9bc5e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.49.1-2
ec9bc5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ec9bc5e
2d66b72
* Wed Jan 23 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.1-1
2d66b72
- Update to 0.49.1
2d66b72
fa5e470
* Sun Dec 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.0-1
fa5e470
- Update to 0.49.0
fa5e470
b470f0b
* Sat Nov 17 2018 Kalev Lember <klember@redhat.com> - 0.48.2-1
b470f0b
- Update to 0.48.2
b470f0b
27823e8
* Sun Oct 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.48.1-1
27823e8
- Update to 0.48.1
27823e8
be465e4
* Wed Sep 26 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.48.0-2
be465e4
- Add missing dependency on setuptools
be465e4
0485cd1
* Tue Sep 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.48.0-1
0485cd1
- Update to 0.48.0
0485cd1
b6ac8de
* Sat Aug 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.2-1
b6ac8de
- Update to 0.47.2
b6ac8de
d715e30
* Wed Jul 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.1-5
d715e30
- Backport more patches for "feature" option type
d715e30
66003de
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.1-4
66003de
- Don't sneak auto-features patch yet
66003de
795680b
* Tue Jul 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.1-3
795680b
- Macros improvements
795680b
8dca359
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.47.1-2
8dca359
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8dca359
747297e
* Tue Jul 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.1-1
747297e
- Update to 0.47.1
747297e
8b36bdf
* Mon Jul 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.47.0-1
8b36bdf
- Update to 0.47.0
8b36bdf
1e0bf7f
* Thu Jun 28 2018 Miro Hrončok <mhroncok@redhat.com> - 0.46.1-3
1e0bf7f
- Fix error on Python 3.7 (#1596230)
1e0bf7f
8ae5737
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.46.1-2
8ae5737
- Rebuilt for Python 3.7
8ae5737
0109583
* Thu May 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.46.1-1
0109583
- Update to 0.46.1
0109583
ef60814
* Fri May 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.46.0-2
ef60814
- Backport upstream fixes
ef60814
a1b5916
* Tue Apr 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.46.0-1
a1b5916
- Update to 0.46.0
a1b5916
82b2ab9
* Wed Mar 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.45.1-1
82b2ab9
- Update to 0.45.1
82b2ab9
851bcb7
* Sun Mar 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.45.0-1
851bcb7
- Update to 0.45.0
851bcb7
6de26db
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.44.1-1
6de26db
- Update to 0.44.1
6de26db
2ccd847
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.44.0-2
2ccd847
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2ccd847
585d2f2
* Sun Dec 10 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.44.0-1
585d2f2
- Update to 0.44.0
585d2f2
d25043e
* Mon Oct 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.43.0-1
d25043e
- Update to 0.43.0
d25043e
a3f511b
* Tue Sep 12 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.1-1
a3f511b
- Update to 0.42.1
a3f511b
2b1e202
* Fri Aug 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.42.0-1
2b1e202
- Update to 0.42.0
2b1e202
9e5c380
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.41.2-2
9e5c380
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9e5c380
654108a
* Wed Jul 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.2-1
654108a
- Update to 0.41.2
654108a
05cd86c
* Tue Jul 18 2017 Kalev Lember <klember@redhat.com> - 0.41.1-3
05cd86c
- Backport various gtk-doc fixes from upstream
05cd86c
ba4abe8
* Thu Jul 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.41.1-2
ba4abe8
- Strip trailing slash from pkg-config files
ba4abe8
22589f2
* Mon Jun 19 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.1-1
22589f2
- Update to 0.41.1
22589f2
b61c21e
* Tue Jun 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.41.0-1
b61c21e
- Update to 0.41.0
b61c21e
9c01094
* Wed May 31 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-2
9c01094
- Don't run ldc tests
9c01094
def5053
* Fri Apr 28 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.1-1
def5053
- Update to 0.40.1
def5053
c89077f
* Sun Apr 23 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.40.0-1
c89077f
- Update to 0.40.0
c89077f
0a44661
* Thu Apr 13 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-2
0a44661
- Exclude ldc for module builds
0a44661
7b75d1d
* Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.39.1-1
7b75d1d
- Update to 0.39.1
7b75d1d
1201c8d
* Mon Mar 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.39.0-1
1201c8d
- Update to 0.39.0
1201c8d
Igor Gnatenko 0141830
* Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.1-1
Igor Gnatenko 0141830
- Update to 0.38.1
Igor Gnatenko 0141830
Igor Gnatenko f863cb5
* Sun Jan 29 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.38.0-1
Igor Gnatenko f863cb5
- Update to 0.38.0
Igor Gnatenko f863cb5
fb284f8
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.1-2
fb284f8
- Rebuild for Python 3.6
fb284f8
150b8f0
* Tue Dec 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.1-1
150b8f0
- Update to 0.37.1
150b8f0
376dd4d
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.37.0-2
376dd4d
- Rebuild for Python 3.6
376dd4d
1d9beee
* Sun Dec 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.37.0-1
1d9beee
- Update to 0.37.0
1d9beee
d6502d0
* Thu Dec 15 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-4
d6502d0
- Backport more RPM macro fixes (FPC ticket #655)
d6502d0
b44b0b0
* Tue Dec 13 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-3
b44b0b0
- Backport fixes to RPM macros
b44b0b0
c46ffa2
* Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-2
c46ffa2
- Print test output during build
c46ffa2
5bbd239
* Mon Nov 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.36.0-1
5bbd239
- Update to 0.36.0
5bbd239
5118174
* Tue Oct 18 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.1-1
5118174
- Update to 0.35.1 (RHBZ #1385986)
5118174
57d01a8
* Tue Oct 11 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-3
57d01a8
- Backport couple of fixes
57d01a8
d0cd5e3
* Wed Oct 05 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-2
d0cd5e3
- Apply patch to fix FTBFS
d0cd5e3
acff2f2
* Mon Oct 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.35.0-1
acff2f2
- Update to 0.35.0
acff2f2
8baf4fa
* Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-2
8baf4fa
- Run D test suite
8baf4fa
9a153cd
* Wed Sep 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.34.0-1
9a153cd
- Update to 0.34.0
9a153cd
87b6248
* Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-2
87b6248
- Obsoletes fix.
87b6248
539766f
* Tue Aug 09 2016 Jon Ciesla <limburgher@gmail.com> - 0.33.0-1
539766f
- 0.33.0
539766f
- GUI dropped upstream.
539766f
e9c659b
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-2
e9c659b
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e9c659b
Igor Gnatenko c62bf26
* Thu Apr 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.31.0-1
Igor Gnatenko c62bf26
- Update to 0.31.0
Igor Gnatenko c62bf26
e192f86
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.30.0-1
e192f86
- Update to 0.30.0
e192f86
2678ab5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-2
2678ab5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2678ab5
4907f43
* Sun Jan 24 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.29.0-1
4907f43
- Update to 0.29.0
4907f43
1c91e48
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.28.0-2
1c91e48
- Rebuilt for Boost 1.60
1c91e48
2b4d8be
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.28.0-1
2b4d8be
- 0.28.0
2b4d8be
0b02285
* Wed Nov 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.27.0-1
0b02285
- 0.27.0
0b02285
91c5248
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26.0-3
91c5248
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
91c5248
f3168f7
* Fri Oct 30 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-2
f3168f7
- Fix rpm macros for using optflags
f3168f7
035747e
* Sun Sep 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.26.0-1
035747e
- 0.26.0
035747e
849433c
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.25.0-4
849433c
- Rebuilt for Boost 1.59
849433c
d702da2
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25.0-3
d702da2
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
d702da2
02cefd6
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.25.0-2
02cefd6
- rebuild for Boost 1.58
02cefd6
cd7a9d7
* Sun Jul 12 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.25.0-1
cd7a9d7
- 0.25.0
cd7a9d7
d0d56c3
* Sat Jul 11 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-3
d0d56c3
- Update URLs
60af3cd
- drop unneded hacks in install section
807ff35
- enable print test output for tests
d0d56c3
56fee47
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.0-2
56fee47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
56fee47
6c4bc52
* Mon May 25 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
6c4bc52
- Update to 0.24.0
6c4bc52
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