X-Git-Url: http://git.pld-linux.org/?p=packages%2Ftf.git;a=blobdiff_plain;f=tf.spec;h=58276b7b5dd803ef0913ae1124eb297631a6aa56;hp=63ed6618aa8e070c3e0dae23bd50ad90db161c29;hb=a44b10054a83b5e1c4972344077e7f7ac32a3e19;hpb=a9d4da428bf03e48a1ef028e5d813eaa764274a9 diff --git a/tf.spec b/tf.spec index 63ed661..58276b7 100644 --- a/tf.spec +++ b/tf.spec @@ -1,18 +1,26 @@ +# Often 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 50b6 Summary: tf - TinyFugue - text-mode MUD client Summary(pl): tf - TinyFugue - tekstowy klient do MUD-ów Name: tf -Version: 50b3 -Release: 0.1 +Version: 50b6 +Release: 1 License: GPL Group: Applications/Games Vendor: Ken Keys (Hawkeye) -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: f6321287413b70df0d3def4de1b8bd50 +Source1: ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{doc_ver}-help.tar.gz +# Source1-md5: 44483edde9141963529f328d17a87b53 Source2: stest.tf -Patch0: status_height.patch +Source3: http://www.ingwar.eu.org/downloads/tf.syntax.gz +# Source3-md5: 398aa4c28e83fb2ce688eade24c5fc88 +Patch0: %{name}-%{version}-multistatus.patch URL: http://tf.tcp.com/~hawkeye/tf/ +BuildRequires: autoconf +BuildRequires: ncurses-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -44,8 +52,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 @@ -62,10 +71,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 @@ -77,7 +85,7 @@ 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