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