]> git.pld-linux.org Git - packages/Shaaft.git/blob - Shaaft.spec
- tabs in preamble
[packages/Shaaft.git] / Shaaft.spec
1 Summary:        Falling block game resembling Blockout
2 Summary(pl.UTF-8):      Gra w spadające klocki przypominająca Blockout
3 Name:           Shaaft
4 Version:        0.5.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/criticalmass/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c86524f286c60e3fd45b10d023a92db2
10 Patch0:         %{name}-types.patch
11 URL:            http://criticalmass.sourceforge.net/shaaft.php
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_image-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libpng-devel
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
23
24 %description
25 Shaaft is a falling block game resembling Blockout. It is a 3D Tetris
26 clone.
27
28 %description -l pl.UTF-8
29 Shaaft to gra w spadające klocki przypominająca Blockout. To
30 trójwymiarowy klon Tetrisa.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__aclocal}
38 %{__automake} --include-deps
39 %{__autoconf}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 # this one gets installed by author's mistake
50 rm -f $RPM_BUILD_ROOT%{_bindir}/Packer
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc TODO.txt
58 %attr(755,root,root) %{_bindir}/*
59 %{_datadir}/Shaaft
60 %{_mandir}/man6/*
This page took 0.054916 seconds and 3 git commands to generate.