1 Summary: BitTorrent - a tool for distributing files
2 Summary(pl): BitTorrent - narzêdzie do rozpowszechniania plików
6 License: BitTorrent Open Source License
7 Group: Applications/Communications
8 Source0: http://www.bittorrent.com/dl/%{name}-%{version}.tar.gz
9 # Source0-md5: cd4dff145b5dea3789fa384bb94a4de9
10 Patch0: %{name}-man_pages.patch
11 URL: http://www.bittorrent.com/
12 BuildRequires: python-devel
13 BuildRequires: sed >= 4.0
14 %pyrequires_eq python-modules
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 BitTorrent is a tool for distributing files. It's extremely easy to
21 use - downloads are started by clicking on hyperlinks. Whenever more
22 than one person is downloading at once they send pieces of the file(s)
23 to each other, thus relieving the central server's bandwidth burden.
24 Even with many simultaneous downloads, the upload burden on the
25 central server remains quite small, since each new downloader
26 introduces new upload capacity.
29 BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
30 w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
31 Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
32 miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
33 wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
34 pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
38 Summary: GUI for BitTorrent
39 Summary: Graficzny interfejs u¿ytkownika dla BitTorrenta
40 Group: X11/Applications
41 Requires: %{name} = %{version}-%{release}
42 Requires: python-pygtk-gtk >= 2.4.0
43 Obsoletes: BitTornado-gui
48 %description gui -l pl
49 Graficzny interfejs u¿ytkownika dla BitTorrenta.
56 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_mandir}/man1
62 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
63 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
64 install debian/* $RPM_BUILD_ROOT%{_mandir}/man1
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc LICENSE.txt README.txt credits.txt
72 %attr(755,root,root) %{_bindir}/btdownloadcurses.py
73 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
74 %attr(755,root,root) %{_bindir}/btlaunchmany*.py
75 %attr(755,root,root) %{_bindir}/btmaketorrent.py
76 %attr(755,root,root) %{_bindir}/btr*.py
77 %attr(755,root,root) %{_bindir}/btt*.py
78 %attr(755,root,root) %{_bindir}/btshowmetainfo.py
79 %{py_sitescriptdir}/BitTorrent
80 %{py_sitescriptdir}/khashmir
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/btdownloadgui.py
86 %attr(755,root,root) %{_bindir}/btmaketorrentgui.py
87 %{_pixmapsdir}/BitTorrent-%{version}