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