Initial import (#677693)

This commit is contained in:
Petr Sabata 2011-02-17 15:37:52 +01:00
parent 6c5c8509a5
commit 432cc93b9b
4 changed files with 84 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/tintin-2.00.5.tar.gz

View File

@ -0,0 +1 @@
b57b824fc7bb9f25705816fb62027ec1 tintin-2.00.5.tar.gz

View File

@ -0,0 +1,11 @@
--- tt/src/Makefile.in 2010-04-03 05:36:13.000000000 +0200
+++ tt/src/Makefile.in.new 2011-02-15 18:17:59.804559301 +0100
@@ -26,7 +26,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-bindir = @bindir@
+bindir = ${DESTDIR}/usr/bin
docdir = @prefix@/doc
#this is the standard CFLAGS options, this is what most people should use

71
tintin.spec Normal file
View File

@ -0,0 +1,71 @@
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 <psabata@redhat.com> - 2.00.5-3
- igr.mods now gets converted to proper utf8
* Tue Feb 15 2011 Petr Sabata <psabata@redhat.com> - 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 <psabata@redhat.com> - 2.00.5-1
- Package prepared for review