]> git.pld-linux.org Git - packages/BitTorrent.git/blob - BitTorrent.spec
7489f981491b6054f4f28be2a71223d9fe797ead
[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.1
6 Release:        0.1
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 URL:            http://bitconjurer.org/BitTorrent/
12 Requires:       python-wxPython
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 BitTorrent is a tool for distributing files. It's extremely easy to
17 use - downloads are started by clicking on hyperlinks. Whenever more
18 than one person is downloading at once they send pieces of the file(s)
19 to each other, thus relieving the central server's bandwidth burden.
20 Even with many simultaneous downloads, the upload burden on the
21 central server remains quite small, since each new downloader
22 introduces new upload capacity.
23
24 %description -l pl
25 BitTorrent to narzêdzie do rozpowszechniania plików. Jest bardzo ³atwe
26 w u¿yciu - ¶ci±ganie rozpoczyna siê przez klikanie na hiper³±cza.
27 Je¶li wiêcej ni¿ jedna osoba ¶ci±ga dany plik, wysy³aj± czê¶ci pliku
28 miêdzy sob±, ³agodz±c obci±¿enie ³±cza centralnego serwera. Nawet przy
29 wielu jednoczesnych po³±czeniach wykorzystanie ³±cza g³ównego serwera
30 pozostaje do¶æ ma³e, poniewa¿ ka¿dy nowy ¶ci±gaj±cy daje nowe
31 mo¿liwo¶ci ¶ci±gania.
32
33 %prep
34 %setup -q
35
36 %build
37 find -type f | xargs perl -pi -e 's/python2/python/g'
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT
42
43 ./setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
44 chmod a-x $RPM_BUILD_ROOT%{_bindir}/btdownloadlibrary.py
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc FAQ.txt INSTALL.unix.txt LICENSE.txt README.txt credits.txt todo.txt
52 %attr(755,root,root) %{_bindir}/btdownloadgui.py
53 %attr(755,root,root) %{_bindir}/btdownloadheadless.py
54 %attr(755,root,root) %{_bindir}/btdownloadprefetched.py
55 %attr(755,root,root) %{_bindir}/btmakemetafile.py
56 %attr(755,root,root) %{_bindir}/bttrack.py
57 %{_bindir}/btdownloadlibrary.py
58 %{py_sitedir}/BitTorrent
This page took 0.085825 seconds and 2 git commands to generate.