]>
Commit | Line | Data |
---|---|---|
967aff0d | 1 | Summary: BitTornado - an improved bittorrent client |
68400d2f | 2 | Summary(pl.UTF-8): BitTornado - ulepszony klient bittorrenta |
433120bb | 3 | Name: BitTornado |
0cd65a3c | 4 | Version: 0.3.18 |
fb0efd77 | 5 | Release: 4 |
433120bb | 6 | License: MIT |
7 | Group: Applications/Communications | |
7cc17fbc | 8 | Source0: http://download2.bittornado.com/download/%{name}-%{version}.tar.gz |
0cd65a3c | 9 | # Source0-md5: faeb137036cfaaeab91afc7f62c7dc30 |
433120bb | 10 | URL: http://bittornado.com/ |
11 | BuildRequires: python-devel | |
08461adf | 12 | BuildRequires: rpm-pythonprov |
433120bb | 13 | BuildRequires: sed >= 4.0 |
fd673b53 | 14 | %pyrequires_eq python-modules |
5f069872 | 15 | Obsoletes: BitTorrent < 4.2.0 |
967aff0d | 16 | BuildArch: noarch |
433120bb | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
967aff0d JB |
20 | BitTornado is an improved bittorrent client that was built on the |
21 | original BitTorrent. This client features an enhanced console/curses | |
22 | mode, lots of new features under the hood, and is generally one of the | |
23 | most advanced clients out there. It allows you to limit your bandwidth | |
24 | consumption, and provides more control over your torrents. It does | |
25 | everything the original bittorrent does, plus more. | |
433120bb | 26 | |
9e29f055 JR |
27 | %description -l pl.UTF-8 |
28 | BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazując na | |
29 | oryginalnym BitTorrent. Klient charakteryzuje się rozszerzoną obsługą | |
30 | konsoli, kilkoma nowymi właściwościami i jest generalnie jednym z | |
31 | bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczać | |
32 | przepustowość oraz udostępnia dużą kontrolę nad torrentami. Umie | |
33 | wszystko co umiał oryginalny klient bittorrenta i jeszcze troszkę | |
34 | więcej. | |
433120bb | 35 | |
36 | %package gui | |
37 | Summary: GUI for BitTornado | |
68400d2f | 38 | Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado |
433120bb | 39 | Group: X11/Applications |
40 | Requires: %{name} = %{version}-%{release} | |
739fca8e | 41 | Requires: python-wxPython >= 2.5.2 |
5f069872 | 42 | Obsoletes: BitTorrent-gui < 4.2.0 |
433120bb | 43 | |
44 | %description gui | |
45 | wxWindows based GUI for BitTorrent. | |
46 | ||
9e29f055 JR |
47 | %description gui -l pl.UTF-8 |
48 | Bazujący na wxWindows graficzny interfejs użytkownika dla BitTorrenta. | |
433120bb | 49 | |
50 | %prep | |
51 | %setup -q -n %{name}-CVS | |
8e4d357b KK |
52 | # enabled Psyco |
53 | %{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py | |
433120bb | 54 | |
55 | %build | |
56 | find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";" | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
c0a53d07 | 60 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
433120bb | 61 | |
9d9e4ee1 | 62 | %py_install |
433120bb | 63 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm |
64 | ||
c0a53d07 | 65 | install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
b28561bf | 66 | |
433120bb | 67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
08461adf | 72 | %doc *.txt |
433120bb | 73 | %attr(755,root,root) %{_bindir}/btcompletedir.py |
74 | %attr(755,root,root) %{_bindir}/btdownloadcurses.py | |
75 | %attr(755,root,root) %{_bindir}/btdownloadheadless.py | |
76 | %attr(755,root,root) %{_bindir}/btlaunchmany*.py | |
77 | %attr(755,root,root) %{_bindir}/btmakemetafile.py | |
78 | %attr(755,root,root) %{_bindir}/btr*.py | |
79 | %attr(755,root,root) %{_bindir}/btt*.py | |
80 | %attr(755,root,root) %{_bindir}/btshowmetainfo.py | |
81 | %attr(755,root,root) %{_bindir}/btsethttpseeds.py | |
82 | %attr(755,root,root) %{_bindir}/btcopyannounce.py | |
967aff0d | 83 | %{py_sitescriptdir}/%{name} |
c0a53d07 JB |
84 | %{_mandir}/man1/*.bittornado.1* |
85 | %{_mandir}/man1/btcopyannounce.1* | |
86 | %{_mandir}/man1/btsethttpseeds.1* | |
433120bb | 87 | |
88 | %files gui | |
89 | %defattr(644,root,root,755) | |
90 | %attr(755,root,root) %{_bindir}/btdownloadgui.py | |
91 | %attr(755,root,root) %{_bindir}/btcompletedirgui.py | |
92 | %attr(755,root,root) %{_bindir}/btmaketorrentgui.py | |
93 | %attr(755,root,root) %{_bindir}/bt-t-make.py | |
c0a53d07 | 94 | %{_mandir}/man1/btmaketorrentgui.1* |