mirror of
https://abf.rosa.ru/djam/meson.git
synced 2025-02-23 09:22:51 +00:00
Updated to 0.48.1
This commit is contained in:
parent
8b82b96397
commit
243691876b
1 changed files with 12 additions and 12 deletions
24
meson.spec
24
meson.spec
|
@ -1,3 +1,5 @@
|
||||||
|
%bcond_with check
|
||||||
|
|
||||||
Summary: High productivity build system
|
Summary: High productivity build system
|
||||||
Name: meson
|
Name: meson
|
||||||
Version: 0.48.1
|
Version: 0.48.1
|
||||||
|
@ -37,10 +39,15 @@ BuildRequires: vala-tools
|
||||||
BuildRequires: asan-devel
|
BuildRequires: asan-devel
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
|
BuildRequires: gmock-devel
|
||||||
BuildRequires: gtest-devel
|
BuildRequires: gtest-devel
|
||||||
|
BuildRequires: itstool
|
||||||
BuildRequires: libwmf-devel
|
BuildRequires: libwmf-devel
|
||||||
BuildRequires: llvm-devel
|
BuildRequires: llvm-devel
|
||||||
|
BuildRequires: openmpi
|
||||||
|
BuildRequires: openmpi-devel
|
||||||
BuildRequires: pcap-devel
|
BuildRequires: pcap-devel
|
||||||
|
BuildRequires: texlive-epstopdf
|
||||||
BuildRequires: wxgtku3.0-devel
|
BuildRequires: wxgtku3.0-devel
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
@ -57,6 +64,7 @@ BuildRequires: python3-gobject3
|
||||||
BuildRequires: python3-cython
|
BuildRequires: python3-cython
|
||||||
|
|
||||||
Requires: ninja
|
Requires: ninja
|
||||||
|
Requires: python3-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -66,20 +74,13 @@ modern software development tools and practices, such as unit tests,
|
||||||
coverage reports, Valgrind, CCache and the like.
|
coverage reports, Valgrind, CCache and the like.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc contributing.txt README.md COPYING
|
%doc README.md COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}conf
|
|
||||||
%{_bindir}/%{name}introspect
|
|
||||||
%{_bindir}/%{name}test
|
|
||||||
%{_bindir}/wraptool
|
|
||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
%{_mandir}/man1/%{name}conf.1.*
|
|
||||||
%{_mandir}/man1/%{name}introspect.1.*
|
|
||||||
%{_mandir}/man1/%{name}test.1.*
|
|
||||||
%{_mandir}/man1/wraptool.1.*
|
|
||||||
%{py3_puresitedir}/mesonbuild/
|
%{py3_puresitedir}/mesonbuild/
|
||||||
%{py3_puresitedir}/%{name}-%{version}-py*.egg-info/
|
%{py3_puresitedir}/%{name}-%{version}-py*.egg-info/
|
||||||
%{_sys_macros_dir}/%{name}.macros
|
%{_sys_macros_dir}/%{name}.macros
|
||||||
|
%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -95,6 +96,7 @@ coverage reports, Valgrind, CCache and the like.
|
||||||
# install meson rpm macro helper
|
# install meson rpm macro helper
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sys_macros_dir}/%{name}.macros
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sys_macros_dir}/%{name}.macros
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
# Lack of gmock and vulkan.
|
# Lack of gmock and vulkan.
|
||||||
rm -rf "test cases/frameworks/3 gmock/"
|
rm -rf "test cases/frameworks/3 gmock/"
|
||||||
|
@ -105,10 +107,8 @@ rm -rf "test cases/frameworks/17 mpi"
|
||||||
rm -rf "test cases/frameworks/15 llvm"
|
rm -rf "test cases/frameworks/15 llvm"
|
||||||
# Cannot find libboost_thread.so which exists
|
# Cannot find libboost_thread.so which exists
|
||||||
rm -rf "test cases/frameworks/1 boost"
|
rm -rf "test cases/frameworks/1 boost"
|
||||||
# ABF limitations for i586 build
|
|
||||||
rm -rf "test cases/common/190 openmp"
|
|
||||||
|
|
||||||
export MESON_PRINT_TEST_OUTPUT=1
|
export MESON_PRINT_TEST_OUTPUT=1
|
||||||
export LC_ALL=UTF-8
|
export LC_ALL=UTF-8
|
||||||
%__python3 run_tests.py
|
%__python3 run_tests.py
|
||||||
|
%endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue