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