]>
Commit | Line | Data |
---|---|---|
af6d04bd JK |
1 | Summary: Enhanced CTorrent - BitTorrent client written in the C++ |
2 | Summary(pl.UTF-8): Enhanced CTorrent - Klient BitTorrenta napisany w C++ | |
918d2bdf | 3 | Name: ctorrent |
59a7a120 | 4 | Version: 3.3.2 |
55edc69f | 5 | Release: 5 |
ff8a1800 | 6 | License: GPL |
918d2bdf | 7 | Group: Applications/Networking |
0352f7e0 | 8 | Source0: http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh%{version}.tar.gz |
59a7a120 | 9 | # Source0-md5: 59b23dd05ff70791cd6449effa7fc3b6 |
10 | Patch0: %{name}-m4.patch | |
bffb0240 | 11 | Patch1: ctorrent-CVE-2009-1759.patch |
0e55f3a1 | 12 | URL: http://www.rahul.net/dholmes/ctorrent/ |
0294d45b JB |
13 | BuildRequires: autoconf >= 2.50 |
14 | BuildRequires: automake | |
31373014 | 15 | BuildRequires: libstdc++-devel |
918d2bdf | 16 | BuildRequires: openssl-devel >= 0.9.7d |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | CTorrent is built as a console program, which means that it doesn't | |
21 | require any graphical components (such as an X server) on the machine | |
22 | you are running it on, you can even run it remotely through a terminal | |
23 | if you wish. There are quite a few people who run "console only" | |
24 | servers and want to use them to download files in the background. | |
25 | CTorrent can help you do exactly this, assuming you are downloading | |
26 | from the BitTorrent network. | |
27 | ||
f33ff8f9 JR |
28 | %description -l pl.UTF-8 |
29 | CTorrent jest programem dla konsoli, co oznacza że nie wymaga żadnych | |
30 | komponentów graficznych (takich jak serwer X) na maszynie, na której | |
31 | będzie uruchamiany, można go uruchomić nawet zdalnie jeśli zajdzie | |
32 | taka potrzeba. Jest sporo osób, które używają serwerów tylko | |
33 | z konsolą i chcą używać ich do ściągania plików w tle. | |
34 | CTorrent pomaga dokładnie w tym zadaniu, zakładając iż | |
35 | używa się sieci BitTorrent. | |
918d2bdf | 36 | |
37 | %prep | |
0352f7e0 AF |
38 | %setup -q -n %{name}-dnh%{version} |
39 | %patch0 -p1 | |
bffb0240 | 40 | %patch1 -p0 |
918d2bdf | 41 | |
42 | %build | |
0294d45b JB |
43 | %{__aclocal} |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure \ | |
48 | CPPFLAGS="-I/usr/include/openssl" | |
918d2bdf | 49 | %{__make} |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
0294d45b | 53 | |
1ce374dc | 54 | %{__make} install \ |
55 | DESTDIR=$RPM_BUILD_ROOT | |
918d2bdf | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
0352f7e0 | 62 | %doc AUTHORS NEWS README UserGuide README-DNH.TXT ChangeLog |
918d2bdf | 63 | %attr(755,root,root) %{_bindir}/ctorrent |