]> git.pld-linux.org Git - packages/tintin.git/blame - tintin.spec
- up to 2.00.0
[packages/tintin.git] / tintin.spec
CommitLineData
168fb4eb 1Summary: A mud client that runs in console mode
e768d851 2Summary(pl.UTF-8): Klient mudowy uruchamiany na terminalu tekstowym
168fb4eb 3Name: tintin
5da06e0b 4Version: 2.00.0
2374f481 5Release: 1
168fb4eb 6License: GPL v2+
0fc061a6 7Group: Applications/Games
c343d559 8Source0: http://tintin-mud-client.googlecode.com/files/%{name}-%{version}.tar.gz
5da06e0b 9# Source0-md5: f62b905fe96f539db09cc19de2312b3e
1a5efdcc 10Patch0: %{name}-cflags.patch
168fb4eb 11URL: http://tintin.sourceforge.net/
01a3fc07 12BuildRequires: pcre-devel
168fb4eb 13BuildRequires: readline-devel
fa84ad6d 14BuildRequires: sed >= 4.0
168fb4eb 15BuildRequires: zlib-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19TinTin++ is a mud client that runs in console mode.
20
e9a0ec15 21%description -l pl.UTF-8
0fc061a6 22TinTin++ 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 33cd src
168fb4eb 34%configure
35%{__make}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT%{_bindir}
40
4c3fab13 41%{__make} -C src install \
168fb4eb 42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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
This page took 0.073244 seconds and 4 git commands to generate.