- explicit typedef, rebuild with openssl 3.0.0, rel 7
[packages/tf.git] / tf.spec
9653d1ff 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.
140b4b03 4%define doc_ver 50b8
c8789029 5Summary: tf - TinyFugue - text-mode MUD client
b36ba298 6Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów
5dba9c2f 7Name: tf
140b4b03 8Version: 50b8
efdcbf6e 9Release: 7
5dba9c2f 10License: GPL
5bc540c1 11Group: Applications/Games
140b4b03 12Source0: http://dl.sourceforge.net/tinyfugue/%{name}-%{version}.tar.gz
5c6a76a1 13# Source0-md5: 3e994e791966d274f63b0e61abf2ef59
140b4b03 14Source1: http://dl.sourceforge.net/tinyfugue/%{name}-%{doc_ver}-help.tar.gz
5c6a76a1 15# Source1-md5: 26eb64b2f811c8143e9c08654d26d138
140b4b03 16Source2: http://www.ingwar.eu.org/downloads/%{name}.syntax.gz
5c6a76a1 17# Source2-md5: 398aa4c28e83fb2ce688eade24c5fc88
06599459 18Patch0: pcre.patch
efdcbf6e 19Patch1: typedef-not-var.patch
140b4b03 20URL: http://sourceforge.net/projects/tinyfugue/
8ed11220 21BuildRequires: autoconf
ee5f2770 22BuildRequires: ncurses-devel
5dba9c2f 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5dba9c2f 25%description
26TinyFugue is a MUD-Client (Multi User Dungeons) that allows the user
27to dive into one the most fascinating
28Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Just Enter "tf" and
d6e45a10 29enjoy your game. This client works in text mode, supports MCCP
30compression and multiline statusbar.
5bc540c1 31
32%description -l pl.UTF-8
33TinyFugue jest klientem MUD (Multi User Dungeons), który pozwala
34użytkownikowi zagłębić się w najbardziej fascynujący świat
c8789029 35Multi-User-Non-Graphic-Fantasy-Role-Playing-Games. Jest to po prostu
140b4b03 36jeden z najlepszych, jeśli nie najlepszy klient do gry w MUD-y. Działa
37w trybie tekstowym, obsługuje protokół kompresji MCCP oraz posiada
5c158085 38obsługę wieloliniowego statusu.
d6e45a10 39
40%package doc
b6832162 41Summary: tf - TinyFugue - text-mode MUD client - HTML help files
b36ba298 42Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów - pliki pomocy w HTML
b6832162 43Group: Applications/Games
a9d4da42 44
d6e45a10 45%description doc
46HTML help files.
5c158085 48%description doc -l pl.UTF-8
d6e45a10 49Pliki pomocy w HTML.
5dba9c2f 50
5bc540c1 51%prep
87856336 52%setup -q
91e2b92f 53tar xzPf %{SOURCE1}
d6e45a10 54cp %{SOURCE2} .
06599459 55%patch0 -p1
efdcbf6e 56%patch1 -p1
06599459 57
5dba9c2f 58%build
d6e45a10 59%{__autoconf}
5dba9c2f 62
5bc540c1 64rm -rf $RPM_BUILD_ROOT
d6e45a10 65install -d $RPM_BUILD_ROOT%{_bindir}
66install -d $RPM_BUILD_ROOT%{_libdir}/tf-lib
d6e45a10 67install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
68install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
5bc540c1 70
d6e45a10 71install tf-lib/* $RPM_BUILD_ROOT%{_libdir}/tf-lib
72install src/tf $RPM_BUILD_ROOT%{_bindir}
8ed11220 74install %{name}-%{doc_ver}-help/topics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/topics
75install %{name}-%{doc_ver}-help/commands/* $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/commands
76install %{name}-%{doc_ver}-help/index.html $RPM_BUILD_ROOT%{_docdir}/%{name}-doc-%{version}/index.html
5bc540c1 77
5dba9c2f 78%clean
5bc540c1 79rm -rf $RPM_BUILD_ROOT
5dba9c2f 80
d6e45a10 81%post
82echo "%{name}-%{version} is _beta_ release!"
83echo "Some of your scripts may not work or work not properly."
84echo "You have been warned."
5dba9c2f 86%files
140b4b03 88%doc CHANGES CREDITS README tf.syntax.gz
d6e45a10 89%attr(755,root,root) %{_bindir}/*
a9d4da42 90%{_libdir}/%{name}-lib
d6e45a10 91
92%files doc
a9d4da42 94%{_docdir}/%{name}-doc-%{version}
This page took 0.110213 seconds and 5 git commands to generate.