Name: xpexeso Version: 19990907 Release: 13 Source: ftp://math.feld.cvut.cz/pub/olsak/xpexeso/%{name}-%{version}.tar.gz Source1: xpexeso.desktop Source2: xpexeso.kde Source3: xpexeso.gnome Source4: xpexeso.xpm Source5: ftp://math.feld.cvut.cz/pub/olsak/xpexeso/vprirode.tar.gz patch0: xpexeso.patch Icon: xpexeso.gif URL: http://math.feld.cvut.cz/olsak/xpexeso.html Copyright: GPL Group: Amusements/Games Packager: Milan Kerslager Vendor: Petr Olsak Requires: XFree86 BuildRoot: /tmp/xpexeso-root Summary: xpexeso - an X Window System game with 64 picture cards %description Pexeso is a game for two or more players. If the xpexeso program is used, some players can be substituted by computer. The game includes 64 picture cards coupled into pairs. There are 32 pictures (the same picture on each pair). The backside of all cards is common for all cards. The winner is usually the player with a better "short" memory. You have to remember the position and contents of cards. The program xpexeso emulates the classical game PEXESO, which is widely played by children. The program is implemented for X Window System. %prep %setup -q -n %{name} tar xzf %{S:5} -C .. %patch0 -p1 -b .orig %build xmkmf # a workaround :-( touch xpexeso.man make rm -f xpexeso.man xpexeso._man %install mkdir -p $RPM_BUILD_ROOT/usr/bin/../share/xpexeso mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Games mkdir -p $RPM_BUILD_ROOT/usr/share/applnk/Games mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/apps/Games mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/../icons/mini make PREFIX=$RPM_BUILD_ROOT install install -m755 $RPM_SOURCE_DIR/xpexeso.desktop \ $RPM_BUILD_ROOT/etc/X11/applnk/Games/xpexeso.desktop install -m755 $RPM_SOURCE_DIR/xpexeso.kde \ $RPM_BUILD_ROOT/usr/share/applnk/Games/xpexeso.kdelnk install -m755 $RPM_SOURCE_DIR/xpexeso.gnome \ $RPM_BUILD_ROOT/usr/share/gnome/apps/Games/xpexeso.desktop install -m755 $RPM_SOURCE_DIR/xpexeso.xpm \ $RPM_BUILD_ROOT/usr/share/icons/mini/xpexeso.xpm ln -s ../icons/mini/xpexeso.xpm \ $RPM_BUILD_ROOT/usr/share/pixmaps/xpexeso.xpm %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) /usr/share/xpexeso %attr(0755,root,root) /usr/bin/xpexeso /etc/X11/applnk/Games/xpexeso.desktop /usr/share/applnk/Games/xpexeso.kdelnk /usr/share/gnome/apps/Games/xpexeso.desktop /usr/share/icons/mini/xpexeso.xpm /usr/share/pixmaps/xpexeso.xpm %doc README COPYING Xpexeso-cz Xpexeso-eng %changelog * Mon Jun 10 2002 Milan Kerslager - rebuild for RH 7.3 - vprirode pictures added - source URL changed to point to the author's FTP * Sun Apr 22 2001 Milan Kerslager - rebuild for RH 7.1 - URL change * Fri Feb 02 2001 Zdenek Pytela - /usr/lib changed to /usr/share - added applnk desktop link in place of the wmconfig one (wmconfig is dead?) - installation of the documentation * Wed Nov 8 2000 Milan Kerslager - rebuild for RH 7.0 * Tue Sep 07 1999 Zdenek Pytela - update to version 19990907/etc/X11/wmconfig/ - added entries for window managers * Mon Sep 06 1999 Zdenek Pytela - first release of package, version 19990720