]> git.pld-linux.org Git - SPECS.git/blob - tintin.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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.7
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Games
8 Source0:        http://downloads.sourceforge.net/tintin/%{name}-%{version}.tar.gz
9 # Source0-md5:  f6791783a7077058a49a216f5caf8093
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
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}/tintin
This page took 0.23647 seconds and 3 git commands to generate.