]> git.pld-linux.org Git - packages/tf.git/blob - tf.spec
63e4f1198c0f1b565779a730e647ba73705c3585
[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:        7
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 Patch0:         pcre.patch
19 Patch1:         typedef-not-var.patch
20 URL:            http://sourceforge.net/projects/tinyfugue/
21 BuildRequires:  autoconf
22 BuildRequires:  ncurses-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user
27 to dive into one the most fascinating
28 Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Just Enter "tf" and
29 enjoy your game. This client works in text mode, supports MCCP
30 compression and multiline statusbar.
31
32 %description -l pl.UTF-8
33 TinyFugue jest klientem MUD (Multi User Dungeons), który pozwala
34 użytkownikowi zagłębić się w najbardziej fascynujący świat
35 Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Jest to po prostu
36 jeden z najlepszych, jeśli nie najlepszy klient do gry w MUD-y. Działa
37 w trybie tekstowym, obsługuje protokół kompresji MCCP oraz posiada
38 obsługę wieloliniowego statusu.
39
40 %package doc
41 Summary:        tf - TinyFugue - text-mode MUD client - HTML help files
42 Summary(pl.UTF-8):      tf - TinyFugue - tekstowy klient do MUD-ów - pliki pomocy w HTML
43 Group:          Applications/Games
44
45 %description doc
46 HTML help files.
47
48 %description doc -l pl.UTF-8
49 Pliki pomocy w HTML.
50
51 %prep
52 %setup -q
53 tar xzPf %{SOURCE1}
54 cp %{SOURCE2} .
55 %patch0 -p1
56 %patch1 -p1
57
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 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.036358 seconds and 4 git commands to generate.