]> git.pld-linux.org Git - packages/t3.git/blob - t3.spec
- tabs in preamble
[packages/t3.git] / t3.spec
1 Summary:        3-D extrapolation of tetris
2 Summary(pl.UTF-8):      Trójwymiarowa ekstrapolacja tetrisa
3 Name:           t3
4 Version:        04.12.20
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Games
8 Source0:        http://dl.sourceforge.net/t-3/%{name}-%{version}-beta.tgz
9 # Source0-md5:  689ac1f91b8fe66f9593ccf44f3ee33f
10 Patch0:         %{name}-makefile.patch
11 URL:            http://t-3.sourceforge.net/
12 BuildRequires:  glut-devel
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtiff-devel
15 BuildRequires:  sed >= 4.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 T^3 ("T-cubed") is the 3-D extrapolation of the widely popular
20 puzzle-arcade game, Tetris(tm). Whereas the objective of the classical
21 Tetris(tm) game was to arrange falling pieces into horizontal lines,
22 the objective of T^3 is to form square surfaces.
23
24 %description -l pl.UTF-8
25 T^3 ("T-sześcienny") jest trójwymiarową ekstrapolacją popularnej gry
26 Tetris(tm). Celem klasycznego Tetrisa(tm) jest ułożenie spadających
27 klocków w poziome linie, natomiast celem T^3 jest ułożenie
28 kwadratowych powierzchni.
29
30 %prep
31 %setup -q -n %{name}
32 %patch0 -p1
33
34 sed -i "s,data,%{_datadir}/%{name}/&," src/t3.cpp
35
36 %build
37 %{__make} \
38         CPPFLAGS="%{rpmcflags} -I../include"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/data
44
45 install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
46 install data/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGELOG README
54 %attr(755,root,root) %{_bindir}/*
55 %{_datadir}/%{name}
This page took 0.065521 seconds and 3 git commands to generate.