]> git.pld-linux.org Git - packages/BitTornado.git/blob - BitTornado.spec
- no need to obsolete anything recent
[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.13
5 Release:        2
6 License:        MIT
7 Group:          Applications/Communications
8 Source0:        http://bittornado.com/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  2ad36b3437778ecb635d02a35f3bfca9
10 URL:            http://bittornado.com/
11 BuildRequires:  python
12 BuildRequires:  python-devel
13 BuildRequires:  python-modules
14 BuildRequires:  sed >= 4.0
15 Requires:       python-modules
16 Obsoletes:      BitTorrent < 4.2.0
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
27
28 %description -l pl
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ê
35 wiêcej.
36
37 %package gui
38 Summary:        GUI for BitTornado
39 Summary:        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
44
45 %description gui
46 wxWindows based GUI for BitTorrent.
47
48 %description gui -l pl
49 Bazuj±cy na wxWindows graficzny interfejs u¿ytkownika dla BitTorrenta.
50
51 %prep
52 %setup -q -n %{name}-CVS
53 # enabled Psyco
54 %{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
55
56 %build
57 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT
62
63 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
64 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.txt 
72 %attr(755,root,root) %{_bindir}/btcompletedir.py
73 %attr(755,root,root) %{_bindir}/btdownloadcurses.py
74 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
75 %attr(755,root,root) %{_bindir}/btlaunchmany*.py
76 %attr(755,root,root) %{_bindir}/btmakemetafile.py
77 %attr(755,root,root) %{_bindir}/btr*.py
78 %attr(755,root,root) %{_bindir}/btt*.py
79 %attr(755,root,root) %{_bindir}/btshowmetainfo.py
80 %attr(755,root,root) %{_bindir}/btsethttpseeds.py
81 %attr(755,root,root) %{_bindir}/btcopyannounce.py
82 %{py_sitescriptdir}/%{name}
83
84 %files gui
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/btdownloadgui.py
87 %attr(755,root,root) %{_bindir}/btcompletedirgui.py
88 %attr(755,root,root) %{_bindir}/btmaketorrentgui.py
89 %attr(755,root,root) %{_bindir}/bt-t-make.py
This page took 0.054056 seconds and 3 git commands to generate.