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