- tabs in preamble
[packages/tf.git] / tf.spec
CommitLineData
9653d1ff 1# Often html doc files aren't sync with tf releases.
2# New tf releases contains mostly bug fixes, so
3# older docs should be ok.
246143fd 4%define doc_ver 50b7
c8789029 5Summary: tf - TinyFugue - text-mode MUD client
b36ba298 6Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów
5dba9c2f 7Name: tf
246143fd 8Version: 50b7
8ed11220 9Release: 1
5dba9c2f 10License: GPL
5bc540c1 11Group: Applications/Games
8ed11220 12Source0: ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{version}.tar.gz
246143fd 13# Source0-md5: 6652b7eda8a200d28e8184c1659137a2
8ed11220 14Source1: ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
246143fd 15# Source1-md5: e143640bfa7dd8cc1c96def5e8ec44f6
16Source2: http://www.ingwar.eu.org/downloads/tf.syntax.gz
17# Source2-md5: 398aa4c28e83fb2ce688eade24c5fc88
505b7b0c 18URL: http://tf.tcp.com/~hawkeye/tf/
8ed11220 19BuildRequires: autoconf
ee5f2770 20BuildRequires: ncurses-devel
5dba9c2f 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
5dba9c2f 23%description
5bc540c1
JB
24TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user
25to dive into one the most fascinating
26Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Just Enter "tf" and
d6e45a10 27enjoy your game. This client works in text mode, supports MCCP
28compression and multiline statusbar.
5bc540c1 29
5c158085
JR
30%description -l pl.UTF-8
31TinyFugue jest klientem MUD (Multi User Dungeons), który pozwala
32użytkownikowi zagłębić się w najbardziej fascynujący świat
c8789029 33Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Jest to po prostu
5c158085
JR
34jeden z najlepszych, jeśli nie najlepszy klient do gry w MUD-y. Działa
35w trybie tekstowym, obsługuje protokół kompresji MCCP oraz posiada
36obsługę wieloliniowego statusu.
d6e45a10 37
38%package doc
b6832162 39Summary: tf - TinyFugue - text-mode MUD client - HTML help files
b36ba298 40Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów - pliki pomocy w HTML
b6832162 41Group: Applications/Games
a9d4da42 42
d6e45a10 43%description doc
44HTML help files.
45
5c158085 46%description doc -l pl.UTF-8
d6e45a10 47Pliki pomocy w HTML.
5dba9c2f 48
5bc540c1 49%prep
87856336 50%setup -q
91e2b92f 51tar xzPf %{SOURCE1}
d6e45a10 52cp %{SOURCE2} .
5dba9c2f 53%build
d6e45a10 54%{__autoconf}
55%configure
56%{__make}
5dba9c2f 57
58%install
5bc540c1 59rm -rf $RPM_BUILD_ROOT
d6e45a10 60install -d $RPM_BUILD_ROOT%{_bindir}
61install -d $RPM_BUILD_ROOT%{_libdir}/tf-lib
d6e45a10 62install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
63install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
64
5bc540c1 65
d6e45a10 66install tf-lib/* $RPM_BUILD_ROOT%{_libdir}/tf-lib
67install src/tf $RPM_BUILD_ROOT%{_bindir}
68
8ed11220 69install %{name}-%{doc_ver}-help/topics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
70install %{name}-%{doc_ver}-help/commands/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
71install %{name}-%{doc_ver}-help/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/index.html
5bc540c1 72
5dba9c2f 73%clean
5bc540c1 74rm -rf $RPM_BUILD_ROOT
5dba9c2f 75
d6e45a10 76%post
77echo "%{name}-%{version} is _beta_ release!"
78echo "Some of your scripts may not work or work not properly."
79echo "You have been warned."
80
5dba9c2f 81%files
82%defattr(644,root,root,755)
8ed11220 83%doc CHANGES CREDITS README stest.tf tf.syntax.gz
d6e45a10 84%attr(755,root,root) %{_bindir}/*
a9d4da42 85%{_libdir}/%{name}-lib
d6e45a10 86
87%files doc
88%defattr(644,root,root,755)
a9d4da42 89%{_docdir}/%{name}-doc-%{version}
This page took 0.053931 seconds and 4 git commands to generate.