]> git.pld-linux.org Git - packages/BitTornado.git/blame - BitTornado.spec
BR: rpmbuild(macros) >= 1.710
[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
fb0efd77 5Release: 4
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/
f0917c0f 11BuildRequires: rpmbuild(macros) >= 1.710
433120bb 12BuildRequires: python-devel
08461adf 13BuildRequires: rpm-pythonprov
433120bb 14BuildRequires: sed >= 4.0
fd673b53 15%pyrequires_eq python-modules
5f069872 16Obsoletes: BitTorrent < 4.2.0
967aff0d 17BuildArch: noarch
433120bb 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
967aff0d
JB
21BitTornado is an improved bittorrent client that was built on the
22original BitTorrent. This client features an enhanced console/curses
23mode, lots of new features under the hood, and is generally one of the
24most advanced clients out there. It allows you to limit your bandwidth
25consumption, and provides more control over your torrents. It does
26everything the original bittorrent does, plus more.
433120bb 27
9e29f055
JR
28%description -l pl.UTF-8
29BitTornado jest ulepszonym klientem bittorrenta zbudowanym bazując na
30oryginalnym BitTorrent. Klient charakteryzuje się rozszerzoną obsługą
31konsoli, kilkoma nowymi właściwościami i jest generalnie jednym z
32bardziej zaawansowanych klientów bittorrenta. Pozwala ograniczać
33przepustowość oraz udostępnia dużą kontrolę nad torrentami. Umie
34wszystko co umiał oryginalny klient bittorrenta i jeszcze troszkę
35więcej.
433120bb 36
37%package gui
38Summary: GUI for BitTornado
68400d2f 39Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado
433120bb 40Group: X11/Applications
41Requires: %{name} = %{version}-%{release}
739fca8e 42Requires: python-wxPython >= 2.5.2
5f069872 43Obsoletes: BitTorrent-gui < 4.2.0
433120bb 44
45%description gui
46wxWindows based GUI for BitTorrent.
47
9e29f055
JR
48%description gui -l pl.UTF-8
49Bazujący na wxWindows graficzny interfejs użytkownika dla BitTorrenta.
433120bb 50
51%prep
52%setup -q -n %{name}-CVS
8e4d357b
KK
53# enabled Psyco
54%{__sed} -i 's,^psyco = 0,psyco = 1,' BitTornado/PSYCO.py
433120bb 55
56%build
57find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
58
59%install
60rm -rf $RPM_BUILD_ROOT
c0a53d07 61install -d $RPM_BUILD_ROOT%{_mandir}/man1
433120bb 62
9d9e4ee1 63%py_install
433120bb 64find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
65
c0a53d07 66install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
b28561bf 67
433120bb 68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
08461adf 73%doc *.txt
433120bb 74%attr(755,root,root) %{_bindir}/btcompletedir.py
75%attr(755,root,root) %{_bindir}/btdownloadcurses.py
76%attr(755,root,root) %{_bindir}/btdownloadheadless.py
77%attr(755,root,root) %{_bindir}/btlaunchmany*.py
78%attr(755,root,root) %{_bindir}/btmakemetafile.py
79%attr(755,root,root) %{_bindir}/btr*.py
80%attr(755,root,root) %{_bindir}/btt*.py
81%attr(755,root,root) %{_bindir}/btshowmetainfo.py
82%attr(755,root,root) %{_bindir}/btsethttpseeds.py
83%attr(755,root,root) %{_bindir}/btcopyannounce.py
967aff0d 84%{py_sitescriptdir}/%{name}
c0a53d07
JB
85%{_mandir}/man1/*.bittornado.1*
86%{_mandir}/man1/btcopyannounce.1*
87%{_mandir}/man1/btsethttpseeds.1*
433120bb 88
89%files gui
90%defattr(644,root,root,755)
91%attr(755,root,root) %{_bindir}/btdownloadgui.py
92%attr(755,root,root) %{_bindir}/btcompletedirgui.py
93%attr(755,root,root) %{_bindir}/btmaketorrentgui.py
94%attr(755,root,root) %{_bindir}/bt-t-make.py
c0a53d07 95%{_mandir}/man1/btmaketorrentgui.1*
This page took 0.100132 seconds and 4 git commands to generate.