Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
glob2
glob2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glob2.spec of Package glob2
# norootforbuild Name: glob2 Version: 0.9.4.4 Release: 1.pm.3.1 Summary: Multiplayer RTS that reduces Micro-Management # http://dl.sv.nongnu.org/releases/glob2/0.9.4/glob2-%{version}.tar.gz Source: glob2-%{version}.tar.bz2 Patch1: glob2-desktop.diff Patch2: glob2-fix_streambackend.patch Patch3: glob2-fix_missing_return_in_nonvoid_functions.patch Patch4: glob2_SConstruct.patch Patch5: fix-build-with-gcc5.patch Patch6: fix-build-with-gcc6.patch Patch7: fix-saving-settings.patch Patch8: glob2-bool.patch Url: http://globulation2.org/wiki/Main_Page Group: Amusements/Games/Strategy/Real Time License: GPL-3.0-or-later BuildRoot: %{_tmppath}/build-%{name}-%{version} #BuildRequires: SDL SDL-devel BuildRequires: pkgconfig(sdl) BuildRequires: Mesa-devel %if %suse_version >= 1030 BuildRequires: SDL_net-devel SDL_ttf-devel %else BuildRequires: SDL_net SDL_ttf %endif %if %suse_version >= 1000 BuildRequires: SDL_image-devel %else BuildRequires: SDL_image %endif BuildRequires: hicolor-icon-theme BuildRequires: scons glibc-devel fribidi-devel %if %suse_version >= 1500 BuildRequires: libboost_thread-devel libboost_system-devel libboost_date_time-devel %else BuildRequires: boost-devel %endif BuildRequires: zlib-devel libogg-devel libvorbis-devel libspeex-devel BuildRequires: portaudio-devel libjack0 BuildRequires: gcc-c++ libstdc++-devel BuildRequires: update-desktop-files %if 0%{?suse_version} >= 1030 %if 0%{?suse_version} <= 1140 BuildRequires: licenses Requires: licenses %endif %endif %description Globulation is an innovative high quality real-time strategy which minimizes micro-management by automatically assigning tasks to the units. The player has to choose the number of units they want for the different tasks, and the units will do their best to satisfy the requests. This allows the player to manage more units and to focus on the strategy. Authors: -------- Luc-Olivier de Charrire <NuageBleu at gmail dot com> Stphane Magnenat <stephane at magnenat dot net> Bradley Arsenault <genixpro at gmail dot com> %debug_package %prep %setup -q %patch1 %patch2 %patch3 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 # adjust scons files to work with python3 sed -i 's/print \(.*\)/print\(\1\)/' SConstruct sed -i 's/print \(.*\)/print\(\1\)/' scons/*.py # adjust scons files to work with scons 3.0.2+ # ('Options' class has been removed after it was deprecated and replaced by 'Variables' since years) sed -i 's/Options/Variables/' SConstruct sed -i 's/BoolOption/BoolVariable/' SConstruct sed -i 's/PathOption/PathVariable/' SConstruct %build scons \ %{?jobs:-j%{jobs}} \ --portaudio=true \ CXXFLAGS="%{optflags}" \ INSTALLDIR="%{_datadir}" \ BINDIR="%{_bindir}" %install scons \ --portaudio=true \ CXXFLAGS="%{optflags}" \ INSTALLDIR="%{buildroot}%{_datadir}" \ BINDIR="%{buildroot}%{_bindir}" \ install %__install -D -m 0644 "data/icons/glob2-icon-128x128.png" \ "%{buildroot}%{_datadir}/pixmaps/glob2.png" %suse_update_desktop_file -r "%{name}" Application Game StrategyGame h=/usr/share/doc/licenses/md5/$(md5sum COPYING|cut -f1 -d" ") test -e "$h" && %__ln_s -f "$h" . %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc COPYING README* %{_bindir}/glob2 %{_datadir}/glob2 %{_datadir}/applications/glob2.desktop %{_datadir}/icons/*/*/apps/glob2-icon-*.png %{_datadir}/pixmaps/glob2.png %changelog * Thu Jan 19 2023 Wolfgang Bauer <wbauer@tmo.at> - Switch to pkgconfig(sdl) to build with sdl12_compat. * Sat Mar 16 2019 Wolfgang Bauer <wbauer@tmo.at> - Add glob2-bool.patch from Arch Linux to fix build with latest boost in Tumbleweed * Wed Jan 16 2019 Wolfgang Bauer <wbauer@tmo.at> - SConstruct: use 'Variables' instead of 'Options' to fix build with scons 3.0.2+, the latter has been deprecated years ago and was removed now * Fri Oct 5 2018 Wolfgang Bauer <wbauer@tmo.at> - added fix-saving-settings.patch: fix settings saving, wrong number of flag radiuses to store * Wed Dec 13 2017 Wolfgang Bauer <wbauer@tmo.at> - use individual libboost-*-devel packages instead of boost-devel on Tumbleweed - adjust scons files to use print("") instead of print "" to fix build on TW (with python3) * Tue Jul 26 2016 Wolfgang Bauer <wbauer@tmo.at> - added fix-build-with-gcc6.patch: fixes build with gcc6 on Tumbleweed * Mon Jan 4 2016 Wolfgang Bauer <wbauer@tmo.at> - added fix-build-with-gcc5.patch: fixes build with gcc5 on Tumbleweed * Thu Oct 31 2013 Wolfgang Bauer <wbauer@tmo.at> - added glob2_SConstruct.patch: fixes build on 13.1 * Mon Feb 01 2010 Pascal Bleser <pascal.bleser@opensuse.org> 0.9.4.4-0.pm.1 - update to 0.9.4.4 * Mon May 4 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.9.4.1-0.pm.2 - masked author email addresses to avoid spam, upon request of the glob2 developers * Thu Apr 16 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.9.4.1-0.pm.1 - update to 0.9.4.1: * fixes the corrupt Tutorial 3 in Beta 4 * Sun Mar 1 2009 Pascal Bleser <guru@unixtech.be> 0.9.4-0.pm.1 - update to 0.9.4: * many new features were added in offline and online game play, including a priority system and map downloader/rating system * Wed May 7 2008 Pascal Bleser <guru@unixtech.be> 0.9.3-0.pm.2 - patches for GCC 4.3 on openSUSE 11.0 * Sun May 4 2008 Pascal Bleser <guru@unixtech.be> 0.9.3-0.pm.1 - new upstream version * Thu Sep 6 2007 Pascal Bleser <guru@unixtech.be> 0.9.1-0.pm.1 - added fribidi build dependency - moved to Packman - new upstream version * Thu Apr 19 2007 Pascal Bleser <guru@unixtech.be> 0.8.23-1 - removed autoreconf - new upstream version * Wed Apr 4 2007 Pascal Bleser <guru@unixtech.be> 0.8.22-1 - new upstream version * Sat Aug 5 2006 Pascal Bleser <guru@unixtech.be> 0.8.21-1 - new upstream version * Sat Aug 5 2006 Pascal Bleser <guru@unixtech.be> 0.8.20-1 - added missing BuildRequires - added binary stripping on SUSE < 9.3 - moved configure to build section - removed Packager and Distribution, injected by rpmmacros - new upstream version * Tue Mar 14 2006 Pascal Bleser <guru@unixtech.be> 0.8.19-1 - new upstream version - changed to new Source URL - added BuildRequires for suse-release - removed explicit Requires * Mon Feb 13 2006 Pascal Bleser <guru@unixtech.be> 0.8.18-1 - added build requirement for boost-devel - new upstream version * Mon Jan 30 2006 Pascal Bleser <guru@unixtech.be> 0.8.17-1 - initial version # vim: set sw=3 ts=3 noet: # Local Variables: # mode: rpm-spec # tab-width: 3 # End:
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