]> git.pld-linux.org Git - packages/cxhextris.git/blob - cxhextris.spec
- release 29 (by relup.sh)
[packages/cxhextris.git] / cxhextris.spec
1 Summary:        An X Window System color version of xhextris
2 Summary(de.UTF-8):      Farbige X11-Version von Hextris
3 Summary(fr.UTF-8):      Version X11 en couleurs d'hextris
4 Summary(pl.UTF-8):      Kolorowa wersja gry xhextris pod X Window
5 Summary(ru.UTF-8):      Цветная версия hextris для X11
6 Summary(tr.UTF-8):      Düşen blokları yerleştirme oyunu
7 Summary(uk.UTF-8):      Кольорова версія hextris для X11
8 Name:           cxhextris
9 Version:        1.0
10 Release:        29
11 License:        distributable
12 Group:          X11/Applications/Games
13 Source0:        ftp://sunsite.unc.edu/pub/Linux/games/arcade/tetris/%{name}.tar.z
14 # Source0-md5:  64fce30ebb859bcce0ff4f91f4ece0a8
15 Source1:        %{name}.desktop
16 Source2:        %{name}.png
17 Patch0:         %{name}-config.patch
18 Patch1:         %{name}-axp.patch
19 Patch2:         %{name}-security.patch
20 BuildRequires:  xorg-cf-files
21 BuildRequires:  xorg-lib-libXext-devel
22 BuildRequires:  xorg-util-imake
23 Requires(post,postun):  fontpostinst
24 Requires:       %{_fontsdir}/misc
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 CXHextris is a color version of the popular xhextris game, which is a
29 Tetris-like game that uses hexagon shapes instead of square shapes.
30 CXHextris runs within the X Window System.
31
32 Install cxhextris if you enjoy playing Tetris or Tetris-like games and
33 you'd like to play one on your system. You'll need to have X installed
34 in order to play CXHextris.
35
36 %description -l de.UTF-8
37 cxhextrix ist eine Farbversion des populären hextris, beides nahe
38 Verwandte des klassischen T*tris Video-Games, bei dem unregelmäßig
39 geformte Blöcke perfekt aufeinander gestapelt werden müssen.
40 Voraussetzung ist, daß X-Window korrekt funktioniert.
41
42 %description -l fr.UTF-8
43 cxhextrix est une version en couleurs du célèbre hextris. Tous deux
44 sont des clones du célèbre jeu vidéo T*tris, où l'on doit essayer
45 d'empiler parfaitement des blocs avec des formes curieuses. Ce jeu
46 nécessite X Window pour fonctionner correctement.
47
48 %description -l pl.UTF-8
49 CXHextris jest kolorową wersją popularnej gry xhextris, będącej klonem
50 Tetrisa używającym sześciobocznych figur zamiast kwadratowych.
51 CXHextris uruchamia się w środowisku X Window.
52
53 Należy zainstalować CXHextris jeśli lubi się gry w rodzaju Tetris. Aby
54 móc grać w CXHextris należy mieć zainstalowane X Window.
55
56 %description -l ru.UTF-8
57 CXHextris - это цветная версия популярной игры xhextris, которая
58 является Tetris-подобной игрой, использующей шестиугольники вместо
59 квадратов. Эта игра требует для своей работы X Window.
60
61 %description -l tr.UTF-8
62 cxhextrix, hextris'in renkli sürümüdür. Her ikisi de, garip şekilli
63 blokların - arada boşluk bırakılmadan - bir yığın haline getirilmeye
64 çalışıldığı Tetris oyununa benzer.
65
66 %description -l uk.UTF-8
67 CXHextris - це кольорова версія популярної гри xhextris, яка подібна
68 до Tetris, але використовує шестикутники замість квадратів. Ця гра
69 потребує X Window.
70
71 %prep
72 %setup -q -n %{name}
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76
77 %build
78 xmkmf
79 %{__make} \
80         CC="%{__cc}" \
81         CDEBUGFLAGS="%{rpmcflags}" \
82         FONTDIR=%{_fontsdir}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{/usr/share/fonts/misc,%{_desktopdir},%{_pixmapsdir}}
87
88 %{__make} install install.man \
89         BINDIR=%{_bindir} \
90         MANDIR=%{_mandir}/man1 \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 install hex20.pcf $RPM_BUILD_ROOT%{_fontsdir}/misc
94
95 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
96 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post
102 fontpostinst misc
103
104 %postun
105 fontpostinst misc
106
107 %files
108 %defattr(644,root,root,755)
109 %doc README README.Linux
110 %attr(2755,root,games) %{_bindir}/xhextris
111 %{_fontsdir}/misc/hex20.pcf
112 %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/xhextris-scores
113 %{_mandir}/man1/xhextris.1*
114 %{_desktopdir}/*.desktop
115 %{_pixmapsdir}/*
This page took 0.065108 seconds and 4 git commands to generate.