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
8 Group: Applications/Communications
9 Source0: %{name}-%{version}.tar.gz
10 URL: http://bitconjurer.org/BitTorrent/
11 Requires: python-wxPython
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 BitTorrent is a tool for distributing files. It's extremely easy to
16 use - downloads are started by clicking on hyperlinks. Whenever more
17 than one person is downloading at once they send pieces of the file(s)
18 to each other, thus relieving the central server's bandwidth burden.
19 Even with many simultaneous downloads, the upload burden on the
20 central server remains quite small, since each new downloader
21 introduces new upload capacity.
24 BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
25 w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
26 Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
27 miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
28 wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
29 pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
36 find -type f | xargs perl -pi -e 's/python2/python/g'
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT
42 ./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
43 chmod a-x $RPM_BUILD_ROOT%{_bindir}/btdownloadlibrary.py
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc FAQ.txt INSTALL.unix.txt LICENSE.txt README.txt credits.txt todo.txt
51 %attr(755,root,root) %{_bindir}/btdownloadgui.py
52 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
53 %attr(755,root,root) %{_bindir}/btdownloadprefetched.py
54 %attr(755,root,root) %{_bindir}/btmakemetafile.py
55 %attr(755,root,root) %{_bindir}/bttrack.py
56 %{_bindir}/btdownloadlibrary.py
57 %{py_sitedir}/BitTorrent