]> git.pld-linux.org Git - packages/CriticalMass.git/blob - CriticalMass.spec
- tabs in preamle
[packages/CriticalMass.git] / CriticalMass.spec
1 Summary:        Critical Mass - space shoot'em up game
2 Summary(pl.UTF-8):      Critical Mass - kosmiczna strzelanina
3 Name:           CriticalMass
4 Version:        1.0.2
5 Release:        1
6 Epoch:          1
7 License:        GPL v2
8 Group:          X11/Applications/Games
9 Source0:        http://dl.sourceforge.net/criticalmass/%{name}-%{version}.tar.bz2
10 # Source0-md5:  e2aff114bffa717fb79c82e1dc473ebe
11 Source1:        %{name}.desktop
12 URL:            http://criticalmass.sourceforge.net/
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  SDL_image-devel >= 1.2.5
15 BuildRequires:  SDL_mixer-devel >= 1.2.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  curl-devel
19 BuildRequires:  libogg-devel
20 BuildRequires:  libpng-devel >= 1.0.12
21 BuildRequires:  sed >= 4.0
22 BuildRequires:  zlib-devel >= 1.1.3
23 Requires:       OpenGL
24 Requires:       SDL >= 1.2.3
25 Requires:       SDL_image >= 1.2.0
26 Requires:       SDL_mixer >= 1.2.0
27 Requires:       libpng >= 1.0.12
28 Requires:       zlib >= 1.1.3
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
32
33 %description
34 Critical Mass (Critter) is an SDL/OpenGL space shoot'em up game.
35 Your world has been infested by an aggressive army of space critters.
36 Overrun and unprepared, your government was unable to defend its
37 precious resources. As a last effort to recapture some of the
38 'goodies', you have been placed into a tiny spacecraft and sent after
39 them.
40
41 %description -l pl.UTF-8
42 Critical Mass (Critter) to oparta na SDL/OpenGL kosmiczna strzelanina.
43 Świat został zaatakowany przez agresywną armię kosmicznych stworzeń.
44 Napadnięty i nieprzygotowany rząd nie był w stanie obronić swoich
45 zasobów. Jako ostatnia szansa na odzyskanie części dóbr, gracz został
46 umieszczony w małym statku kosmicznym i wysłany za kosmitami.
47
48 %prep
49 %setup -q
50
51 %build
52 sed -i 's/curl//' Makefile.am
53 sed -i 's/\.\.\/curl\/lib\/libcurl\.a/\/usr\/lib\/libcurl.so/' game/Makefile.am
54 sed -i 's/AC_CONFIG_SUBDIRS(curl)//' configure.in
55 %{__aclocal}
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 install critter.png $RPM_BUILD_ROOT%{_pixmapsdir}
70 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
71
72 # this one gets installed by author's mistake
73 rm -f $RPM_BUILD_ROOT%{_bindir}/Packer
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc TODO Readme.html
81 %attr(755,root,root) %{_bindir}/*
82 %{_datadir}/Critical_Mass
83 %{_mandir}/man6/*
84 %{_pixmapsdir}/*
85 %{_desktopdir}/*.desktop
This page took 0.087079 seconds and 3 git commands to generate.