-
-%include /usr/lib/rpm/macros.python
-
-Summary: BitTorrent is a tool for distributing files.
+%include /usr/lib/rpm/macros.python
+Summary: BitTorrent - a tool for distributing files
+Summary(pl): BitTorrent - narzêdzie do rozpowszechniania plików
Name: BitTorrent
Version: 3.1
Release: 0.1
License: MIT
Group: Applications/Communications
Source0: %{name}-%{version}.tar.gz
-#Patch0: %{name}-what.patch
URL: http://bitconjurer.org/BitTorrent/
Requires: python-wxPython
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-BitTorrent is a tool for distributing files. It's extremely
-easy to use - downloads are started by clicking on hyperlinks.
-Whenever more than one person is downloading at once
-they send pieces of the file(s) to each other, thus relieving
-the central server's bandwidth burden. Even with many
-simultaneous downloads, the upload burden on the central server
-remains quite small, since each new downloader introduces new
-upload capacity.
+BitTorrent is a tool for distributing files. It's extremely easy to
+use - downloads are started by clicking on hyperlinks. Whenever more
+than one person is downloading at once they send pieces of the file(s)
+to each other, thus relieving the central server's bandwidth burden.
+Even with many simultaneous downloads, the upload burden on the
+central server remains quite small, since each new downloader
+introduces new upload capacity.
+
+%description -l pl
+BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
+w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
+Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
+miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
+wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
+pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
+mo¿liwo¶ci ¶ci±gania.
%prep
%setup -q
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
-./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
-chmod a-x $RPM_BUILD_ROOT/%{_bindir}/btdownloadlibrary.py
+./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
+chmod a-x $RPM_BUILD_ROOT%{_bindir}/btdownloadlibrary.py
%clean
rm -rf $RPM_BUILD_ROOT