]> git.pld-linux.org Git - packages/ctorrent.git/blob - ctorrent.spec
1e41f8a84b1b9e2fa27411544006abf146b27b60
[packages/ctorrent.git] / ctorrent.spec
1 Summary:        BitTorrent client written in the C++
2 Summary(pl.UTF-8):   Klient BitTorrenta napisany w C++
3 Name:           ctorrent
4 %define _base_version 1.3.4
5 %define _dnh_version dnh2
6 Version:        %{_base_version}_%{_dnh_version}
7 Release:        0.1
8 License:        GPL
9 Group:          Applications/Networking
10 Source0:        http://dl.sourceforge.net/ctorrent/%{name}-%{_base_version}.tar.bz2
11 # Source0-md5:  823010ec78215d476537c9eba9381cdd
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/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
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
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.
38
39 %prep
40 %setup -q -n %{name}-%{_base_version}
41 %patch0 -p0
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         CPPFLAGS="-I/usr/include/openssl"
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT 
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS NEWS README
64 %attr(755,root,root) %{_bindir}/ctorrent
This page took 0.099935 seconds and 2 git commands to generate.