Accepting request 766233 from home:mimi_vx:branches:games
- don't require python-devel and SDL_net as is not needed OBS-URL: https://build.opensuse.org/request/show/766233 OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=52
This commit is contained in:
parent
d823c8bf3f
commit
91f58eda2c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 09:11:19 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- don't require python-devel and SDL_net as is not needed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 10 16:50:24 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
|
Wed Jul 10 16:50:24 UTC 2019 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package widelands
|
# spec file for package widelands
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,39 +21,41 @@ Version: build20
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Realtime strategy game involving map control
|
Summary: Realtime strategy game involving map control
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Amusements/Games/Strategy/Other
|
URL: https://www.widelands.org
|
||||||
Url: http://www.widelands.org
|
|
||||||
Source: https://launchpad.net/%{name}/%{version}/%{version}/+download/%{name}-%{version}.tar.bz2
|
Source: https://launchpad.net/%{name}/%{version}/%{version}/+download/%{name}-%{version}.tar.bz2
|
||||||
# PATCH-FIX-UPSTREAM properly add -lGL as library for correct argument order
|
# PATCH-FIX-UPSTREAM properly add -lGL as library for correct argument order
|
||||||
Patch1: build20-libGL.patch
|
Patch1: build20-libGL.patch
|
||||||
BuildRequires: SDL2_gfx-devel
|
BuildRequires: SDL2_gfx-devel
|
||||||
BuildRequires: SDL2_image-devel
|
BuildRequires: SDL2_image-devel
|
||||||
BuildRequires: SDL2_mixer-devel
|
BuildRequires: SDL2_mixer-devel
|
||||||
BuildRequires: SDL2_net-devel
|
|
||||||
BuildRequires: SDL2_ttf-devel
|
BuildRequires: SDL2_ttf-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: glew-devel
|
|
||||||
BuildRequires: graphviz-gnome
|
BuildRequires: graphviz-gnome
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: libboost_headers-devel
|
||||||
BuildRequires: libboost_regex-devel
|
BuildRequires: libboost_regex-devel
|
||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
BuildRequires: libboost_test-devel
|
BuildRequires: libboost_test-devel
|
||||||
BuildRequires: libicu-devel
|
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
BuildRequires: lua51-devel
|
|
||||||
BuildRequires: ninja
|
BuildRequires: ninja
|
||||||
BuildRequires: openSUSE-release
|
BuildRequires: openSUSE-release
|
||||||
BuildRequires: optipng
|
BuildRequires: optipng
|
||||||
BuildRequires: python-devel
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python3-base
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(glew)
|
||||||
|
BuildRequires: pkgconfig(icu-i18n)
|
||||||
|
BuildRequires: pkgconfig(icu-io)
|
||||||
|
BuildRequires: pkgconfig(icu-uc)
|
||||||
|
BuildRequires: pkgconfig(libtiff-4)
|
||||||
|
BuildRequires: pkgconfig(lua)
|
||||||
|
BuildRequires: pkgconfig(lua5.1)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
Requires: %{name}-data = %{version}
|
Requires: %{name}-data = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,7 +70,6 @@ entire map, or a certain predetermined section of it.
|
|||||||
|
|
||||||
%package data
|
%package data
|
||||||
Summary: Data files for Widelands
|
Summary: Data files for Widelands
|
||||||
Group: Amusements/Games/Strategy/Other
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -77,7 +78,6 @@ Data files for Widelands. Includes localization, maps graphics and music.
|
|||||||
|
|
||||||
%package debug
|
%package debug
|
||||||
Summary: Debugging tools for Widelands
|
Summary: Debugging tools for Widelands
|
||||||
Group: Amusements/Games/Strategy/Other
|
|
||||||
|
|
||||||
%description debug
|
%description debug
|
||||||
Additional debugging data for Widelands. This package is not needed for normal
|
Additional debugging data for Widelands. This package is not needed for normal
|
||||||
@ -88,6 +88,7 @@ operation.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
sed -i '/wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=uninitialized")/d' CMakeLists.txt
|
sed -i '/wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=uninitialized")/d' CMakeLists.txt
|
||||||
sed -i 's/\(install(TARGETS ${NAME} DESTINATION \)"."\( COMPONENT ExecutableFiles)\)/\1bin\2/' cmake/WlFunctions.cmake
|
sed -i 's/\(install(TARGETS ${NAME} DESTINATION \)"."\( COMPONENT ExecutableFiles)\)/\1bin\2/' cmake/WlFunctions.cmake
|
||||||
|
find . -type f -name "*.py" -exec sed -i 's/env python/python3/g' {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p build/locale
|
mkdir -p build/locale
|
||||||
@ -102,7 +103,7 @@ mkdir -p build/locale
|
|||||||
-DBoost_USE_STATIC_LIBS=OFF \
|
-DBoost_USE_STATIC_LIBS=OFF \
|
||||||
..
|
..
|
||||||
|
|
||||||
%make_jobs
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
Loading…
Reference in New Issue
Block a user