-Summary: BitTornado is an improved bittorrent client
-Summary(pl): BitTornado jest ulepszym klientem bittorrenta
+Summary: BitTornado - an improved bittorrent client
+Summary(pl): BitTornado - ulepszony klient bittorrenta
Name: BitTornado
-Version: 0.3.7
+Version: 0.3.12
Release: 1
License: MIT
Group: Applications/Communications
-Source0: http://e.scarywater.net/bt/download/%{name}-%{version}.tar.gz
-# Source0-md5: ffeccfa4ee6a5732ea036332ccf34e92
+Source0: http://bittornado.com/download/%{name}-%{version}.tar.gz
+# Source0-md5: c14574fb2ac98c9af53e921b52a4732e
URL: http://bittornado.com/
+BuildRequires: python
BuildRequires: python-devel
-BuildRequires: rpm-pythonprov
+BuildRequires: python-modules
BuildRequires: sed >= 4.0
-BuildRequires: unzip
Requires: python-modules
-BuildArch: noarch
Obsoletes: BitTorrent
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-BitTornado is an improved bittorrent client that was built on the original
-BitTorrent. This client features an enhanced console/curses mode, lots of new
-features under the hood, and is generally one of the most advanced clients out
-there. It allows you to limit your bandwidth consumption, and provides more
-control over your torrents. It does everything the original bittorrent does,
-plus more.
+BitTornado is an improved bittorrent client that was built on the
+original BitTorrent. This client features an enhanced console/curses
+mode, lots of new features under the hood, and is generally one of the
+most advanced clients out there. It allows you to limit your bandwidth
+consumption, and provides more control over your torrents. It does
+everything the original bittorrent does, plus more.
%description -l pl
-BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazuj±c na oryginalnym BitTorrent. Klient charakteryzuje siê rozszerzon± obs³ug± konsoli, kilkoma nowymi w³a¶ciwo¶ciami i jest generalnie jednym z bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczaæ przepustowo¶æ oraz udostêpnia du¿± kontrolê nad torrentami. Umie wszystko co umia³ oryginalny klient bittorrenta i jeszcze troszkê wiêcej.
+BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazuj±c na
+oryginalnym BitTorrent. Klient charakteryzuje siê rozszerzon± obs³ug±
+konsoli, kilkoma nowymi w³a¶ciwo¶ciami i jest generalnie jednym z
+bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczaæ
+przepustowo¶æ oraz udostêpnia du¿± kontrolê nad torrentami. Umie
+wszystko co umia³ oryginalny klient bittorrenta i jeszcze troszkê
+wiêcej.
%package gui
Summary: GUI for BitTornado
Summary: Graficzny interfejs u¿ytkownika dla BitTornado
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: python-wxPython
+Requires: python-wxPython >= 2.5.2
Obsoletes: BitTorrent-gui
%description gui
%prep
%setup -q -n %{name}-CVS
+# enabled Psyco
+%{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
%build
find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
%attr(755,root,root) %{_bindir}/btshowmetainfo.py
%attr(755,root,root) %{_bindir}/btsethttpseeds.py
%attr(755,root,root) %{_bindir}/btcopyannounce.py
-%{py_sitescriptdir}/%{name}/
+%{py_sitescriptdir}/%{name}
%files gui
%defattr(644,root,root,755)