14 Star 0 Fork 2

ocs-upgrade/meson

forked from OpenCloudOS Stream/meson 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
meson.spec 3.27 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-09-23 06:47 . Upgrade to version 1.5.2
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-upgrade/meson.git
git@gitee.com:ocs-upgrade/meson.git
ocs-upgrade
meson
meson
master

搜索帮助