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