]> git.pld-linux.org Git - packages/cxhextris.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:25 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cxhextris.spec -> 1.1

cxhextris.spec [new file with mode: 0644]

diff --git a/cxhextris.spec b/cxhextris.spec
new file mode 100644 (file)
index 0000000..6ec1802
--- /dev/null
@@ -0,0 +1,62 @@
+Summary: An X Window System color version of xhextris.
+Name: cxhextris
+Version: 1.0
+Release: 15
+Copyright: distributable
+Group: Amusements/Games
+Source: ftp://sunsite.unc.edu/pub/Linux/games/arcade/tetris/cxhextris.tar.z
+Source1: cxhextris.wmconfig
+Patch0: cxhextris-config.patch
+Patch1: cxhextris-axp.patch
+Patch2: cxhextris-security.patch
+Prereq: /usr/X11R6/bin/mkfontdir
+BuildRoot: /var/tmp/cxhextris-root
+
+%description
+CXHextris is a color version of the popular xhextris game, which is a
+Tetris-like game that uses hexagon shapes instead of square shapes.
+CXHextris runs within the X Window System.
+
+Install cxhextris if you enjoy playing Tetris or Tetris-like games and
+you'd like to play one on your system.  You'll need to have X installed
+in order to play CXHextris.
+
+%prep
+%setup -q -n cxhextris
+%patch -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+xmkmf
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make DESTDIR=$RPM_BUILD_ROOT install install.man
+
+mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
+make FONTDIR=$RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts install.font
+
+( cd $RPM_BUILD_ROOT
+  mkdir -p ./etc/X11/wmconfig
+  install -m 644 $RPM_SOURCE_DIR/cxhextris.wmconfig ./etc/X11/wmconfig/cxhextris
+)
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+(cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
+
+%postun
+(cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
+
+%files
+%defattr(-,root,root)
+%doc README README.Linux
+%attr(4755,games,games)        /usr/X11R6/bin/xhextris
+/usr/X11R6/lib/X11/fonts/misc/hex20.pcf
+%attr(-,games,games)   /var/lib/games/xhextris-scores
+/etc/X11/wmconfig/cxhextris
This page took 0.05302 seconds and 4 git commands to generate.