]> git.pld-linux.org Git - packages/tintin.git/blob - tintin.spec
- 1.99.3
[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.99.3
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:  6639548ac1751dee608814c9e6208de9
10 Patch0:         %{name}-cflags.patch
11 URL:            http://tintin.sourceforge.net/
12 BuildRequires:  readline-devel
13 BuildRequires:  sed >= 4.0
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
20 %description -l pl.UTF-8
21 TinTin++ jest klientem mudowym uruchamianym na terminalu tekstowym.
22
23 %prep
24 %setup -q -n tt
25 %patch0 -p1
26 %{__sed} -i -e 's@/usr/bin@$(DESTDIR)/usr/bin@g' src/Makefile.in
27
28 # change binary file name to better one
29 %{__sed} -i -e 's@tt++@tintin@g' src/Makefile.in
30
31 %build
32 cd src
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 %{__make} -C src install \
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
49 %attr(755,root,root) %{_bindir}/*
This page took 0.086945 seconds and 4 git commands to generate.