]> git.pld-linux.org Git - packages/cxhextris.git/blob - cxhextris.spec
- changed all BuildRoot definitons
[packages/cxhextris.git] / cxhextris.spec
1 Summary: An X Window System color version of xhextris.
2 Name: cxhextris
3 Version: 1.0
4 Release: 15
5 Copyright: distributable
6 Group: Amusements/Games
7 Source: ftp://sunsite.unc.edu/pub/Linux/games/arcade/tetris/cxhextris.tar.z
8 Source1: cxhextris.wmconfig
9 Patch0: cxhextris-config.patch
10 Patch1: cxhextris-axp.patch
11 Patch2: cxhextris-security.patch
12 Prereq: /usr/X11R6/bin/mkfontdir
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 CXHextris is a color version of the popular xhextris game, which is a
17 Tetris-like game that uses hexagon shapes instead of square shapes.
18 CXHextris runs within the X Window System.
19
20 Install cxhextris if you enjoy playing Tetris or Tetris-like games and
21 you'd like to play one on your system.  You'll need to have X installed
22 in order to play CXHextris.
23
24 %description -l pl
25 CXHextris jest kolorow± wersj± popularnej gry xhextris, bêd±cej klonem
26 Tetrisa u¿ywaj±cym sze¶ciobocznych figur zamiast kwadratowych.
27 CXHextris uruchamia siê w ¶rodowisku X Window.
28
29 Nale¿y zainstalowaæ CXHextris je¶li lubi siê gry w rodzaju Tetris. Aby móc 
30 graæ w CXHextris nale¿y mieæ zainstalowane X Window.
31
32 %prep
33 %setup -q -n cxhextris
34 %patch -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 xmkmf
40 make
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 make DESTDIR=$RPM_BUILD_ROOT install install.man
46
47 mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
48 make FONTDIR=$RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts install.font
49
50 ( cd $RPM_BUILD_ROOT
51   mkdir -p ./etc/X11/wmconfig
52   install -m 644 $RPM_SOURCE_DIR/cxhextris.wmconfig ./etc/X11/wmconfig/cxhextris
53 )
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 (cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
60
61 %postun
62 (cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
63
64 %files
65 %defattr(-,root,root)
66 %doc README README.Linux
67 %attr(4755,games,games) /usr/X11R6/bin/xhextris
68 /usr/X11R6/lib/X11/fonts/misc/hex20.pcf
69 %attr(-,games,games)    /var/lib/games/xhextris-scores
70 /etc/X11/wmconfig/cxhextris
This page took 0.054807 seconds and 4 git commands to generate.