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://dl.sourceforge.net/tintin/%{name}-%{version}.tar.gz
9 # Source0-md5: c5b60e20e12b99cb48d64c869f97d289
10 URL: http://tintin.sourceforge.net/
11 BuildRequires: readline-devel
12 BuildRequires: sed >= 4.0
13 BuildRequires: zlib-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 TinTin++ is a mud client that runs in console mode.
19 %description -l pl.UTF-8
20 TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
24 %{__sed} -i -e 's@/usr/bin@$(DESTDIR)/usr/bin@g' src/Makefile.in
26 # change binary file name to better one
27 %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_bindir}
38 %{__make} -C src install \
39 DESTDIR=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc CREDITS FAQ README TODO docs/*.txt
47 %attr(755,root,root) %{_bindir}/*