]> git.pld-linux.org Git - packages/BitTorrent.git/blob - BitTorrent.spec
- don't need no stinkin' wxWindows to download some files
[packages/BitTorrent.git] / BitTorrent.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        BitTorrent - a tool for distributing files
3 Summary(pl):    BitTorrent - narzêdzie do rozpowszechniania plików
4 Name:           BitTorrent
5 Version:        3.3
6 Release:        2
7 License:        MIT
8 Group:          Applications/Communications
9 #Source0Download:       http://bitconjurer.org/BitTorrent/download.html
10 Source0:        http://bitconjurer.org/BitTorrent/%{name}-%{version}.tar.gz
11 # Source0-md5:  1ecf1fc40b4972470313f9ae728206e8
12 URL:            http://bitconjurer.org/BitTorrent/
13 BuildRequires:  python-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 BitTorrent is a tool for distributing files. It's extremely easy to
18 use - downloads are started by clicking on hyperlinks. Whenever more
19 than one person is downloading at once they send pieces of the file(s)
20 to each other, thus relieving the central server's bandwidth burden.
21 Even with many simultaneous downloads, the upload burden on the
22 central server remains quite small, since each new downloader
23 introduces new upload capacity.
24
25 %description -l pl
26 BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
27 w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
28 Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
29 miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
30 wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
31 pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
32 mo¿liwo¶ci ¶ci±gania.
33
34 %package gui
35 Summary:        GUI for BitTorrent
36 Summary:        Graficzny interfejs u¿ytkownika dla BitTorrenta
37 Group:          X11/Applications
38 Requires:       BitTorrent = %{name}-%{version}
39 Requires:       python-wxPython
40
41 %description gui
42 wxWindows based GUI for BitTorrent.
43
44 %description gui -l pl
45 Bazuj±cy na wxWindows graficzny interfejs u¿ytkownika dla BitTorrenta.
46
47 %prep
48 %setup -q
49
50 %build
51 find -type f | xargs perl -pi -e 's/python2/python/g'
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT
56
57 ./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc INSTALL.unix.txt LICENSE.txt README.txt credits.txt 
65 %attr(755,root,root) %{_bindir}/btcompletedir.py
66 %attr(755,root,root) %{_bindir}/btdownloadcurses.py
67 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
68 %attr(644,root,root) %{_bindir}/btdownloadlibrary.py
69 %attr(755,root,root) %{_bindir}/btlaunchmany*.py
70 %attr(755,root,root) %{_bindir}/btmakemetafile.py
71 %attr(755,root,root) %{_bindir}/btr*.py
72 %attr(755,root,root) %{_bindir}/btt*.py
73 %attr(755,root,root) %{_bindir}/btshowmetainfo.py
74 %{py_sitedir}/BitTorrent
75
76 %files gui
77 %attr(755,root,root) %{_bindir}/btdownloadgui.py
78 %attr(755,root,root) %{_bindir}/btcompletedirgui.py
This page took 0.058818 seconds and 3 git commands to generate.