]>
Commit | Line | Data |
---|---|---|
1 | Summary: Azureus - Java BitTorrent client | |
2 | Summary(pl.UTF-8): Azureus - klient BitTorrenta w Javie | |
3 | Name: Azureus | |
4 | Version: 2.5.0.0 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Networking | |
8 | Source0: http://dl.sourceforge.net/azureus/%{name}_%{version}_source.zip | |
9 | # Source0-md5: f487f75f37674820bd3b2cc6af97ce57 | |
10 | Source1: %{name}.png | |
11 | Source2: %{name}.desktop | |
12 | Source3: %{name}.sh | |
13 | Patch0: %{name}-buildfile.patch | |
14 | Patch1: %{name}-nomacosx.patch | |
15 | Patch2: %{name}-swt31.patch | |
16 | URL: http://azureus.sourceforge.net/ | |
17 | BuildRequires: eclipse-swt >= 3.1.1 | |
18 | BuildRequires: jakarta-commons-cli | |
19 | BuildRequires: jdk >= 1.4 | |
20 | BuildRequires: logging-log4j | |
21 | BuildRequires: unzip | |
22 | Requires: eclipse-swt >= 3.1.1 | |
23 | Requires: jakarta-commons-cli | |
24 | Requires: jre >= 1.4 | |
25 | Requires: logging-log4j | |
26 | BuildArch: noarch | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Azureus provides a BitTorrent protocol implementation using Java | |
31 | language. It offers multiple torrent downloads, queuing/priority | |
32 | systems (on torrents and files), start/stop seeding options and | |
33 | instant access to numerous pieces of information about your torrents. | |
34 | Azureus now features an embedded tracker easily set up and ready to | |
35 | use. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Azureus dostarcza implementację protokołu BitTorrent napisaną w języku | |
39 | Java. Oferuje ściąganie wielopotokowe, systemy kolejkowania i | |
40 | priorytetów (dla potoków i plików), opcje zatrzymywania i wznawiania | |
41 | oraz bezpośredni dostęp do wielu części informacji o potokach. Azureus | |
42 | zawiera teraz wbudowany tracker łatwy do skonfigurowania i używania. | |
43 | ||
44 | %prep | |
45 | %setup -q -c | |
46 | %patch0 -p0 | |
47 | %patch1 -p1 | |
48 | %patch2 -p1 | |
49 | ||
50 | %build | |
51 | rm -rf org/gudy/azureus2/platform/macosx/access | |
52 | rm -rf org/gudy/azureus2/ui/swt/{osx,test} | |
53 | ##export ANT_OPTS=-Xmx128M | |
54 | ant jar | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | install -d $RPM_BUILD_ROOT{%{_datadir}/Azureus,%{_pixmapsdir},%{_desktopdir},%{_bindir}} | |
59 | ||
60 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} | |
61 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} | |
62 | install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/Azureus | |
63 | install dist/Azureus2.jar $RPM_BUILD_ROOT%{_datadir}/Azureus/Azureus.jar | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %attr(755,root,root) %{_bindir}/Azureus | |
71 | %{_desktopdir}/Azureus.desktop | |
72 | %{_pixmapsdir}/Azureus.png | |
73 | %{_datadir}/Azureus |