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