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