]> git.pld-linux.org Git - packages/penguin-command.git/blob - penguin-command.spec
- cosmetics.
[packages/penguin-command.git] / penguin-command.spec
1 Summary:        A missile command clone
2 Summary(pl):    Klon missile command
3 Name:           penguin-command
4 Version:        1.5.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Group(de):      X11/Applikationen/Spiele
9 Group(pl):      X11/Aplikacje/Gry
10 Source0:        http://www.linux-games.com/%{name}/%{name}-%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Icon:           penguin-command.xpm
13 URL:            http://www.linux-games.com/
14 BuildRequires:  SDL-devel >= 1.2.0
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  zlib-devel
17 BuildRequires:  libpng-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21
22 %description
23 This is a clone of the classic "Missile Command" Game, but it has
24 better graphics and music. You have to defend cities by shooting at
25 missiles and smartbombs.
26
27
28 %description -l pl
29 To jest klon klasycznej gry "Missile Command", lecz ma lepsz± grafikê
30 i muzykê. Musisz obroniæ miasta strzelaj±c pociskami i bombami.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Games}
42
43 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
44 install data/gfx/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
46
47 gzip -9nf NEWS README AUTHORS
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc *.gz
55 %attr(755,root,root) %{_bindir}/*
56 %{_datadir}/%{name}
57 %{_pixmapsdir}/*
58 %{_applnkdir}/Games/*
This page took 0.215527 seconds and 3 git commands to generate.