Accepting request 317450 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/317450 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=1
This commit is contained in:
commit
f15fff33d2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
meson-0.25.0.tar.gz
Normal file
3
meson-0.25.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:50adb6f00560383168d7c10a5713db165408e935ff7954e3144c6187f58105e1
|
||||||
|
size 408789
|
4
meson.changes
Normal file
4
meson.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 12 21:02:38 UTC 2015 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Initial package based on the work of Igor Gnatenko.
|
114
meson.spec
Normal file
114
meson.spec
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
#
|
||||||
|
# spec file for package meson
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: meson
|
||||||
|
Version: 0.25.0
|
||||||
|
Release: 0
|
||||||
|
Summary: High productivity build system
|
||||||
|
License: Apache-2.0
|
||||||
|
Url: http://mesonbuild.com/
|
||||||
|
Source: https://github.com/mesonbuild/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: rpm
|
||||||
|
# Tests dependencies.
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gcc-fortran
|
||||||
|
BuildRequires: gcc-objc
|
||||||
|
BuildRequires: gcc-obj-c++
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: java-devel
|
||||||
|
BuildRequires: mono-core
|
||||||
|
BuildRequires: mono-devel
|
||||||
|
BuildRequires: ninja
|
||||||
|
BuildRequires: python3 >= 3.4
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: libqt5-qtbase-devel
|
||||||
|
BuildRequires: vala
|
||||||
|
BuildRequires: wxWidgets-devel >= 3.0.0
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
BuildRequires: pkgconfig(protobuf)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
Requires: ninja
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Meson is a build system designed to optimize programmer
|
||||||
|
productivity. It aims to do this by providing simple,
|
||||||
|
out-of-the-box support for modern software development tools and
|
||||||
|
practices, such as unit tests, coverage reports, Valgrind, CCache
|
||||||
|
and the like.
|
||||||
|
|
||||||
|
%package gui
|
||||||
|
Summary: GUI for high productivity build system
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: python3-qt5
|
||||||
|
|
||||||
|
%description gui
|
||||||
|
Graphical user interface for the high productivity build system.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
sed -i 's|%{_bindir}/rpm|/bin/rpm|' install_meson.py
|
||||||
|
|
||||||
|
# Lack of gtest, gmock, gnustep.
|
||||||
|
rm -rf "test cases/frameworks/2 gtest" \
|
||||||
|
"test cases/frameworks/3 gmock/" \
|
||||||
|
"test cases/objc/2 nsstring"
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Nothing to build.
|
||||||
|
|
||||||
|
%install
|
||||||
|
python3 install_meson.py --prefix=%{_prefix} --destdir=%{buildroot}
|
||||||
|
%py3_compile %{buildroot}%{_datadir}/%{name}/
|
||||||
|
|
||||||
|
%check
|
||||||
|
export MESON_PRINT_TEST_OUTPUT=1
|
||||||
|
python3 run_tests.py
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc authors.txt COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_bindir}/%{name}conf
|
||||||
|
%{_bindir}/%{name}introspect
|
||||||
|
%{_bindir}/wraptool
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
%exclude %{_datadir}/%{name}/*.ui
|
||||||
|
%exclude %{_datadir}/%{name}/mesongui.py
|
||||||
|
%exclude %{_datadir}/%{name}/__pycache__/mesongui.*
|
||||||
|
%{_rpmconfigdir}/macros.d/macros.%{name}
|
||||||
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/%{name}conf.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/%{name}introspect.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/wraptool.1%{?ext_man}
|
||||||
|
|
||||||
|
%files gui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc authors.txt COPYING
|
||||||
|
%{_bindir}/%{name}gui
|
||||||
|
%{_datadir}/%{name}/*.ui
|
||||||
|
%{_datadir}/%{name}/mesongui.py
|
||||||
|
%{_datadir}/%{name}/__pycache__/mesongui.*
|
||||||
|
%{_mandir}/man1/%{name}gui.1%{?ext_man}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user