]> git.pld-linux.org Git - SPECS.git/blob - ppracer.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / ppracer.spec
1 Summary:        Race down mountainous terrain with Tux!
2 Summary(pl.UTF-8):      Zjeżdżaj z Tuksem w górzystym terenie!
3 Summary(pt_BR.UTF-8):   Corra montanha abaixo com o Tux!
4 Name:           ppracer
5 Version:        0.3.1
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Source0:        http://download.berlios.de/ppracer/%{name}-%{version}.tar.bz2
10 # Source0-md5:  fa80d5dc1e4b63edf05d27b2e86637ec
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 URL:            http://projects.planetpenguin.de/racer/
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  SDL-devel
16 BuildRequires:  SDL_mixer-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  tcl-devel >= 8.4.3
21 Requires:       OpenGL
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
25
26 %description
27 PP Racer lets you take on the role of Tux the Linux Penguin as he
28 races down steep, snow-covered mountains. Enter cups and compete to
29 win the title! PP Racer includes a variety of options for gameplay,
30 including the ability to race courses in fog, at night, and under high
31 winds.
32
33 %description -l pl.UTF-8
34 PP Racer pozwala wcielić się w rolę Tuksa, linuksowego Pingwina
35 podczas zjazdu w dół pokrytych śniegiem gór. Weź udział w zawodach i
36 zdobądź tytuł! PP Racer zawiera wiele opcji, między innymi możliwość
37 zjeżdżania we mgle, w nocy i podczas silnego wiatru.
38
39 %description -l pt_BR.UTF-8
40 O objetivo do PP Racer é diversão! Corra montanha abaixo tão rápido 
41 quanto possível e capture peixes para aumentar sua pontuação!
42
43 %prep
44 %setup -q 
45
46 %build
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 CPPFLAGS="%{rpmcflags} -DGLX_GLXEXT_LEGACY"
51 %configure \
52         --with-data-dir=%{_datadir}/%{name}
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS NEWS README ChangeLog
71 %attr(755,root,root) %{_bindir}/%{name}
72 %{_datadir}/%{name}
73 %{_desktopdir}/*.desktop
74 %{_pixmapsdir}/*
This page took 0.168786 seconds and 3 git commands to generate.