Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37425564
en ru br
ALT Linux repos
S:0.93.1-alt2
5.0: 0.90-alt2
4.1: 0.90-alt1
4.0: 0.78-alt1.1
3.0: 0.78-alt1.1

Group :: Games/Arcade
RPM: powermanga

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: powermanga
Version: 0.93.1
Release: alt2
Summary: Shoot them up with 3d graphics

License: %gpl3plus
Group: Games/Arcade

Url: http://linux.tlk.fr/games/Powermanga/
Source: %name-%version.tgz

Source100: %name.desktop

Source200: %name.16.png
Source201: %name.32.png
Source202: %name.48.png

Requires: %name-data

BuildPreReq: rpm-build-licenses

# Based on configure.ac

BuildRequires: libXxf86dga-devel libXext-devel
BuildRequires: libSDL-devel libSDL_mixer-devel
BuildPreReq: libpng-devel

%description
In this shoot them up with 3d graphics, you'll have to face and destroy
more than 60 different types of opponents. Nice musics, many weapons, and
a ton of surprises.

%package data
Summary: Data files for Powermanga
Group: Games/Arcade
BuildArch: noarch

%description data
This package contains data files for Powermanga (see %name package for
description). To play the game, you should install both %name and %name-data packages.

%prep
%setup

%build
%autoreconf
%add_optflags -DPNG_EXPORT_ENABLE=1

%ifarch %ix86
%add_optflags -no-pie
%endif

%configure \
--mandir=%_man6dir \
--enable-x11 \
--with-x
%make scoredir=%_localstatedir/games

%install
%makeinstall_std gamesdir=%_bindir scoredir=%_localstatedir/games

install -Dpm 644 %SOURCE100 %buildroot/%_desktopdir/%name.desktop

install -Dpm 644 %SOURCE200 %buildroot/%_miconsdir/%name.png
install -Dpm 644 %SOURCE201 %buildroot/%_niconsdir/%name.png
install -Dpm 644 %SOURCE202 %buildroot/%_liconsdir/%name.png

%files
%doc README
%attr(0660, games, games) %_localstatedir/games/*
%attr(2711, root, games) %_bindir/%name
%_man6dir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png

%files data
%_datadir/games/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin