]> git.pld-linux.org Git - packages/tf.git/blob - tf.spec
- fixed SourceX-md5
[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         50b8
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:        50b8
9 Release:        1
10 License:        GPL
11 Group:          Applications/Games
12 Source0:        http://dl.sourceforge.net/tinyfugue/%{name}-%{version}.tar.gz
13 # Source0-md5:  3e994e791966d274f63b0e61abf2ef59
14 Source1:        http://dl.sourceforge.net/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
15 # Source1-md5:  26eb64b2f811c8143e9c08654d26d138
16 Source2:        http://www.ingwar.eu.org/downloads/%{name}.syntax.gz
17 # Source2-md5:  398aa4c28e83fb2ce688eade24c5fc88
18 URL:            http://sourceforge.net/projects/tinyfugue/
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 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.081887 seconds and 3 git commands to generate.