代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/meson 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with check
Summary: High productivity build system
Name: meson
Version: 1.5.2
Release: 1%{?dist}
License: ASL 2.0
URL: https://mesonbuild.com/
Source0: https://github.com/mesonbuild/meson/archive/refs/tags/%{version}.tar.gz
BuildArch: noarch
%if %{with check}
BuildRequires: ninja-build
BuildRequires: /usr/bin/python
BuildRequires: gcc
BuildRequires: libasan
BuildRequires: gcc-c++
BuildRequires: gcc-gfortran
BuildRequires: gcc-objc
BuildRequires: gcc-objc++
BuildRequires: java-devel
BuildRequires: libomp-devel
BuildRequires: mono-core mono-devel
BuildRequires: rust
BuildRequires: boost-devel
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-linguist
BuildRequires: vala
BuildRequires: python3-gobject-base
BuildRequires: wxGTK3-devel
BuildRequires: flex
BuildRequires: bison
BuildRequires: gettext
BuildRequires: gnustep-base-devel
BuildRequires: %{_bindir}/gnustep-config
BuildRequires: git-core
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glib-sharp-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: gtk-doc
BuildRequires: itstool
BuildRequires: pkgconfig(zlib)
BuildRequires: zlib-static
BuildRequires: python3dist(cython)
BuildRequires: pkgconfig(sdl2)
BuildRequires: %{_bindir}/pcap-config
BuildRequires: pkgconfig(vulkan)
BuildRequires: llvm-devel
BuildRequires: cups-devel
%endif
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python%{python3_version}dist(setuptools)
Requires: ninja-build
%description
Meson is a project to create the best possible next-generation build system.
%prep
%autosetup
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
%build
%py3_build
%install
%py3_install
install -Dpm0644 -t %{buildroot}%{rpmmacrodir} data/macros.%{name}
%if %{with check}
%check
rm -rf "test cases/frameworks/1 boost"
rm -rf "test cases/frameworks/17 mpi"
export MESON_PRINT_TEST_OUTPUT=1
%{__python3} ./run_tests.py
%endif
%files
%license COPYING
%{_bindir}/%{name}
%{python3_sitelib}/mesonbuild/
%{python3_sitelib}/%{name}-*.egg-info/
%{rpmmacrodir}/macros.%{name}
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/actions
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
%{_mandir}/man1/%{name}.1*
%changelog
* Mon Sep 23 2024 Upgrade Robot <upbot@opencloudos.tech> - 1.5.2-1
- Upgrade to version 1.5.2
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.2.0-4
- Rebuilt for loongarch release
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.2.0-3
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.2.0-2
- Rebuilt for OpenCloudOS Stream 23.09
* Tue Jul 25 2023 kianli <kianli@tencent.com> - 1.2.0-1
- Upgrade to 1.2.0
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.64.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.64.0-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Nov 22 2022 cunshunxia <cunshunxia@tencent.com> - 0.64.0-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。