meson/meson.spec

71 lines
2.0 KiB
RPMSpec
Raw Normal View History

2019-12-11 20:05:17 +08:00
Name: meson
2022-06-15 16:59:03 +08:00
Version: 0.61.5
2020-06-28 14:20:34 +08:00
Release: 1
2019-12-11 20:05:17 +08:00
Summary: An open source high quality build system
2019-12-16 15:48:58 +08:00
License: ASL 2.0
URL: https://mesonbuild.com/
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
2019-12-11 20:05:17 +08:00
BuildArch: noarch
2019-12-16 15:48:58 +08:00
Obsoletes: %{name}-gui < 0.31.0-3
2019-12-11 20:05:17 +08:00
BuildRequires: python3-devel python3-setuptools
2019-12-16 17:01:56 +08:00
Requires: python3-setuptools ninja-build
2019-12-11 20:05:17 +08:00
%description
Meson is an open source build system meant to be both extremely fast, and, even more importantly,
as user friendly as possible.
The main design point of Meson is that every moment a developer spends writing or debugging build
definitions is a second wasted. So is every second spent waiting for the build system to actually
start compiling code.
%package_help
%prep
2021-06-25 11:04:41 +08:00
%autosetup -p1
2019-12-16 15:48:58 +08:00
rm -rf "test cases/frameworks/17 mpi"
2019-12-11 20:05:17 +08:00
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
%build
%py3_build
%install
%py3_install
install -Dpm0644 data/macros.%{name} %{buildroot}%{_rpmmacrodir}/macros.%{name}
2019-12-11 20:05:17 +08:00
%files
%license COPYING
%{_bindir}/%{name}
%{python3_sitelib}/mesonbuild/
%{python3_sitelib}/%{name}-*.egg-info/
%{_rpmmacrodir}/macros.%{name}
2019-12-11 20:05:17 +08:00
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/actions
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
%files help
%{_mandir}/man1/%{name}.1*
%changelog
2022-06-15 16:59:03 +08:00
*Wed Jun 15 2022 dillon chen <dillon.chen@gmail.com> - 0.61.5-1
- update to 0.61.5
* Fri Sep 3 2021 hanhui <hanhui15@huawei.com> - 0.59.4-1
- Upgrade to 0.59.4
2021-06-25 11:04:41 +08:00
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.56.2-1
- Upgrade to 0.56.2
2020-06-28 14:20:34 +08:00
* Sun Jun 28 2020 huanghaitao <huanghaitao8@huawei.com> - 0.54.3-1
- Upgrade to meet compilation needs
* Sun Jan 12 2020 chengquan <chengquan3@huawei.com> - 0.51.1-3
- remove useless buildrequires of software
* Mon Dec 16 2019 catastrowings <jianghuhao1994@163.com> - 0.51.1-2
2019-12-16 17:01:56 +08:00
- fix build fail
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 0.49.0-2
2019-12-11 20:05:17 +08:00
- openEuler init