2024-01-06 10:07:33 +01:00
|
|
|
Name: pingus
|
|
|
|
Version: 0.7.6
|
2024-05-07 15:25:22 +02:00
|
|
|
Release: 3mamba
|
2024-01-06 10:07:33 +01:00
|
|
|
Summary: A free Lemmings clone for GNU/Linux
|
|
|
|
Group: Graphical Desktop/Applications/Games
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-05-07 15:25:22 +02:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pingus.seul.org/
|
2024-01-06 10:07:33 +01:00
|
|
|
Source: http://pingus.googlecode.com/files/pingus-%{version}.tar.bz2
|
|
|
|
Patch1: pingus-0.7.6-gcc-4.7.patch
|
2024-05-07 15:25:22 +02:00
|
|
|
Patch2: pingus-0.7.6-scons-4.7.0.patch
|
|
|
|
Patch3: pingus-0.7.6-boost-1.69.patch
|
|
|
|
Patch4: pingus-0.7.6-gcc-13.2.0.patch
|
|
|
|
Patch5: pingus-0.7.6-gcc-13.2.0-missing-header.patch
|
2024-01-06 10:07:33 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL_image-devel
|
|
|
|
BuildRequires: libSDL_mixer-devel
|
2024-05-07 15:25:22 +02:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libsdl12-compat-devel
|
2024-01-06 10:07:33 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libXi-devel
|
2024-05-07 15:25:22 +02:00
|
|
|
BuildRequires: scons
|
2024-01-06 10:07:33 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pingus is a free Lemmings clone for GNU/Linux. The player takes command in the game of a bunch of small animals and has to guide them around in levels. Since the animals walk on their own, the player can only influence them by giving them commands, like build a bridge, dig a hole or redirect all animals in the other direction. The goal of each level is to reach the exit, for fix multiple combination of commands are necessary.
|
|
|
|
|
2024-05-07 15:25:22 +02:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:07:33 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-05-07 15:25:22 +02:00
|
|
|
%patch 1 -p1
|
|
|
|
%patch 2 -p1 -b .scons-4.7.0
|
|
|
|
%patch 3 -p0 -b .boost-1.69
|
|
|
|
%patch 4 -p1 -b .gcc-13.2.0
|
|
|
|
%patch 5 -p1 -b .gcc-13.2.0-missing-header
|
|
|
|
|
2024-01-06 10:07:33 +01:00
|
|
|
# note: it loads *.po files directly, no need to use msgfmt
|
|
|
|
mv -f data/po/sr{,@latin}.po
|
|
|
|
rm -f data/po/pingus.pot
|
|
|
|
|
|
|
|
%build
|
|
|
|
scons
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%makeinstall PREFIX=%{_prefix}
|
|
|
|
|
|
|
|
# Create the system menu entry
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications/
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Encoding=UTF-8
|
|
|
|
Name=Pingus
|
|
|
|
Comment=A Lemmings clone
|
|
|
|
GenericName=A Lemmings clone
|
|
|
|
Comment[it]=Un clone di Lemmings
|
|
|
|
GenericName[it]=Un clone di Lemmings
|
|
|
|
Exec=pingus
|
2024-05-07 15:25:22 +02:00
|
|
|
Icon=/usr/share/pingus/images/core/editor/actions.png
|
2024-01-06 10:07:33 +01:00
|
|
|
Terminal=0
|
|
|
|
Type=Application
|
2024-05-07 15:25:22 +02:00
|
|
|
Categories=Application;Game;ArcadeGame;
|
2024-01-06 10:07:33 +01:00
|
|
|
EOF
|
|
|
|
|
|
|
|
mv %{buildroot}%{_mandir}/man1 %{buildroot}%{_mandir}/man6
|
|
|
|
|
|
|
|
#install -d %{buildroot}{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
|
|
|
|
#install %{name} %{buildroot}%{_bindir}
|
|
|
|
#cp -r data %{buildroot}%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pingus
|
|
|
|
%{_bindir}/pingus.bin
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%dir %{_datadir}/pingus/
|
|
|
|
%{_datadir}/pingus/*
|
|
|
|
%{_mandir}/man6/pingus.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
# ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-05-07 15:25:22 +02:00
|
|
|
* Tue May 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.6-3mamba
|
|
|
|
- rebuilt with current libboost, patches added
|
|
|
|
|
2024-01-06 10:07:33 +01:00
|
|
|
* Sat Dec 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.6-2mamba
|
|
|
|
- libboost 1.52 mass rebuild
|
|
|
|
|
|
|
|
* Fri Jul 06 2012 Automatic Build System <autodist@mambasoft.it> 0.7.6-1mamba
|
|
|
|
- update to 0.7.6
|
|
|
|
|
|
|
|
* Tue Dec 14 2010 Automatic Build System <autodist@mambasoft.it> 0.7.2-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Jun 13 2010 Automatic Build System <autodist@mambasoft.it> 0.7.2-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jun 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.2-2mamba
|
|
|
|
- rebuilt with libboost 1.39.0
|
|
|
|
|
|
|
|
* Sat May 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.7.2-1mamba
|
|
|
|
- update to 0.7.2, switch from ClanLib to SDL
|
|
|
|
|
|
|
|
* Thu Aug 18 2005 Massimo Pintore <massimo.pintore@qilinux.it> 0.6.0-1qilnx
|
|
|
|
- first build
|