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