]> git.pld-linux.org Git - packages/BitTornado.git/blob - BitTornado.spec
- up to 0.3.18
[packages/BitTornado.git] / BitTornado.spec
1 Summary:        BitTornado - an improved bittorrent client
2 Summary(pl):    BitTornado - ulepszony klient bittorrenta
3 Name:           BitTornado
4 Version:        0.3.18
5 Release:        1
6 License:        MIT
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:  python-devel
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  sed >= 4.0
14 %pyrequires_eq  python-modules
15 Obsoletes:      BitTorrent < 4.2.0
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
26
27 %description -l pl
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.
35
36 %package gui
37 Summary:        GUI for BitTornado
38 Summary:        Graficzny interfejs u¿ytkownika dla BitTornado
39 Group:          X11/Applications
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       python-wxPython >= 2.5.2
42 Obsoletes:      BitTorrent-gui < 4.2.0
43
44 %description gui
45 wxWindows based GUI for BitTorrent.
46
47 %description gui -l pl
48 Bazuj±cy na wxWindows graficzny interfejs u¿ytkownika dla BitTorrenta.
49
50 %prep
51 %setup -q -n %{name}-CVS
52 # enabled Psyco
53 %{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
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
60 install -d $RPM_BUILD_ROOT
61
62 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
63 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc *.txt
71 %attr(755,root,root) %{_bindir}/btcompletedir.py
72 %attr(755,root,root) %{_bindir}/btdownloadcurses.py
73 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
74 %attr(755,root,root) %{_bindir}/btlaunchmany*.py
75 %attr(755,root,root) %{_bindir}/btmakemetafile.py
76 %attr(755,root,root) %{_bindir}/btr*.py
77 %attr(755,root,root) %{_bindir}/btt*.py
78 %attr(755,root,root) %{_bindir}/btshowmetainfo.py
79 %attr(755,root,root) %{_bindir}/btsethttpseeds.py
80 %attr(755,root,root) %{_bindir}/btcopyannounce.py
81 %{py_sitescriptdir}/%{name}
82
83 %files gui
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/btdownloadgui.py
86 %attr(755,root,root) %{_bindir}/btcompletedirgui.py
87 %attr(755,root,root) %{_bindir}/btmaketorrentgui.py
88 %attr(755,root,root) %{_bindir}/bt-t-make.py
This page took 0.066426 seconds and 3 git commands to generate.