automatic version update by autodist [release 0.91-1mamba;Tue Oct 16 2012]

This commit is contained in:
Automatic Build System 2024-01-06 10:29:13 +01:00
parent e529e066fa
commit e8de55621e
4 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# powermanga
Powermanga is an arcade 2D shoot-them-up game with 41 levels and more than 200 sprites.

View File

@ -0,0 +1,10 @@
--- powermanga-0.91/src/powermanga.h.orig 2012-10-15 12:40:53.913154664 +0200
+++ powermanga-0.91/src/powermanga.h 2012-10-15 12:41:02.690060653 +0200
@@ -149,6 +149,7 @@
#ifdef PNG_EXPORT_ENABLE
#include <png.h>
+#include <zlib.h>
#endif
#if !defined(_WIN32_WCE)

BIN
powermanga.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

87
powermanga.spec Normal file
View File

@ -0,0 +1,87 @@
Name: powermanga
Version: 0.91
Release: 1mamba
Summary: Arcade 2D shoot-them-up game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://linux.tlk.fr/games/Powermanga/
Source0: http://linux.tlk.fr/games/Powermanga/download/powermanga-%{version}.tgz
Source1: powermanga.png
Patch0: powermanga-0.91-libpng-1.5.patch
License: GPL
BuildRequires: xorg-server-devel, libSDL-devel, libSDL_mixer-devel
BuildRequires: libXxf86dga-devel,libXext-devel, glibc-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Powermanga is an arcade 2D shoot-them-up game with 41 levels and more than 200 sprites.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%build
./bootstrap
%configure
%make CFLAGS="-Wno-missing-field-initializers -lm"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# Fix location of the man page
%{__mkdir_p} %{buildroot}%{_mandir}/man6
#%{__mv} %{buildroot}%{_prefix}/share/man/powermanga.6 \
# %{buildroot}%{_mandir}/man6/
# Install pixmap for the menu entry
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/powermanga.png
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=Powermanga
Comment=Arcade 2D shoot-them-up game
Comment[it]=Gioco 2D sparatutto
Icon=powermanga.png
Exec=powermanga
Terminal=false
Type=Application
Categories=Game;ArcadeGame;
EOF
mkdir -p %{buildroot}/usr/bin
mv -f %{buildroot}/usr/games/powermanga %{buildroot}/usr/bin/powermanga
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-, root, root)
%config(noreplace) %{_localstatedir}/games/powermanga/powermanga.hi
%config(noreplace) %{_localstatedir}/games/powermanga/powermanga.hi-easy
%config(noreplace) %{_localstatedir}/games/powermanga/powermanga.hi-hard
%{_bindir}/powermanga
%{_datadir}/games/powermanga/*
%{_datadir}/pixmaps/powermanga.png
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/powermanga.6*
%doc AUTHORS COPYING
#CHANGES README
%changelog
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 0.91-1mamba
- automatic version update by autodist
* Thu Jan 03 2008 Fabio Giani <fabio.giani@gmail.com> 0.90-1mamba
- update to 0.90
* Fri Apr 22 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.79-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Sat Sep 25 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.79-1
- first build