]> git.pld-linux.org Git - packages/ctorrent.git/blob - ctorrent.spec
rebuild with openssl 3.0.0
[packages/ctorrent.git] / ctorrent.spec
1 Summary:        Enhanced CTorrent - BitTorrent client written in the C++
2 Summary(pl.UTF-8):      Enhanced CTorrent - Klient BitTorrenta napisany w C++
3 Name:           ctorrent
4 Version:        3.3.2
5 Release:        3
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh%{version}.tar.gz
9 # Source0-md5:  59b23dd05ff70791cd6449effa7fc3b6
10 Patch0:         %{name}-m4.patch
11 Patch1:         ctorrent-CVE-2009-1759.patch
12 URL:            http://www.rahul.net/dholmes/ctorrent/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
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
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.
36
37 %prep
38 %setup -q -n %{name}-dnh%{version}
39 %patch0 -p1
40 %patch1 -p0
41
42 %build
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure \
48         CPPFLAGS="-I/usr/include/openssl"
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT 
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS NEWS README UserGuide README-DNH.TXT ChangeLog
63 %attr(755,root,root) %{_bindir}/ctorrent
This page took 0.106649 seconds and 3 git commands to generate.