]>
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 |
21eaafde | 4 | Version: 1.99.9 |
2374f481 | 5 | Release: 1 |
168fb4eb | 6 | License: GPL v2+ |
0fc061a6 | 7 | Group: Applications/Games |
c343d559 | 8 | Source0: http://tintin-mud-client.googlecode.com/files/%{name}-%{version}.tar.gz |
21eaafde | 9 | # Source0-md5: 264992e7f5be3ca37501ff14fa81358e |
1a5efdcc | 10 | Patch0: %{name}-cflags.patch |
168fb4eb | 11 | URL: http://tintin.sourceforge.net/ |
12 | BuildRequires: readline-devel | |
fa84ad6d | 13 | BuildRequires: sed >= 4.0 |
168fb4eb | 14 | BuildRequires: zlib-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | TinTin++ is a mud client that runs in console mode. | |
19 | ||
e9a0ec15 | 20 | %description -l pl.UTF-8 |
0fc061a6 | 21 | TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym. |
168fb4eb | 22 | |
23 | %prep | |
24 | %setup -q -n tt | |
1a5efdcc | 25 | %patch0 -p1 |
2a9b4f51 | 26 | %{__sed} -i -e 's@$(bindir)@$(DESTDIR)$(bindir)@g' src/Makefile.in |
168fb4eb | 27 | |
838c402a | 28 | # change binary file name to better one |
29 | %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in | |
30 | ||
168fb4eb | 31 | %build |
4c3fab13 | 32 | cd src |
168fb4eb | 33 | %configure |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_bindir} | |
39 | ||
4c3fab13 | 40 | %{__make} -C src install \ |
168fb4eb | 41 | DESTDIR=$RPM_BUILD_ROOT |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc CREDITS FAQ README TODO docs/*.txt | |
b12323e0 | 49 | %attr(755,root,root) %{_bindir}/tintin |