1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Group: Amusements/Games
Group(cs): Zbava/Hry
Summary: Penguin Command is a clone of the classic Missile Command game.
Vendor: karlb@gmx.net
Packager: Michal Ambroz (o_o) (rebus@seznam.cz)
License: GPL
URL: http://www.linux-games.com
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: /usr
Prefix: /etc
%description
Penguin Command is a clone of the classic Missile Command game, but has better
graphics and sound. The gameplay has been slightly modified.
%prep
#Unpack package
%setup
%build
./configure --prefix=%{_prefix}
make
%install
mkdir -p %{buildroot}%{_prefix}/bin
make DESTDIR=%{buildroot} install
#Install application link for X-Windows
install -d %{buildroot}/etc/X11/applnk/Games
echo -e "[Desktop Entry]
Name=Penguin-Command
Comment=Missile Attack game
Exec=penguin-command
Icon=penguin-command.xpm
Terminal=0
Type=Application" > %{buildroot}/etc/X11/applnk/Games/"Penguin-Command".desktop
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
/etc/X11/applnk/*
%{_bindir}/penguin-command
%{_prefix}/share/penguin-command/*
%changelog
* Thu May 16 2002 Michal Ambroz (O_O) <rebus@seznam.cz>
- initial specfile
|