Summary(pl): tf - TinyFugue - tekstowy klient do MUD-ów
Name: tf
Version: 40s1
-Release: 1
+Release: 2
License: GPL
Group: Applications/Games
Vendor: Ken Keys (Hawkeye) <hawkeye@tf.tcp.com>
Source0: ftp://tf.tcp.com/pub/tinyfugue/%{name}-%{version}.tar.gz
+# Source0-md5: db6fa9a1aac0b7f199567d81c4b5c81d
Patch0: %{name}-filenames.patch
URL: http://tf.tcp.com/~hawkeye/tf/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cat << EOF >> unix/Config
TF="\${T_BIN}/tf-\${TFVER}"
LIBDIR="\${T_SHARE}/tf"
-SYMLINK="$RPM_BUILD_ROOT/usr/bin/tf"
+SYMLINK="$RPM_BUILD_ROOT%{_bindir}/tf"
MAILDIR="/var/mail"
-MANPAGE="/usr/share/man/man1/tf.1"
+MANPAGE="%{_mandir}/man1/tf.1"
MANTYPE="nroff"
-CCFLAGS="$RPM_OPT_FLAGS"
+CCFLAGS="%{rpmcflags}"
EOF
cat unix/Config.orig >> unix/Config
%defattr(644,root,root,755)
%doc CHANGES CREDITS README
%attr(755,root,root) %{_bindir}/%{name}
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*tf
+%{_datadir}/%{name}/tf-help*
%{_mandir}/man1/tf.1*