Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
zod-engine
zod-engine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zod-engine.spec of Package zod-engine
# # spec file for package zod-engine # # Copyright (c) 2019, Martin Hauke <mardnh@gmx.de> # # 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 https://bugs.opensuse.org/ # Name: zod-engine Version: 0.0.0+hg18 Release: 0 Summary: A remake of the classic game Z License: GPL-3.0-only AND LGPL-2.1-only Group: Amusements/Games/Strategy/Real Time URL: http://zod.sourceforge.net/ #Hg-Clone: http://hg.code.sf.net/p/zod/zod_engine Source: %{name}-%{version}.tar.xz Source1: zod_launcher_src.tar.gz Source2: zod-wrapper.sh Source3: zod_launcher-wrapper.sh Source4: zod_map_editor-wrapper.sh Source5: README.SUSE Patch0: zod_launcher-fix-build.patch Patch1: zod-engine-obey-cflags.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: mysql-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: wxWidgets-3_0-devel BuildRequires: pkgconfig(SDL_image) BuildRequires: pkgconfig(SDL_mixer) BuildRequires: pkgconfig(SDL_ttf) BuildRequires: pkgconfig(sdl) %description Z was a real strategy pc game by Bitmap Brothers launched in 1996. It is about two armies of robots (red and blue) battling to conquer different planets. The Zod Engine is a multiplayer oriented game where as Z is a single player oriented game. Here you will be able to for the first time do things such as play games against multiple bot players, or play the original levels with friends. %package data Summary: Architecture independent data for zod-engine Group: Amusements/Games/Strategy/Real Time Requires: %{name} = %{version} BuildArch: noarch %description data This package contains the game data for zod engine. It is required to play the game. # TODO # * tarball ist zu gross - ausschlüsse mit hg möglich ? # * icon im asset - assets/icon.png (extra datapackage) %prep %setup -q tar xzvf %{SOURCE1} -C src %patch0 -p1 %patch1 -p1 sed -i 's/\r$//' zod_engine_help.txt # remove unused files find . -type f \( -name Thumbs.db -o -name "*.xcf" -o -name "*.ico" \) -delete rm assets/{splash.png,WebCamScene.icescene} %build export CFLAGS="%{optflags}" # engine and map_editor make -C src/ main map_editor %{?_smp_mflags} # zod_launcher make -C src/zod_launcher_src %{?_smp_mflags} %install install -D -m 0755 %{SOURCE2} %{buildroot}/%{_bindir}/zod install -D -m 0755 %{SOURCE3} %{buildroot}/%{_bindir}/zod_launcher install -D -m 0755 %{SOURCE4} %{buildroot}/%{_bindir}/zod_map_editor install -m 0644 %{SOURCE5} README.SUSE install -D -m 0644 assets/icon.png %{buildroot}/%{_datadir}/pixmaps/zod.png install -D -m 0755 src/zod %{buildroot}%{_libexecdir}/%{name}//zod install -D -m 0755 src/zod_launcher_src/zod_launcher %{buildroot}%{_libexecdir}/%{name}/zod_launcher install -D -m 0755 src/zod_map_editor %{buildroot}%{_libexecdir}/%{name}/zod_map_editor # datafiles install -d %{buildroot}%{_datadir}/%{name} cp -Rv assets/ blank_maps *.map default_settings.txt *map_list.txt %{buildroot}%{_datadir}/%{name}/ %suse_update_desktop_file -c zod_launcher zod "A remake of the classic game Z" zod_launcher zod "Game;StrategyGame;" %fdupes %{buildroot}%{_datadir}/%{name} %files %doc zod_engine_help.txt README.SUSE %{_bindir}/zod %{_bindir}/zod_launcher %{_bindir}/zod_map_editor %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/zod %{_libexecdir}/%{name}/zod_launcher %{_libexecdir}/%{name}/zod_map_editor %{_datadir}/pixmaps/zod.png %{_datadir}/applications/zod_launcher.desktop %files data %{_datadir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor