]> git.pld-linux.org Git - packages/toppler.git/blob - toppler.spec
- up to 1.1.4
[packages/toppler.git] / toppler.spec
1 Summary:        'Jump and run' game
2 Summary(pl.UTF-8):      Gra z rodzaju 'skacz i biegnij'
3 Name:           toppler
4 Version:        1.1.4
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://downloads.sourceforge.net/toppler/%{name}-%{version}.tar.gz
9 # Source0-md5:  6420ae91afdb75d8c6191d4de6e90e88
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-Makefile.patch
12 Patch1:         %{name}-locale.patch
13 URL:            http://toppler.sourceforge.net/
14 BuildRequires:  SDL-devel >= 1.2
15 BuildRequires:  SDL_mixer-devel >= 1.2
16 BuildRequires:  autoconf >= 2.50
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel >= 0.11.5
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtool
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _localstatedir  /var/games
25
26 %description
27 In this game player helps a cute little green animal switch off some
28 kind of "evil" mechanism. The "power off switch" is hidden somewhere
29 in high towers. On his way to the target he needs to avoid a lot of
30 strange robots that guard the tower. That sounds all like a normal
31 jump and run game. What makes this game different is that you walk
32 arond the tower which is revolving on the screen, so that you only see
33 the 180° that are currently visible.
34
35 %description -l pl.UTF-8
36 W tej grze gracz pomaga małemu, sprytnemu, zielonemu zwierzątku
37 wyłączyć pewnego rodzaju "diabelskie" mechanizmy. "Wyłącznik siły"
38 jest ukryty gdzieś w wysokiej wieży. Na jego drodze do celu musi
39 unikać wielu dziwnych robotów które strzegą wieży. Wszystko to brzmi
40 jak zwykła gra z rodzaju "skacz i biegnij". To czym różni się ta gra
41 od innych tego typu jest to, że spacerujesz wokół wieży, która obraca
42 się na ekranie, tak więc widoczne jest tylko 180°.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 mv -f po/{cz,cs}.po
50
51 %build
52 %{__gettextize}
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_bindir}/toppler
79 %{_datadir}/%{name}
80 %{_desktopdir}/%{name}.desktop
81 %{_mandir}/man6/toppler.6*
82 %{_pixmapsdir}/toppler.xpm
83 %dir %{_var}/games/toppler
84 %attr(664,root,games) %{_var}/games/%{name}/%{name}.hsc
This page took 0.09611 seconds and 3 git commands to generate.