Name: tintin Version: 2.00.5 Release: 3%{?dist} Summary: TinTin++, aka tt++, is a free MUD client Group: Applications/Internet License: GPLv2+ URL: http://tintin.sourceforge.net/ Source0: http://garr.dl.sourceforge.net/project/%{name}/TinTin%2B%2B%20Source%20Code/%{version}/%{name}-%{version}.tar.gz Patch0: tintin-2.00.5-destdir.patch BuildRequires: pcre-devel BuildRequires: zlib-devel %description TinTin++, aka tt++, is a free MUD client for Mac OS X, Linux, and Windows. The Windows port named WinTin++ (using the PuTTY terminal) is available for those who do not use Cygwin (A Linux/Unix emulator for Windows) and runs on Windows XP, Windows Vista, and Windows 7. Besides MUDs, TinTin++ also works well with MUSH, Rogue, BBS, and Linux servers. %package doc Summary: TinTin++ documentation and examples Group: Documentation License: GPLv2+ BuildArch: noarch %description doc TinTin++, aka tt++, MUD client documentation and examples. %prep %setup -q -n tt %patch0 -p1 -b .destdir %build cd src %configure make %{?_smp_mflags} %install cd src make install DESTDIR=%{buildroot} cd .. chmod 644 COPYING CREDITS FAQ INSTALL README chmod 644 SCRIPTS chmod 644 docs/* && mv -v docs/* . chmod 644 mods/*.mods && mv -v mods/*.mods . iconv -f latin1 -t utf8 igr.mods > igr.mods.utf8 && mv igr.mods.utf8 igr.mods %files %defattr(-,root,root,-) %doc COPYING CREDITS FAQ INSTALL README *.mods %{_bindir}/tt++ %files doc %defattr(-,root,root,-) %doc COPYING %doc chat_protocol.txt %doc tintin19.txt %doc SCRIPTS %changelog * Tue Feb 15 2011 Petr Sabata - 2.00.5-3 - igr.mods now gets converted to proper utf8 * Tue Feb 15 2011 Petr Sabata - 2.00.5-2 - Source corrected - Description spelling corrected - TODO and Changelogs packaged, COPYING added to the doc package - Changed build section, added DESTDIR patch * Tue Feb 15 2011 Petr Sabata - 2.00.5-1 - Package prepared for review