7800682
%global libname mesonbuild
7800682
7800682
Name:           meson
bc05a08
Version:        0.52.0
532d085
Release:        1%{?dist}
7800682
Summary:        High productivity build system
7800682
7800682
License:        ASL 2.0
8d257b4
URL:            https://mesonbuild.com/
8535552
Source:         https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
7800682
7800682
BuildArch:      noarch
7800682
7800682
BuildRequires:  python3-devel
7800682
BuildRequires:  python3-setuptools
532d085
Requires:       python%{python3_version}dist(setuptools)
7800682
Requires:       ninja-build
7800682
7800682
%description
7800682
Meson is a build system designed to optimize programmer
7800682
productivity. It aims to do this by providing simple, out-of-the-box
7800682
support for modern software development tools and practices, such as
7800682
unit tests, coverage reports, Valgrind, CCache and the like.
7800682
7800682
%prep
7800682
%autosetup -p1
7800682
# Macro should not change when we are redefining bindir
7800682
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
7800682
7800682
%build
7800682
%py3_build
7800682
7800682
%install
7800682
%py3_install
8535552
install -Dpm0644 -t %{buildroot}%{_rpmmacrodir} data/macros.%{name}
7800682
7800682
%files
7800682
%license COPYING
7800682
%{_bindir}/%{name}
7800682
%{python3_sitelib}/%{libname}/
7800682
%{python3_sitelib}/%{name}-*.egg-info/
7800682
%{_mandir}/man1/%{name}.1*
7800682
%{_rpmmacrodir}/macros.%{name}
7800682
%dir %{_datadir}/polkit-1
7800682
%dir %{_datadir}/polkit-1/actions
7800682
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
7800682
7800682
%changelog
bc05a08
* Wed Oct 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.52.0-1
bc05a08
- Update to 0.52.0
bc05a08
d0898fe
* Mon Aug 26 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.51.2-1
d0898fe
- Update to 0.51.2
d0898fe
8d257b4
* Wed Jul 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.51.1-1
8d257b4
- Update to 0.51.1
8d257b4
532d085
* Wed Apr 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.1-1
532d085
- Update to 0.50.1
532d085
8535552
* Mon Apr 08 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.0-2
8535552
- Fix -Db_ndebug=if-release with -Dbuildtype=plain
8535552
922d736
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.50.0-1
922d736
- Update to 0.50.0
922d736
128e874
* Mon Feb 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.2-1
128e874
- Update to 0.49.2
128e874
f1ef0d6
* Wed Jan 23 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.1-1
f1ef0d6
- Update to 0.49.1
f1ef0d6
2cf736b
* Sun Dec 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.49.0-1
2cf736b
- Update to 0.49.0
2cf736b
7800682
* Sat Dec 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.48.2-1
7800682
- Initial package