Name: widelands Epoch: 1 Version: 1.1 Release: 1mamba Summary: A game like Settlers II Group: Graphical Desktop/Applications/Games Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.widelands.org/ Source: https://github.com/widelands/widelands.git/v%{version}/widelands-%{version}.tar.bz2 Patch0: widelands-1.1-gcc-13.2.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL2-devel BuildRequires: libgcc BuildRequires: libglew-devel BuildRequires: libglvnd-devel BuildRequires: libicu-devel BuildRequires: libminizip1-devel BuildRequires: libpng-devel BuildRequires: libsdl2_image-devel BuildRequires: libsdl2_mixer-devel BuildRequires: libsdl2_ttf-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libglew-devel >= 1.9.0 BuildRequires: ctags BuildRequires: desktop-file-utils BuildRequires: scons BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: libboost-devel BuildRequires: make %description In Widelands, you are the regent of a small tribe. You start out with nothing but your headquarters, a kind of castle in which all your resources are stored. Every member of your tribe will do his or her part to produce more resources - wood, food, iron, gold and more - to further this growth. But you are not alone in the world, and you will meet other tribes sooner or later. Some of them may be friendly and trade with you. However, if you want to rule the world, you will have to train soldiers and fight.. :° %debug_package %prep %setup -q #-D -T #:<< _EOF %patch 0 -p1 -b .gcc-13.2.0 %build #:<< _EOF %cmake -d build \ -DWL_INSTALL_BASEDIR=%{_prefix} \ -DWL_INSTALL_DATADIR=%{_datadir}/widelands \ -DWL_INSTALL_BINDIR=%{_bindir} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build rm -f %{buildroot}%{_prefix}/{COPYING,CREDITS,ChangeLog,VERSION} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/widelands %{_bindir}/wl_create_spritesheet %{_bindir}/wl_map_info %{_bindir}/wl_map_object_info %{_datadir}/applications/org.widelands.Widelands.desktop %{_datadir}/metainfo/org.widelands.Widelands.appdata.xml %dir %{_datadir}/widelands %{_datadir}/widelands/* %{_datadir}/icons/hicolor/*/apps/org.widelands.Widelands.png %{_mandir}/man6/widelands.6* %doc COPYING CREDITS %changelog * Fri Feb 23 2024 Automatic Build System 1.1-1mamba - automatic version update by autodist * Fri Dec 31 2021 Silvan Calarco 1.0-1mamba - update to 1.0 * Sat Mar 01 2014 Automatic Build System 18-1mamba - automatic version update by autodist * Mon Jul 15 2013 Silvan Calarco 17-2mamba - rebuilt with libSDL_gfx 2.0.24 * Sat Apr 28 2012 Ercole 'ercolinux' Carpanetto 17-1mamba - update to 17 * Fri Dec 16 2011 Silvan Calarco 16-1mamba - update to 16 * Fri Sep 19 2008 gil 12-1mamba - added desktop file