3 %bcond_with colors # with color version
5 Summary: rTorrent - a console-based BitTorrent client
6 Summary(pl): rTorrent - konsolowy klient BitTorrenta
11 Group: Applications/Networking
12 Source0: http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
13 # Source0-md5: 587b02e12a397f68bf91d6be20c46ccc
14 Patch0: %{name}-inttypes.patch
15 Patch1: %{name}-client_info.patch
16 Patch100: %{name}-colors.patch
17 Patch101: %{name}-dns_peer_info.patch
18 URL: http://libtorrent.rakshasa.no/
19 BuildRequires: automake
20 BuildRequires: curl-devel >= 7.12
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtorrent-devel >= 0.10.1
23 BuildRequires: ncurses-devel
24 BuildRequires: pkgconfig
25 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 rTorrent is a console-based BitTorrent client. It aims to be a
30 fully-featured and efficient client with the ability to run in the
31 background using screen. It supports fast-resume and session
35 rTorrent to konsolowy klient BitTorrenta. Jego celem jest byæ pe³nym i
36 wydajnym klientem, z mo¿liwo¶ci± uruchamiania go w tle przy u¿yciu
37 screena. Obs³uguje szybkie wznawianie i zarz±dzanie sesjami.
49 cp /usr/share/automake/config.sub .
51 CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
52 --%{?debug:en}%{!?debug:dis}able-debug
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc AUTHORS README TODO doc/rtorrent.rc
67 %attr(755,root,root) %{_bindir}/*
68 %{_mandir}/man1/rtorrent.1*