]> git.pld-linux.org Git - packages/tintin.git/blob - tintin.spec
- up to 2.00.0
[packages/tintin.git] / tintin.spec
1 Summary:        A mud client that runs in console mode
2 Summary(pl.UTF-8):      Klient mudowy uruchamiany na terminalu tekstowym
3 Name:           tintin
4 Version:        2.00.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Games
8 Source0:        http://tintin-mud-client.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  f62b905fe96f539db09cc19de2312b3e
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)
17
18 %description
19 TinTin++ is a mud client that runs in console mode.
20
21 %description -l pl.UTF-8
22 TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
23
24 %prep
25 %setup -q -n tt
26 %patch0 -p1
27 %{__sed} -i -e 's@$(bindir)@$(DESTDIR)$(bindir)@g' src/Makefile.in
28
29 # change binary file name to better one
30 %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
31
32 %build
33 cd src
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_bindir}
40
41 %{__make} -C src install \
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
50 %attr(755,root,root) %{_bindir}/tintin
This page took 0.332179 seconds and 3 git commands to generate.