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