1# 2# spec file for package xscrabble (Version 2.12) 3# 4# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. 5# This file and all modifications and additions to the pristine 6# package are under the same license as the package itself. 7# 8# Please submit bugfixes or comments via http://www.suse.de/feedback/ 9# 10 11# norootforbuild 12# neededforbuild XFree86 x-devel-packages 13 14BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils expat fontconfig fontconfig-devel gcc gdbm gettext libtool perl rpm xorg-x11 xorg-x11-devel xorg-x11-libs 15 16Name: xscrabble 17Summary: X version of the popular board game, for 1 to 4 players 18Group: Amusements/Games/Board/Other 19PreReq: permissions 20License: GPL 21Version: 2.12 22Release: 1 23URL: ftp://ftp.ac-grenoble.fr/ge/educational_games 24Source0: %{name}-%{version}.tar.bz2 25Source1: %{name}_en.tgz 26Source2: %{name}_fr.tgz 27Patch: %{name}-%{version}.patch 28BuildRoot: %{_tmppath}/%{name}-%{version}-build 29 30%description 31X version of the popular board game, for 1 to 4 players. 32 33 34 35Authors: 36-------- 37 matt@belgarath.demon.co.uk 38 39%debug_package 40%prep 41%setup -a1 -a2 42%patch 43 44%build 45./build bin 46 47%install 48export PATH="/usr/X11R6/bin/:$PATH" 49rm -rf $RPM_BUILD_ROOT 50DESTDIR=$RPM_BUILD_ROOT ./build install 51DESTDIR=$RPM_BUILD_ROOT ./build lang fr 52DESTDIR=$RPM_BUILD_ROOT ./build lang en 53 54%clean 55rm -rf $RPM_BUILD_ROOT 56 57%post 58%run_permissions 59 60%verifyscript 61%verify_permissions -e /usr/games/xscrab 62 63%files 64%defattr(-,root,root) 65%doc CHANGES LICENSE README 66%verify(not mode) %attr(0755,games,games) /usr/games/xscrab 67/usr/games/xscrabble 68/usr/share/games/scrabble/ 69/etc/X11/app-defaults/* 70%config(noreplace) %attr(664,games,games) /var/games/scrabble* 71 72%changelog -n xscrabble 73* Mon Jan 12 2004 - adrian@suse.de 74- fix build again 75* Sun Jan 11 2004 - adrian@suse.de 76- use x-devel-packages 77* Mon Nov 03 2003 - ltinkl@suse.cz 78- package according to permissions.secure and call run_permissions 79* Sun Aug 04 2002 - ro@suse.de 80- group name changed "game" -> "games" 81* Wed Jun 26 2002 - pmladek@suse.cz 82- score files: 83 * moved from /usr/share/games/... to /var/games/ 84 * fixed rights to 664 85 * fixed owner to games:game 86 * marked as %%config(noreplace) 87- set group ID for /usr/games/xscrab to enable to write in score files 88- merged rights patch 89* Tue Mar 05 2002 - pmladek@suse.cz 90- fixed rights for directories [#14414] 91* Fri Feb 22 2002 - pmladek@suse.cz 92- fixed paths to /usr/share/games 93- fixed font settings 94- default language is English now 95* Fri Jan 11 2002 - ro@suse.de 96- no subdirs in /usr/games 97* Fri Oct 26 2001 - pmladek@suse.cz 98- package created, version 2.10 99- default language is French 100