]> git.pld-linux.org Git - packages/tf.git/blob - tf.spec
- updated to 50b5
[packages/tf.git] / tf.spec
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.
4 %define         doc_ver         50b5
5 Summary:        tf - TinyFugue - text-mode MUD client
6 Summary(pl):    tf - TinyFugue - tekstowy klient do MUD-ów
7 Name:           tf
8 Version:        50b5
9 Release:        1
10 License:        GPL
11 Group:          Applications/Games
12 Vendor:         Ken Keys (Hawkeye) <hawkeye@tf.tcp.com>
13 Source0:        ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{version}.tar.gz
14 # Source0-md5:  6e6602f1618d31e40de24e46640f1ff8
15 Source1:        ftp://ftp.mud.de/pub/software/clients/unix/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
16 # Source1-md5:  c2eb4e3fada91ea287f3b765aba3842b
17 Source2:        stest.tf
18 Source3:        http://www.ingwar.eu.org/downloads/tf.syntax.gz
19 # Source3-md5:  398aa4c28e83fb2ce688eade24c5fc88
20 Patch0:         %{name}-%{version}-multistatus.patch
21 URL:            http://tf.tcp.com/~hawkeye/tf/
22 BuildRequires:  autoconf
23 BuildRequires:  ncurses-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user
28 to dive into one the most fascinating
29 Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Just Enter "tf" and
30 enjoy your game. This client works in text mode, supports MCCP
31 compression and multiline statusbar.
32
33 %description -l pl
34 TinyFugue jest klientem MUD (Multi User Dungeons), który pozwala
35 u¿ytkownikowi zag³êbiæ siê w najbardziej fascynuj±cy ¶wiat
36 Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Jest to po prostu
37 jeden z najlepszych, je¶li nie najlepszy klient do gry w MUD-y. Dzia³a 
38 w trybie tekstowym, obs³uguje protokó³ kompresji MCCP oraz posiada 
39 obs³ugê wieloliniowego statusu.
40
41 %package doc
42 Summary:        tf - TinyFugue - text-mode MUD client - HTML help files
43 Summary(pl):    tf - TinyFugue - tekstowy klient do MUD-ów - pliki pomocy w HTML
44 Group:          Applications/Games
45
46 %description doc
47 HTML help files.
48
49 %description doc -l pl
50 Pliki pomocy w HTML.
51
52 %prep
53 %setup -q -n %{name}-%{version}
54 %patch0 -p1
55 tar xzPf %{SOURCE1}
56 cp %{SOURCE2} .
57 cp %{SOURCE3} .
58 %build
59 %{__autoconf}
60 %configure
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_bindir}
66 install -d $RPM_BUILD_ROOT%{_libdir}/tf-lib
67 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
68 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
69
70
71 install tf-lib/* $RPM_BUILD_ROOT%{_libdir}/tf-lib
72 install src/tf $RPM_BUILD_ROOT%{_bindir}
73
74 install %{name}-%{doc_ver}-help/topics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
75 install %{name}-%{doc_ver}-help/commands/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
76 install %{name}-%{doc_ver}-help/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/index.html
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 echo "%{name}-%{version} is _beta_ release!"
83 echo "Some of your scripts may not work or work not properly."
84 echo "You have been warned."
85
86 %files
87 %defattr(644,root,root,755)
88 %doc CHANGES CREDITS README stest.tf tf.syntax.gz
89 %attr(755,root,root) %{_bindir}/*
90 %{_libdir}/%{name}-lib
91
92 %files doc
93 %defattr(644,root,root,755)
94 %{_docdir}/%{name}-doc-%{version}
This page took 0.041042 seconds and 4 git commands to generate.