fortune-mod-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: A program which will display a fortune.
  2. Name: fortune-mod
  3. Version: 1.0
  4. Release: 11%{?_dist_release}
  5. License: BSD
  6. Group: Applications/Other
  7. Source: ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/fortune-mod-9708.tar.gz
  8. Patch0: fortune-mod-offense.patch
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. %description
  11. Fortune-mod contains the ever-popular fortune program, which will
  12. reveal a pithy quote or bit of advice. Fun-loving system
  13. administrators can add fortune to users' .login files, so that the
  14. users get their dose of wisdom each time they log in.
  15. Install fortune if you want a program which will bestow these random
  16. bits o' wit.
  17. %prep
  18. %setup -q -n fortune-mod-9708
  19. %patch0 -p1 -b .mike
  20. %build
  21. make
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p $RPM_BUILD_ROOT/usr/{games,sbin,share/games/fortune}
  25. mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man1,man6}
  26. make COOKIEDIR=/usr/share/games/fortunes fortune/fortune.man
  27. make FORTDIR=$RPM_BUILD_ROOT%{_bindir} \
  28. COOKIEDIR=$RPM_BUILD_ROOT/usr/share/games/fortunes \
  29. BINDIR=$RPM_BUILD_ROOT/usr/sbin \
  30. BINMANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
  31. FORTMANDIR=$RPM_BUILD_ROOT%{_mandir}/man6 \
  32. install
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root)
  37. %doc README ChangeLog TODO
  38. %{_bindir}/fortune
  39. /usr/sbin/strfile
  40. /usr/sbin/unstr
  41. /usr/share/games/fortunes
  42. %{_mandir}/man*/*
  43. %changelog
  44. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-11vl5
  45. - applied new versioning policy
  46. * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-11vl4
  47. - rebuilt with new toolchains
  48. - s/Copyright/License/
  49. - changed Group to Applications/Other
  50. - used %{_bindir} instead of /usr/games
  51. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-11vl3
  52. - rebuild to remove rpmlib dependancy
  53. * Fri Jun 08 2001 <sagami@vinelinux.org>
  54. - 1.0-11vl2: install manpages into %%{_mandir}
  55. * Tue Nov 7 2000 Kazuhisa TAKEI <takei@vinelinux.org> fortune-mod-1.0-11vl1
  56. - rebuild for Vine Linux
  57. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  58. - handle compressed man pages
  59. * Fri Jun 25 1999 Guido Flohr <gufl0000@stud.uni-sb.de>
  60. - create fortune manpage without buildroot before installation
  61. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  62. - auto rebuild in the new build environment (release 9)
  63. * Thu Dec 17 1998 Michael Maher <mike@redhat.com>
  64. - rebuilt for 6.0
  65. * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
  66. - build root
  67. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  68. - translations modified for de, fr, tr
  69. * Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
  70. - new version
  71. - spec file cleanups
  72. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  73. - built against glibc