1 Summary: BitTornado - an improved bittorrent client
2 Summary(pl.UTF-8): BitTornado - ulepszony klient bittorrenta
7 Group: Applications/Communications
8 Source0: http://download2.bittornado.com/download/%{name}-%{version}.tar.gz
9 # Source0-md5: faeb137036cfaaeab91afc7f62c7dc30
10 URL: http://bittornado.com/
11 BuildRequires: rpmbuild(macros) >= 1.710
12 BuildRequires: python-devel
13 BuildRequires: rpm-pythonprov
14 BuildRequires: sed >= 4.0
15 %pyrequires_eq python-modules
16 Obsoletes: BitTorrent < 4.2.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 BitTornado is an improved bittorrent client that was built on the
22 original BitTorrent. This client features an enhanced console/curses
23 mode, lots of new features under the hood, and is generally one of the
24 most advanced clients out there. It allows you to limit your bandwidth
25 consumption, and provides more control over your torrents. It does
26 everything the original bittorrent does, plus more.
28 %description -l pl.UTF-8
29 BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazując na
30 oryginalnym BitTorrent. Klient charakteryzuje się rozszerzoną obsługą
31 konsoli, kilkoma nowymi właściwościami i jest generalnie jednym z
32 bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczać
33 przepustowość oraz udostępnia dużą kontrolę nad torrentami. Umie
34 wszystko co umiał oryginalny klient bittorrenta i jeszcze troszkę
38 Summary: GUI for BitTornado
39 Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado
40 Group: X11/Applications
41 Requires: %{name} = %{version}-%{release}
42 Requires: python-wxPython >= 2.5.2
43 Obsoletes: BitTorrent-gui < 4.2.0
46 wxWindows based GUI for BitTorrent.
48 %description gui -l pl.UTF-8
49 Bazujący na wxWindows graficzny interfejs użytkownika dla BitTorrenta.
52 %setup -q -n %{name}-CVS
54 %{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
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
64 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
66 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/btcompletedir.py
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}/btmakemetafile.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 %attr(755,root,root) %{_bindir}/btsethttpseeds.py
83 %attr(755,root,root) %{_bindir}/btcopyannounce.py
84 %{py_sitescriptdir}/%{name}
85 %{_mandir}/man1/*.bittornado.1*
86 %{_mandir}/man1/btcopyannounce.1*
87 %{_mandir}/man1/btsethttpseeds.1*
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/btdownloadgui.py
92 %attr(755,root,root) %{_bindir}/btcompletedirgui.py
93 %attr(755,root,root) %{_bindir}/btmaketorrentgui.py
94 %attr(755,root,root) %{_bindir}/bt-t-make.py
95 %{_mandir}/man1/btmaketorrentgui.1*