Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
stratagus
stratagus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stratagus.spec of Package stratagus
# # spec file for package stratagus # # Copyright (c) 2022 SUSE LLC # # 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/ # %define _lto_cflags %{nil} Name: stratagus Version: 3.3.2 Release: 0 Summary: Real-time strategy gaming engine License: GPL-2.0-or-later Group: Amusements/Games/Strategy/Real Time URL: https://wargus.github.io/stratagus.html Source: https://github.com/Wargus/stratagus/archive/v%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE fix-findtolua++.patch -- Fix find module, needed for openSUSE > 13.2 (custom name) Patch0: fix-findtolua++.patch BuildRequires: cmake BuildRequires: lua51-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(fluidsynth) BuildRequires: pkgconfig(libmikmod) BuildRequires: pkgconfig(libmng) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) BuildRequires: gcc-c++ BuildRequires: libtolua++-5_1-devel %description Stratagus is a free cross-platform real-time strategy gaming engine. It includes support for playing over the internet/LAN, or playing a computer opponent. The engine is configurable and can be used to create games with a wide-range of features specific to your needs. See the data sets page for a list of current games using the stratagus engine. %package devel Summary: Real-time strategy gaming engine development files Group: Development/Languages/C and C++ Requires: stratagus %description devel Stratagus is a free cross-platform real-time strategy gaming engine. It includes support for playing over the internet/LAN, or playing a computer opponent. The engine is configurable and can be used to create games with a wide-range of features specific to your needs. See the data sets page for a list of current games using the stratagus engine. These are the development files. %prep %setup -q %patch0 -p1 %build export CXXFLAGS="%{optflags} -Wno-reorder -Wno-error=address -Wno-maybe-uninitialized -Wno-sign-compare -Wno-parentheses -Wno-unused-variable -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-function -Wno-error=format-overflow" %if 0%{?suse_version} > 1500 export CXXFLAGS="$CXXFLAGS -Wno-class-memaccess -Wno-sizeof-pointer-memaccess -Wno-stringop-truncation" %endif %cmake \ -DGAMEDIR=%{_bindir} \ -DENABLE_DEV=ON %make_jobs %install %cmake_install # Install man page and remove unneeded scripts from documentation install -D -m 0644 doc/%{name}.6 %{buildroot}/%{_mandir}/man6/%{name}.6 rm -f doc/scripts/*.py doc/%{name}.6 rm -f %{buildroot}/%{_includedir}/stratagus-game-installer.nsi %files %license COPYING %doc README.md doc/ %{_bindir}/stratagus %{_bindir}/png2stratagus %{_mandir}/man6/%{name}.6%{?ext_man} %files devel %{_includedir}/stratagus-game-launcher.h %{_includedir}/stratagus-gameutils.h %{_includedir}/stratagus-tinyfiledialogs.h %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