]> git.pld-linux.org Git - packages/BitTorrent.git/blob - BitTorrent.spec
43ff1516200e3f13e7bf3327fb5105cc537a2e33
[packages/BitTorrent.git] / BitTorrent.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        BitTorrent - a tool for distributing files
3 Summary(pl):    BitTorrent - narzêdzie do rozpowszechniania plików
4 Name:           BitTorrent
5 Version:        3.3
6 Release:        1
7 License:        MIT
8 Group:          Applications/Communications
9 #Source0Download:       http://bitconjurer.org/BitTorrent/download.html
10 Source0:        http://bitconjurer.org/BitTorrent/%{name}-%{version}.tar.gz
11 # Source0-md5:  1ecf1fc40b4972470313f9ae728206e8
12 URL:            http://bitconjurer.org/BitTorrent/
13 Requires:       python-wxPython
14 BuildRequires:  python-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 BitTorrent is a tool for distributing files. It's extremely easy to
19 use - downloads are started by clicking on hyperlinks. Whenever more
20 than one person is downloading at once they send pieces of the file(s)
21 to each other, thus relieving the central server's bandwidth burden.
22 Even with many simultaneous downloads, the upload burden on the
23 central server remains quite small, since each new downloader
24 introduces new upload capacity.
25
26 %description -l pl
27 BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
28 w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
29 Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
30 miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
31 wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
32 pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
33 mo¿liwo¶ci ¶ci±gania.
34
35 %prep
36 %setup -q
37
38 %build
39 find -type f | xargs perl -pi -e 's/python2/python/g'
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT
44
45 ./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
46 chmod a-x $RPM_BUILD_ROOT%{_bindir}/btdownloadlibrary.py
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc INSTALL.unix.txt LICENSE.txt README.txt credits.txt 
54 %attr(755,root,root) %{_bindir}/*
55 %{py_sitedir}/BitTorrent
This page took 0.070788 seconds and 3 git commands to generate.