1 Summary: A mud client that runs in console mode
2 Summary(pl.UTF-8): Klient mudowy uruchamiany na terminalu tekstowym
7 Group: Applications/Games
8 Source0: http://downloads.sourceforge.net/tintin/%{name}-%{version}.tar.gz
9 # Source0-md5: f6791783a7077058a49a216f5caf8093
10 Patch0: %{name}-cflags.patch
11 URL: http://tintin.sourceforge.net/
12 BuildRequires: pcre-devel
13 BuildRequires: readline-devel
14 BuildRequires: sed >= 4.0
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 TinTin++ is a mud client that runs in console mode.
21 %description -l pl.UTF-8
22 TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
28 # change binary file name to better one
29 %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
40 %{__make} -C src install \
41 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc CREDITS FAQ README TODO docs/*.txt
49 %attr(755,root,root) %{_bindir}/tintin