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