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