]> git.pld-linux.org Git - packages/BitTornado.git/blame - BitTornado.spec
- tabs in preamle
[packages/BitTornado.git] / BitTornado.spec
CommitLineData
967aff0d 1Summary: BitTornado - an improved bittorrent client
68400d2f 2Summary(pl.UTF-8): BitTornado - ulepszony klient bittorrenta
433120bb 3Name: BitTornado
0cd65a3c 4Version: 0.3.18
b4253e08 5Release: 1
433120bb 6License: MIT
7Group: Applications/Communications
7cc17fbc 8Source0: http://download2.bittornado.com/download/%{name}-%{version}.tar.gz
0cd65a3c 9# Source0-md5: faeb137036cfaaeab91afc7f62c7dc30
433120bb 10URL: http://bittornado.com/
11BuildRequires: python-devel
08461adf 12BuildRequires: rpm-pythonprov
433120bb 13BuildRequires: sed >= 4.0
fd673b53 14%pyrequires_eq python-modules
5f069872 15Obsoletes: BitTorrent < 4.2.0
967aff0d 16BuildArch: noarch
433120bb 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
967aff0d
JB
20BitTornado is an improved bittorrent client that was built on the
21original BitTorrent. This client features an enhanced console/curses
22mode, lots of new features under the hood, and is generally one of the
23most advanced clients out there. It allows you to limit your bandwidth
24consumption, and provides more control over your torrents. It does
25everything the original bittorrent does, plus more.
433120bb 26
9e29f055
JR
27%description -l pl.UTF-8
28BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazując na
29oryginalnym BitTorrent. Klient charakteryzuje się rozszerzoną obsługą
30konsoli, kilkoma nowymi właściwościami i jest generalnie jednym z
31bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczać
32przepustowość oraz udostępnia dużą kontrolę nad torrentami. Umie
33wszystko co umiał oryginalny klient bittorrenta i jeszcze troszkę
34więcej.
433120bb 35
36%package gui
37Summary: GUI for BitTornado
68400d2f 38Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado
433120bb 39Group: X11/Applications
40Requires: %{name} = %{version}-%{release}
739fca8e 41Requires: python-wxPython >= 2.5.2
5f069872 42Obsoletes: BitTorrent-gui < 4.2.0
433120bb 43
44%description gui
45wxWindows based GUI for BitTorrent.
46
9e29f055
JR
47%description gui -l pl.UTF-8
48Bazują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
56find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT
61
62python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
63find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
08461adf 70%doc *.txt
433120bb 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
967aff0d 81%{py_sitescriptdir}/%{name}
433120bb 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.09173 seconds and 4 git commands to generate.