5dba9c2f |
1 | Summary: tf - TinyFugue - MUD client |
2 | Summary(pl): tf - TinyFugue - tekstowy klient do MUDow |
3 | Name: tf |
4 | Version: 40s1 |
5 | Release: 1 |
6 | License: GPL |
7 | Group: Aplications/games |
8 | Group(pl): Aplikacje/gry |
9 | Vendor: Ken Keys (Hawkeye) <hawkeye@tf.tcp.com> |
10 | URL: http://tf.tcp.com/~hawkeye/tf/ |
11 | Source0: ftp://tf.tcp.com/pub/tinyfugue/%{name}-%{version}.tar.gz |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | |
14 | %define _prefix /usr/bin |
15 | |
16 | %description |
17 | TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user to dive |
18 | into one the most fascinating |
19 | Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. |
20 | Just Enter "tf" and enjoy your game. |
21 | %description -l pl |
22 | Po prostu jeden z najlepszych , jesli nie najlepszy klient do gry w MUDy. |
23 | Oczywiscie dla trybu tekstowego :) . |
24 | %prep |
25 | |
26 | %setup -n %name-%version |
27 | mv unix/Config unix/Config.orig |
28 | cat << EOF >> unix/Config |
29 | TF="\${T_BIN}/tf-\${TFVER}" |
30 | LIBDIR="\${T_SHARE}/tf-\${TFVER}" |
31 | SYMLINK="/$RPM_BUILD_ROOT/usr/bin/tf" |
32 | MANTYPE="nroff" |
33 | MANPAGE="/usr/man/man1/tf.1" |
34 | CCFLAGS="$RPM_OPT_FLAGS" |
35 | EOF |
36 | cat unix/Config.orig >> unix/Config |
37 | export T_BIN="/usr/bin" |
38 | export T_SHARE="/usr/share" |
39 | %build |
40 | export T_BIN="/usr/bin" |
41 | export T_SHARE="/usr/share" |
42 | ans=y sh unixmake files |
43 | |
44 | %install |
45 | if [ -d $RPM_BUILD_ROOT ]; then |
46 | rm -rf $RPM_BUILD_ROOT |
47 | fi |
48 | mkdir $RPM_BUILD_ROOT |
49 | mkdir $RPM_BUILD_ROOT/usr |
50 | mkdir $RPM_BUILD_ROOT/usr/bin |
51 | mkdir $RPM_BUILD_ROOT/usr/share |
52 | export T_BIN="$RPM_BUILD_ROOT/usr/bin" |
53 | export T_SHARE="$RPM_BUILD_ROOT/usr/share" |
54 | ans=y sh unixmake reconfigure |
55 | sh unixmake install |
56 | #cd /$RPM_BUILD_ROOT/usr/share/doc/tf-${TFVER} |
57 | gzip -9nf CHANGES COPYING CREDITS README |
58 | #cd $RPM_BUILD_ROOT/usr/bin/ |
59 | %clean |
60 | sh unixmake clean |
61 | |
62 | %post |
63 | cd /usr/bin |
64 | ln -s ./%name-%version ./tf |
65 | |
66 | %postun |
67 | rm /usr/bin/tf |
68 | |
69 | %files |
70 | %defattr(644,root,root,755) |
71 | %attr(755,root,root) /usr/bin/%name-%version |
72 | /usr/share/%name-%version |
73 | %doc *.gz |
74 | #%doc CHANGES COPYING CREDITS README |
75 | |
76 | %changelog |
77 | * %{date} PLD Team <pld-list@pld.org.pl> |
78 | All persons listed below can be reached at <cvs_login>@pld.org.pl |
79 | |
80 | $Log: tf.spec,v $ |
81 | Revision 1.1 2001-10-16 21:50:43 qwark |
82 | it's itial relase after some troubles with tf install script |
83 | Added Files: |
84 | tf.spec |
85 | |
86 | Revision 1.0 2001/10/17 23:50:53 qwark |
87 | - initial release |
88 | Based on spec written for RH |