]> git.pld-linux.org Git - packages/amoebax.git/blob - amoebax.spec
- new file - don't add useless files
[packages/amoebax.git] / amoebax.spec
1 Summary:        Cute and addictive puzzle game
2 Summary(pl.UTF-8):      Ładna i uzależniająca gra logiczna
3 Name:           amoebax
4 Version:        0.2.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://www.emma-soft.com/games/amoebax/download/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f144e4a42f4443e6c105976c4c036c50
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-useless_files.patch
12 URL:            http://www.emma-soft.com/games/amoebax/
13 BuildRequires:  SDL-devel >= 1.2.11
14 BuildRequires:  SDL_image-devel >= 1.2.5
15 BuildRequires:  SDL_mixer-devel >= 1.2.7
16 BuildRequires:  libogg-devel
17 BuildRequires:  libpng-devel
18 BuildRequires:  libvorbis-devel
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Amoebax is a cute and addictive puzzle game. Due an awful mutation,
24 some amoeba's species have started to multiply until they take the
25 world if you can't stop them. Fortunately the mutation made then too
26 unstable and lining up four or more will make them disappear.
27
28 %description -l pl.UTF-8
29 Amoebax jest ładną i uzależniającą grą logiczną. W wyniku straszliwej
30 mutacji pewien gatunek ameby zaczął się rozmnażać i może opanować
31 świat jeśli gracz go nie powstrzyma. Na szczęście mutacja jest bardzo
32 niestabilna i połączenie czterech lub więcej osobników tego samego
33 typu powoduje ich znikanie.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install data/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
52 install data/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS NEWS README THANKS doc/manual.pdf
60 %attr(755,root,root) %{_bindir}/%{name}
61 %{_datadir}/%{name}
62 %{_mandir}/man6/*.6*
63 %{_desktopdir}/%{name}.desktop
64 %{_pixmapsdir}/%{name}.svg
This page took 0.075145 seconds and 3 git commands to generate.