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