fortune-mod-vl.spec 2.7 KB

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