From e8de55621eb55daa50ef9bde9f823ed06cebd796 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:29:13 +0100 Subject: [PATCH] automatic version update by autodist [release 0.91-1mamba;Tue Oct 16 2012] --- README.md | 2 + powermanga-0.91-libpng-1.5.patch | 10 ++++ powermanga.png | Bin 0 -> 2328 bytes powermanga.spec | 87 +++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 powermanga-0.91-libpng-1.5.patch create mode 100644 powermanga.png create mode 100644 powermanga.spec diff --git a/README.md b/README.md index 2413127..701c134 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # powermanga +Powermanga is an arcade 2D shoot-them-up game with 41 levels and more than 200 sprites. + diff --git a/powermanga-0.91-libpng-1.5.patch b/powermanga-0.91-libpng-1.5.patch new file mode 100644 index 0000000..8d39b19 --- /dev/null +++ b/powermanga-0.91-libpng-1.5.patch @@ -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 ++#include + #endif + + #if !defined(_WIN32_WCE) diff --git a/powermanga.png b/powermanga.png new file mode 100644 index 0000000000000000000000000000000000000000..cd1603506d7e27821dfa4d84f72e5c89ccff7abe GIT binary patch literal 2328 zcmV+z3Fr2SP)y`j8KM9H2&G9x zK~#9!?bvCIU1c4|@$d7T<=#7Yo2}ECc4oTKZQ4?H6cngX4O>teNJP}qrh*uJfdq_1 zF@_f|7^6gL14Uv`L?VcEK?kFtwBP;H^}|zViqgc1cl!Hx zKYiy9e^fh}>s@nUw|M&HckM?CFt?{omU~t@QA)Izr_Q{QgPyeC}@TL&sAzxjr+a2^Ix|TzmXkE*;rIwzHY!X|wRX zCbX%SqbS%`PQ-^##ms-G8CZMKtYudf%Xi)Ivp=4@?Z|nkU2kLZ#}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)FZgUBZw>60;VGreGYd&+XZ~xqI=Yr(zdc+LRUPr3HJ+Ix>JO9)8qw50~fZ z^A^mB&FSs!^4v2z(%xiW>ofL;MY%2*T9uo9$ +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 0.91-1mamba +- automatic version update by autodist + +* Thu Jan 03 2008 Fabio Giani 0.90-1mamba +- update to 0.90 + +* Fri Apr 22 2005 Alessandro Ramazzina 0.79-2qilnx +- rebuild and moved from devel-contrib repository to devel repository + +* Sat Sep 25 2004 Matteo Bernasconi 0.79-1 +- first build