Name: fortune-cs Version: 1.3.1 Release: 1 BuildArchitectures: noarch Source: ftp://ftp.phil.muni.cz/pub/local/fortune/%{name}-%{version}.tar.bz2 Source1: x-fortune-cs.sh Source2: x-fortune-cs.csh Patch0: fortune-cs-path.patch Icon: smile35x34.gif Url: ftp://ftp.phil.muni.cz/pub/local/fortune/ Copyright: GPL Group: Amusements/Games Group(cs): Zábava/Hry Vendor: Zdenek Pytela #Vendor: Zdenek Pytela #Packager: Zdenek Pytela Packager: Milan Kerslager #Distribution: Red Hat Contrib|Net Requires: fortune-mod >= 1.0-13 BuildRoot: /tmp/fortune-root Summary: Database of the Czech and Slovak fortune cookies Summary(cs): České a slovenské fortunes %description This is a database of the Czech and Slovak cookies for the fortune(6) program. It requires fortune-mod RPM installed. %description -l cs Databáze českých a slovenských cookies pro program fortune(6). Ke své funkci potřebuje RPM balíček fortune-mod. %prep %setup -q %patch0 -p1 -b .path #set # uncomment for debugging purposes %build %install PREFIX=$RPM_BUILD_ROOT sh ./install.sh install -d $RPM_BUILD_ROOT/etc/profile.d install -m755 $RPM_SOURCE_DIR/x-fortune-cs.sh \ $RPM_BUILD_ROOT/etc/profile.d/x-fortune-cs.sh install -m755 $RPM_SOURCE_DIR/x-fortune-cs.csh \ $RPM_BUILD_ROOT/etc/profile.d/x-fortune-cs.csh %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc HISTORIE LICENSE README fortune-cs.lsm /usr/share/games/fortune/cs %config %attr(755,root,root) /etc/profile.d/x-fortune-cs.sh %config %attr(755,root,root) /etc/profile.d/x-fortune-cs.csh %post if [ -r /etc/csh.cshrc -a ! -r /etc/csh.login ] then echo %{name}: You have probably broken version of /etc/csh.* files 1>&2 #mv /etc/csh.cshrc /etc/csh.login #echo %{name}: /etc/csh.cshrc moved to /etc/csh.login 1>&2 fi %changelog * Wed Nov 8 2000 Milan Kerslager - update to v1.3.1 & rebuild for 7.0 - patch fixed - /usr/share/games/fortunes -> /usr/share/games/fortune * Sat Apr 15 2000 Milan Kerslager - proper defattr and attr, Group(cs) added * Fri Mar 31 2000 Zdenek Pytela - updates for RH 6.2 (version 1.3) - unifying the if's in the script * Sun Oct 3 1999 Milan Kerslager - updated for 6.1cz (version 1.2.3.3) * Sun Sep 26 1999 Milan Kerslager - updated, deleted postun script * Fri Aug 27 1999 Zdenek Pytela - update to version 1.2.2, pgp signed * Thu Jul 15 1999 Milan Kerslager - cosmetic changes in spec file * Wed Jun 30 1999 Milan Kerslager - scripts in /etc/profile.d/ can't have exit command in their body !!! (kdm, xdm, ...) * Tue May 25 1999 Zdenek Pytela - update to 1.2 version - minor changes and typo corrections in scripts * Fri May 21 1999 Milan Kerslager - scripts in /etc/profile.d renamed to be interpretted AFTER lang.{,c}sh - added support for ~/.fortune * Wed May 19 1999 Milan Kerslager - better handling /etc/profile.d & csh bug - minor fixes in /etc/profile.d/fortune-cs.{,c}sh - group changed to match with fortune-mod package * Thu Apr 29 1999 Zdenek Pytela - update to 1.1.9b8 version - light simplification, test for dumb terminals - added .lsm entry * Tue Mar 4 1999 Milan Kerslager - RH bug (fortune-cs.csh can't be in /etc/profile.d) * Tue Mar 2 1999 Milan Kerslager - fortunes updated to the 1.1.8b2 release - added czech desription - added test to fortune.{sh,csh} - 1.1 release date fix - file attr fix (two times, but now I know how to do it!) - packager changed * Fri Nov 20 1998 Jan "Yenya" Kasprzak - added RHCN info. RHCN is finally up!!! * Tue Oct 13 1998 Jan "Yenya" Kasprzak - updated to the 1.1 release - deleted the RHCN info - it still seems RHCN is dead. - directory cs-il2 renamed to cs (as ISO 8859-2 is the default). * Thu Apr 2 1998 Jan "Yenya" Kasprzak - updated to the official 1.0 release - made the package buildrooted - made the spec file using %attr - changed the Packager and Distribution for the RHCN.