source: projects/specs/trunk/f/fortune-mod/fortune-mod-vl.spec @ 8068

Revision 8068, 2.7 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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