- updated to 50b8
[packages/tf.git] / tf.spec
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.
140b4b03 4%define doc_ver 50b8
c8789029 5Summary: tf - TinyFugue - text-mode MUD client
b36ba298 6Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów
5dba9c2f 7Name: tf
140b4b03 8Version: 50b8
8ed11220 9Release: 1
5dba9c2f 10License: GPL
5bc540c1 11Group: Applications/Games
140b4b03 12Source0: http://dl.sourceforge.net/tinyfugue/%{name}-%{version}.tar.gz
13# Source0:
14Source1: http://dl.sourceforge.net/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
15# Source1:
16Source2: http://www.ingwar.eu.org/downloads/%{name}.syntax.gz
17# Source2:
18URL: http://sourceforge.net/projects/tinyfugue/
8ed11220 19BuildRequires: autoconf
ee5f2770 20BuildRequires: ncurses-devel
5dba9c2f 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5dba9c2f 23%description
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
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
140b4b03 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
5c158085 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.
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}
5dba9c2f 57
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
5bc540c1 65
d6e45a10 66install tf-lib/* $RPM_BUILD_ROOT%{_libdir}/tf-lib
67install src/tf $RPM_BUILD_ROOT%{_bindir}
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."
5dba9c2f 81%files
140b4b03 83%doc CHANGES CREDITS README tf.syntax.gz
d6e45a10 84%attr(755,root,root) %{_bindir}/*
a9d4da42 85%{_libdir}/%{name}-lib
d6e45a10 86
87%files doc
a9d4da42 89%{_docdir}/%{name}-doc-%{version}
This page took 0.05542 seconds and 4 git commands to generate.