]>
Commit | Line | Data |
---|---|---|
be0ae6b8 | 1 | Summary: 3-D extrapolation of tetris |
4f4880df | 2 | Summary(pl.UTF-8): Trójwymiarowa ekstrapolacja tetrisa |
be0ae6b8 | 3 | Name: t3 |
903d468d | 4 | Version: 04.12.20 |
164c531b | 5 | Release: 2 |
be0ae6b8 | 6 | License: GPL v2 |
7 | Group: Applications/Games | |
8 | Source0: http://dl.sourceforge.net/t-3/%{name}-%{version}-beta.tgz | |
903d468d | 9 | # Source0-md5: 689ac1f91b8fe66f9593ccf44f3ee33f |
be0ae6b8 | 10 | Patch0: %{name}-makefile.patch |
11 | URL: http://t-3.sourceforge.net/ | |
12 | BuildRequires: glut-devel | |
7d211c33 | 13 | BuildRequires: libstdc++-devel |
755f6c2b | 14 | BuildRequires: libtiff-devel |
15 | BuildRequires: sed >= 4.0 | |
be0ae6b8 | 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 | ||
5df5ffd2 JR |
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 | |
be0ae6b8 | 28 | kwadratowych powierzchni. |
29 | ||
30 | %prep | |
31 | %setup -q -n %{name} | |
32 | %patch0 -p1 | |
1b938d78 | 33 | |
755f6c2b | 34 | sed -i "s,data,%{_datadir}/%{name}/&," src/t3.cpp |
be0ae6b8 | 35 | |
36 | %build | |
755f6c2b | 37 | %{__make} \ |
38 | CPPFLAGS="%{rpmcflags} -I../include" | |
be0ae6b8 | 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) | |
25f7c246 | 53 | %doc CHANGELOG README |
be0ae6b8 | 54 | %attr(755,root,root) %{_bindir}/* |
0569917f | 55 | %{_datadir}/%{name} |