]> git.pld-linux.org Git - packages/Slune.git/blob - Slune.spec
BR: rpmbuild(macros) >= 1.710
[packages/Slune.git] / Slune.spec
1 Summary:        A 3D action car game
2 Summary(pl.UTF-8):      Samochodowa gra akcji 3D
3 Name:           Slune
4 Version:        1.0.15
5 Release:        0.1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://download.gna.org/slune/%{name}-%{version}.tar.bz2
9 # Source0-md5:  100cf5ccda0b7fe38065a8b83dde82ab
10 Source1:        %{name}.desktop
11 URL:            http://home.gna.org/oomadness/en/slune/
12 BuildRequires:  rpmbuild(macros) >= 1.710
13 BuildRequires:  OpenAL-devel
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  SDL-devel
16 BuildRequires:  SDL_mixer-devel
17 BuildRequires:  libvorbis-devel
18 BuildRequires:  python-devel >= 2.2
19 Requires:       python-Py2Play
20 Requires:       python-Soya >= 0.14
21 Requires:       python-pyvorbis
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define _noautoreqdep   libGL.so.1 libGLU.so.1
25
26 %description
27 A game where the player, as a Penguin named Tux, tries to help fit the
28 AIDS epidemic in Africa.
29
30 %description -l pl.UTF-8
31 Gra, w której gracz, jako pingwin Tux, próbuje powstrzymać epidemię
32 AIDS w Afryce.
33
34 %prep
35 %setup -q
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
40
41 %py_install
42
43 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
44 install images/slune.48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
45
46 rm -f $RPM_BUILD_ROOT%{_datadir}/slune/*.py
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS CHANGES README*
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/slune
56 %{_desktopdir}/*.desktop
57 %{_pixmapsdir}/%{name}.png
This page took 0.059022 seconds and 3 git commands to generate.