]> git.pld-linux.org Git - packages/BitTornado.git/blob - BitTornado.spec
8ba4bf4619b5891ab0b2ac3493bc3e66af3243d5
[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.15
5 Release:        1
6 License:        MIT
7 Group:          Applications/Communications
8 Source0:        http://download2.bittornado.com/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  3b84a0ec9cb960b5df7045c9e580701e
10 URL:            http://bittornado.com/
11 BuildRequires:  python
12 BuildRequires:  python-devel
13 BuildRequires:  python-modules
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  sed >= 4.0
16 Requires:       python-modules
17 Obsoletes:      BitTorrent < 4.2.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 BitTornado is an improved bittorrent client that was built on the
23 original BitTorrent. This client features an enhanced console/curses
24 mode, lots of new features under the hood, and is generally one of the
25 most advanced clients out there. It allows you to limit your bandwidth
26 consumption, and provides more control over your torrents. It does
27 everything the original bittorrent does, plus more.
28
29 %description -l pl
30 BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazuj±c na
31 oryginalnym BitTorrent. Klient charakteryzuje siê rozszerzon± obs³ug±
32 konsoli, kilkoma nowymi w³a¶ciwo¶ciami i jest generalnie jednym z
33 bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczaæ
34 przepustowo¶æ oraz udostêpnia du¿± kontrolê nad torrentami. Umie
35 wszystko co umia³ oryginalny klient bittorrenta i jeszcze troszkê
36 wiêcej.
37
38 %package gui
39 Summary:        GUI for BitTornado
40 Summary:        Graficzny interfejs u¿ytkownika dla BitTornado
41 Group:          X11/Applications
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       python-wxPython >= 2.5.2
44 Obsoletes:      BitTorrent-gui < 4.2.0
45
46 %description gui
47 wxWindows based GUI for BitTorrent.
48
49 %description gui -l pl
50 Bazuj±cy na wxWindows graficzny interfejs u¿ytkownika dla BitTorrenta.
51
52 %prep
53 %setup -q -n %{name}-CVS
54 # enabled Psyco
55 %{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
56
57 %build
58 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT
63
64 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
65 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc *.txt
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
83 %{py_sitescriptdir}/%{name}
84
85 %files gui
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/btdownloadgui.py
88 %attr(755,root,root) %{_bindir}/btcompletedirgui.py
89 %attr(755,root,root) %{_bindir}/btmaketorrentgui.py
90 %attr(755,root,root) %{_bindir}/bt-t-make.py
This page took 0.065142 seconds and 2 git commands to generate.