]>
Commit | Line | Data |
---|---|---|
168fb4eb | 1 | Summary: A mud client that runs in console mode |
e768d851 | 2 | Summary(pl.UTF-8): Klient mudowy uruchamiany na terminalu tekstowym |
168fb4eb | 3 | Name: tintin |
c003df1b | 4 | Version: 1.98.2 |
e315881d | 5 | Release: 2 |
168fb4eb | 6 | License: GPL v2+ |
0fc061a6 | 7 | Group: Applications/Games |
168fb4eb | 8 | Source0: http://dl.sourceforge.net/tintin/%{name}-%{version}.tar.gz |
c003df1b | 9 | # Source0-md5: 2bccc42926bd303ea987a6ee6ac33853 |
168fb4eb | 10 | URL: http://tintin.sourceforge.net/ |
11 | BuildRequires: readline-devel | |
fa84ad6d | 12 | BuildRequires: sed >= 4.0 |
168fb4eb | 13 | BuildRequires: zlib-devel |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | TinTin++ is a mud client that runs in console mode. | |
18 | ||
e9a0ec15 | 19 | %description -l pl.UTF-8 |
0fc061a6 | 20 | TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym. |
168fb4eb | 21 | |
22 | %prep | |
23 | %setup -q -n tt | |
7bdfdad3 | 24 | %{__sed} -i -e 's@/usr/bin@$(DESTDIR)/usr/bin@g' src/Makefile.in |
168fb4eb | 25 | |
26 | %build | |
4c3fab13 | 27 | cd src |
168fb4eb | 28 | %configure |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_bindir} | |
34 | ||
4c3fab13 | 35 | %{__make} -C src install \ |
168fb4eb | 36 | DESTDIR=$RPM_BUILD_ROOT |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc CREDITS FAQ README TODO docs/*.txt | |
44 | %attr(755,root,root) %{_bindir}/* |