]> git.pld-linux.org Git - packages/tf.git/blobdiff - tf.spec
- use proper CFLAGS, added missing help file (#414); release 2
[packages/tf.git] / tf.spec
diff --git a/tf.spec b/tf.spec
index 8c60d7a2afd8b9d7f6f1bee9c116d94359093a63..65099fb3e8bb5ec154570854458c1bbcf16135fb 100644 (file)
--- a/tf.spec
+++ b/tf.spec
@@ -2,7 +2,7 @@ Summary:        tf - TinyFugue - MUD client
 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>
@@ -28,11 +28,11 @@ mv -f unix/Config unix/Config.orig
 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
 
@@ -69,5 +69,7 @@ rm -rf $RPM_BUILD_ROOT
 %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*
This page took 0.062385 seconds and 4 git commands to generate.