]> git.pld-linux.org Git - packages/tf.git/blobdiff - tf.spec
- updated
[packages/tf.git] / tf.spec
diff --git a/tf.spec b/tf.spec
index a79149c65c8b7a281fd41cdc3628b8179b3f0fc9..f7beb14df201088274ecafa958494faf5001d7a8 100644 (file)
--- a/tf.spec
+++ b/tf.spec
@@ -1,18 +1,25 @@
+# html doc files aren't sync with tf releases
+# new tf releases contains mostly bug fixes, so
+# older docs should be ok
+%define                doc_ver         50b1
 Summary:       tf - TinyFugue - text-mode MUD client
 Summary(pl):   tf - TinyFugue - tekstowy klient do MUD-ów
 Name:          tf
-Version:       50b3
-Release:       0.1
+Version:       50b4
+Release:       1
 License:       GPL
 Group:         Applications/Games
 Vendor:                Ken Keys (Hawkeye) <hawkeye@tf.tcp.com>
-Source0:       ftp://ftp.tcp.com/pub/mud/Clients/tinyfugue/%{name}-%{version}.tar.gz
-# Source0-md5: dd33896dcb5d841f6b5f4e07fa517af1
-Source1:       ftp://ftp.tcp.com/pub/mud/Clients/tinyfugue/%{name}-%{version}-help.tar.gz
-# Source1-md5: 79faceed502b867f1bf1263efd5e41a8
+Source0:       ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{version}.tar.gz
+# Source0-md5: 96454db55d4c117d5860b9a9f8388050
+Source1:       ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
+# Source1-md5: 839c6ece427fea39aea31b22c6bbc363
 Source2:       stest.tf
+Source3:       http://www.ingwar.eu.org/downloads/tf.syntax.gz
+# Source3-md5: 398aa4c28e83fb2ce688eade24c5fc88
 Patch0:                status_height.patch
 URL:           http://tf.tcp.com/~hawkeye/tf/
+BuildRequires: autoconf
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,6 +41,7 @@ obs
 Summary:        tf - TinyFugue - text-mode MUD client - HTML help files
 Summary(pl):    tf - TinyFugue - tekstowy klient do MUD-ów - pliki pomocy w HTML
 Group:          Applications/Games
+
 %description doc
 HTML help files.
 
@@ -43,8 +51,9 @@ Pliki pomocy w HTML.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
-tar xfz %{SOURCE1}
+tar xzPf %{SOURCE1}
 cp %{SOURCE2} .
+cp %{SOURCE3} .
 %build
 %{__autoconf}
 %configure
@@ -54,8 +63,6 @@ cp %{SOURCE2} .
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 install -d $RPM_BUILD_ROOT%{_libdir}/tf-lib
-
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
 
@@ -63,10 +70,9 @@ install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
 install tf-lib/* $RPM_BUILD_ROOT%{_libdir}/tf-lib
 install src/tf $RPM_BUILD_ROOT%{_bindir}
 
-install %{name}-%{version}-help/tf-help $RPM_BUILD_ROOT%{_libdir}/tf-lib
-install %{name}-%{version}-help/topics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics/
-install %{name}-%{version}-help/commands/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands/
-install %{name}-%{version}-help/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/index.html
+install %{name}-%{doc_ver}-help/topics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
+install %{name}-%{doc_ver}-help/commands/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
+install %{name}-%{doc_ver}-help/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/index.html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,12 +84,10 @@ echo "You have been warned."
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS README stest.tf
+%doc CHANGES CREDITS README stest.tf tf.syntax.gz
 %attr(755,root,root) %{_bindir}/*
-%{_libdir}/%{name}-lib/*
+%{_libdir}/%{name}-lib
 
 %files doc
 %defattr(644,root,root,755)
-%{_docdir}/%{name}-doc-%{version}/index.html
-%{_docdir}/%{name}-doc-%{version}/topics/*
-%{_docdir}/%{name}-doc-%{version}/commands/*
+%{_docdir}/%{name}-doc-%{version}
This page took 0.058025 seconds and 4 git commands to generate.