commit
f3aa65d0bf
Binary file not shown.
BIN
meson-0.51.1.tar.gz
Normal file
BIN
meson-0.51.1.tar.gz
Normal file
Binary file not shown.
38
meson.spec
38
meson.spec
@ -1,15 +1,28 @@
|
||||
%bcond_with check
|
||||
|
||||
Name: meson
|
||||
Version: 0.49.0
|
||||
Release: 2
|
||||
Version: 0.51.1
|
||||
Release: 2
|
||||
Summary: An open source high quality build system
|
||||
License: ASL 2.0
|
||||
URL: http://mesonbuild.com/
|
||||
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
License: ASL 2.0
|
||||
URL: https://mesonbuild.com/
|
||||
Source: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
Obsoletes: %{name}-gui < 0.31.0-3
|
||||
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
Requires: python3-setuptools ninja-build
|
||||
%if %{with check}
|
||||
BuildRequires: ninja-build libasan gcc-c++ gcc-gfortran gcc-objc gcc-objc++
|
||||
BuildRequires: java-devel mono-core mono-devel rust boost-devel gtest-devel
|
||||
BuildRequires: gmock-devel qt5-qtbase-devel vala python3-gobject-base
|
||||
BuildRequires: wxGTK3-devel flex bison gettext gnustep-base-devel
|
||||
BuildRequires: gnustep-make libpcap-devel llvm-devel cups-devel
|
||||
BuildRequires: git-core pkgconfig(protobuf) pkgconfig(glib-2.0) pkgconfig(glib-sharp-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0) gtk-doc itstool pkgconfig(zlib)
|
||||
BuildRequires: python%{python3_pkgversion}-Cython pkgconfig(sdl2) pkgconfig(vulkan)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Meson is an open source build system meant to be both extremely fast, and, even more importantly,
|
||||
@ -22,7 +35,8 @@ start compiling code.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup -p1
|
||||
rm -rf "test cases/frameworks/17 mpi"
|
||||
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
|
||||
|
||||
%build
|
||||
@ -30,14 +44,20 @@ sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
install -Dpm0644 data/macros.%{name} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||
install -Dpm0644 data/macros.%{name} %{buildroot}%{rpmmacrodir}/macros.%{name}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
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}
|
||||
%{rpmmacrodir}/macros.%{name}
|
||||
%dir %{_datadir}/polkit-1
|
||||
%dir %{_datadir}/polkit-1/actions
|
||||
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||
@ -46,5 +66,5 @@ install -Dpm0644 data/macros.%{name} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 0.49.0-2
|
||||
* Wed Dec 11 2019 catastrowings <jianghuhao1994@163.com> - 0.51.1-2
|
||||
- openEuler init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user