]> git.pld-linux.org Git - packages/tintin.git/blob - tintin.spec
- 1.98.9
[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:        1.98.9
5 Release:        1
6 License:        GPL v2+
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)
15
16 %description
17 TinTin++ is a mud client that runs in console mode.
18
19 %description -l pl.UTF-8
20 TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
21
22 %prep
23 %setup -q -n tt
24 %{__sed} -i -e 's@/usr/bin@$(DESTDIR)/usr/bin@g' src/Makefile.in
25
26 # change binary file name to better one
27 %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
28
29 %build
30 cd src
31 %configure
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_bindir}
37
38 %{__make} -C src install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CREDITS FAQ README TODO docs/*.txt
47 %attr(755,root,root) %{_bindir}/*
This page took 0.051257 seconds and 4 git commands to generate.