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