- massive attack: source-md5
[packages/tf.git] / tf.spec
1 Summary:        tf - TinyFugue - MUD client
2 Summary(pl):    tf - TinyFugue - tekstowy klient do MUD-ów
3 Name:           tf
4 Version:        40s1
5 Release:        2
6 License:        GPL
7 Group:          Applications/Games
8 Vendor:         Ken Keys (Hawkeye) <hawkeye@tf.tcp.com>
9 Source0:        ftp://tf.tcp.com/pub/tinyfugue/%{name}-%{version}.tar.gz
10 # Source0-md5:  db6fa9a1aac0b7f199567d81c4b5c81d
11 Patch0:         %{name}-filenames.patch
12 URL:            http://tf.tcp.com/~hawkeye/tf/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user
17 to dive into one the most fascinating
18 Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Just Enter "tf" and
19 enjoy your game.
20
21 %description -l pl
22 Po prostu jeden z najlepszych, je¶li nie najlepszy klient do gry w
23 MUD-y. Oczywi¶cie dla trybu tekstowego :).
24
25 %prep
26 %setup -q
27 %patch0 -p1
28 mv -f unix/Config unix/Config.orig
29 cat << EOF >> unix/Config
30 TF="\${T_BIN}/tf-\${TFVER}"
31 LIBDIR="\${T_SHARE}/tf"
32 SYMLINK="$RPM_BUILD_ROOT%{_bindir}/tf"
33 MAILDIR="/var/mail"
34 MANPAGE="%{_mandir}/man1/tf.1"
35 MANTYPE="nroff"
36 CCFLAGS="%{rpmcflags}"
37 EOF
38 cat unix/Config.orig >> unix/Config
39
40 %build
41 T_BIN="%{_bindir}"
42 T_SHARE="%{_datadir}"
43 export T_BIN T_SHARE
44 ans=y sh unixmake files
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}}
49 install src/tf  $RPM_BUILD_ROOT%{_bindir}/%{name}
50 install tf-lib/*  $RPM_BUILD_ROOT%{_datadir}/%{name}
51 install src/tf.1.nroffman $RPM_BUILD_ROOT%{_mandir}/man1/tf.1
52
53 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
54 mv kb-bash.tf bind-bash.tf
55 mv kb-emacs.tf bind-emacs.tf
56 mv complete.tf completion.tf
57 mv factoral.tf factorial.tf
58 mv filexfer.tf file-xfer.tf
59 mv local-eg.tf local.tf.sample
60 mv psh.tf pref-shell.tf
61 mv spc-page.tf space_page.tf
62 mv spedwalk.tf speedwalk.tf
63 mv stack-q.tf stack-queue.tf
64 mv world-q.tf worldqueue.tf
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc CHANGES CREDITS README
72 %attr(755,root,root) %{_bindir}/%{name}
73 %dir %{_datadir}/%{name}
74 %{_datadir}/%{name}/*tf
75 %{_datadir}/%{name}/tf-help*
76 %{_mandir}/man1/tf.1*
This page took 0.0322 seconds and 3 git commands to generate.