1 Summary: 3-D extrapolation of tetris
2 Summary(pl.UTF-8): Trójwymiarowa ekstrapolacja tetrisa
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)
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.
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.
34 sed -i "s,data,%{_datadir}/%{name}/&," src/t3.cpp
38 CPPFLAGS="%{rpmcflags} -I../include"
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/data
45 install %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
46 install data/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*