2024-01-05 19:15:38 +01:00
|
|
|
Name: widelands
|
2024-01-05 19:15:58 +01:00
|
|
|
Epoch: 1
|
2024-04-04 18:49:29 +02:00
|
|
|
Version: 1.2
|
2024-01-05 19:15:38 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A game like Settlers II
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-24 20:12:03 +01:00
|
|
|
URL: https://www.widelands.org/
|
|
|
|
Source: https://github.com/widelands/widelands.git/v%{version}/widelands-%{version}.tar.bz2
|
2024-01-05 19:15:38 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 19:15:58 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
2024-01-05 19:15:38 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglew-devel
|
2024-01-05 19:15:58 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libicu-devel
|
2024-02-24 20:12:03 +01:00
|
|
|
BuildRequires: libminizip1-devel
|
2024-01-05 19:15:38 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 19:15:58 +01:00
|
|
|
BuildRequires: libsdl2_image-devel
|
|
|
|
BuildRequires: libsdl2_mixer-devel
|
2024-02-24 20:12:03 +01:00
|
|
|
BuildRequires: libsdl2_ttf-devel
|
2024-01-05 19:15:38 +01:00
|
|
|
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.. :°
|
|
|
|
|
2024-01-05 19:15:58 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 19:15:38 +01:00
|
|
|
%prep
|
2024-01-05 19:15:58 +01:00
|
|
|
%setup -q
|
2024-01-05 19:15:38 +01:00
|
|
|
#-D -T
|
2024-02-24 20:12:03 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 19:15:38 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:15:58 +01:00
|
|
|
#:<< _EOF
|
|
|
|
%cmake -d build \
|
|
|
|
-DWL_INSTALL_BASEDIR=%{_prefix} \
|
2024-02-24 20:12:03 +01:00
|
|
|
-DWL_INSTALL_DATADIR=%{_datadir}/widelands \
|
|
|
|
-DWL_INSTALL_BINDIR=%{_bindir}
|
2024-01-05 19:15:38 +01:00
|
|
|
|
2024-01-05 19:15:58 +01:00
|
|
|
%make
|
2024-01-05 19:15:38 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-02-24 20:12:03 +01:00
|
|
|
rm -f %{buildroot}%{_prefix}/{COPYING,CREDITS,ChangeLog,VERSION}
|
2024-01-05 19:15:38 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/widelands
|
2024-01-05 19:15:58 +01:00
|
|
|
%{_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
|
2024-02-24 20:12:03 +01:00
|
|
|
%dir %{_datadir}/widelands
|
|
|
|
%{_datadir}/widelands/*
|
2024-01-05 19:15:58 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.widelands.Widelands.png
|
|
|
|
%{_mandir}/man6/widelands.6*
|
2024-01-05 19:15:38 +01:00
|
|
|
%doc COPYING CREDITS
|
|
|
|
|
|
|
|
%changelog
|
2024-04-04 18:49:29 +02:00
|
|
|
* Thu Apr 04 2024 Automatic Build System <autodist@openmamba.org> 1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-24 20:12:03 +01:00
|
|
|
* Fri Feb 23 2024 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:15:58 +01:00
|
|
|
* Fri Dec 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
|
|
- update to 1.0
|
|
|
|
|
2024-01-05 19:15:38 +01:00
|
|
|
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 17-2mamba
|
|
|
|
- rebuilt with libSDL_gfx 2.0.24
|
|
|
|
|
|
|
|
* Sat Apr 28 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 17-1mamba
|
|
|
|
- update to 17
|
|
|
|
|
|
|
|
* Fri Dec 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 16-1mamba
|
|
|
|
- update to 16
|
|
|
|
|
|
|
|
* Fri Sep 19 2008 gil <puntogil@libero.it> 12-1mamba
|
|
|
|
- added desktop file
|