]> git.pld-linux.org Git - packages/ctorrent.git/blame - ctorrent.spec
- tabs in preamble
[packages/ctorrent.git] / ctorrent.spec
CommitLineData
b807e702 1Summary: BitTorrent client written in the C++
0ea61a31 2Summary(pl.UTF-8): Klient BitTorrenta napisany w C++
918d2bdf 3Name: ctorrent
0e55f3a1
JK
4%define _base_version 1.3.4
5%define _dnh_version dnh2
6Version: %{_base_version}_%{_dnh_version}
7Release: 0.1
ff8a1800 8License: GPL
918d2bdf 9Group: Applications/Networking
0e55f3a1 10Source0: http://dl.sourceforge.net/ctorrent/%{name}-%{_base_version}.tar.bz2
847db832 11# Source0-md5: 823010ec78215d476537c9eba9381cdd
0e55f3a1
JK
12Patch0: http://www.rahul.net/dholmes/ctorrent/patchset-ctorrent-%{_base_version}-%{_dnh_version}.diff
13#URL: http://ctorrent.sourceforge.net/
14URL: http://www.rahul.net/dholmes/ctorrent/
0294d45b
JB
15BuildRequires: autoconf >= 2.50
16BuildRequires: automake
31373014 17BuildRequires: libstdc++-devel
918d2bdf 18BuildRequires: openssl-devel >= 0.9.7d
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22CTorrent is built as a console program, which means that it doesn't
23require any graphical components (such as an X server) on the machine
24you are running it on, you can even run it remotely through a terminal
25if you wish. There are quite a few people who run "console only"
26servers and want to use them to download files in the background.
27CTorrent can help you do exactly this, assuming you are downloading
28from the BitTorrent network.
29
f33ff8f9
JR
30%description -l pl.UTF-8
31CTorrent jest programem dla konsoli, co oznacza że nie wymaga żadnych
32komponentów graficznych (takich jak serwer X) na maszynie, na której
33będzie uruchamiany, można go uruchomić nawet zdalnie jeśli zajdzie
34taka potrzeba. Jest sporo osób, które używają serwerów tylko
35z konsolą i chcą używać ich do ściągania plików w tle.
36CTorrent pomaga dokładnie w tym zadaniu, zakładając iż
37uż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
53rm -rf $RPM_BUILD_ROOT
0294d45b 54
1ce374dc 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
918d2bdf 57
58%clean
59rm -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
This page took 1.398013 seconds and 4 git commands to generate.