1Summary: Colorful X solitaire Mah Jongg game 2 3Name: xmahjongg 4Version: 3.7 5Release: 1 6Source: http://www.lcdf.org/xmahjongg/xmahjongg-3.7.tar.gz 7 8Icon: logo.gif 9URL: http://www.lcdf.org/xmahjongg/ 10 11Group: X11/Games 12Vendor: Little Cambridgeport Design Factory 13Packager: Eddie Kohler <eddietwo@lcs.mit.edu> 14Copyright: GPL 15 16BuildRoot: /tmp/xmahjongg-build 17 18%description 19Real Mah Jongg is a social game that originated in 20China thousands of years ago. Four players, named 21after the four winds, take tiles from a wall in 22turn. The best tiles are made of ivory and wood; 23they click pleasantly when you knock them 24together. Computer Solitaire Mah Jongg (xmahjongg 25being one of the sillier examples) is nothing like 26that but it's fun, or it must be, since there are 27like 300 shareware versions available for Windows. 28This is for X11 and it's free. 29 30%prep 31%setup 32 33%build 34CFLAGS="$RPM_OPT_FLAGS" ./configure --datadir=/usr/X11R6/lib/X11 35make 36 37%install 38rm -rf $RPM_BUILD_ROOT 39mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin $RPM_BUILD_ROOT/usr/X11R6/man/man6 40install -c -s xmahjongg $RPM_BUILD_ROOT/usr/X11R6/bin/xmahjongg 41install -c -m 644 xmahjongg.6 $RPM_BUILD_ROOT/usr/X11R6/man/man6/xmahjongg.6 42make pkgdatadir="$RPM_BUILD_ROOT/usr/X11R6/lib/X11/xmahjongg" install-share 43 44%clean 45rm -rf $RPM_BUILD_ROOT 46 47%post 48 49%files 50%attr(-,root,root) %doc NEWS README 51%attr(0755,root,root) /usr/X11R6/bin/xmahjongg 52%attr(0644,root,root) /usr/X11R6/man/man6/xmahjongg.6* 53%attr(-,root,root) /usr/X11R6/lib/X11/xmahjongg 54