]> git.pld-linux.org Git - packages/rtorrent.git/blob - rtorrent.spec
- updated to 0.6.1
[packages/rtorrent.git] / rtorrent.spec
1 #
2 # Conditional build:
3 %bcond_with     colors          # with color version
4 #
5 Summary:        rTorrent - a console-based BitTorrent client
6 Summary(pl):    rTorrent - konsolowy klient BitTorrenta
7 Name:           rtorrent
8 Version:        0.6.1
9 Release:        1
10 License:        GPL v2
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)
27
28 %description
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
32 management.
33
34 %description -l pl
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.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 %if %{with colors}
44 %patch100 -p1
45 #%patch101 -p1
46 %endif
47
48 %build
49 cp /usr/share/automake/config.sub .
50 %configure \
51         CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
52         --%{?debug:en}%{!?debug:dis}able-debug
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
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*
This page took 0.080237 seconds and 3 git commands to generate.