]>
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 | URL: http://azureus.sourceforge.net/ | |
16 | BuildRequires: eclipse-swt >= 3.1.1 | |
17 | BuildRequires: jakarta-commons-cli | |
18 | BuildRequires: jdk >= 1.4 | |
19 | BuildRequires: jpackage-utils | |
20 | BuildRequires: logging-log4j | |
21 | BuildRequires: rpmbuild(macros) >= 1.300 | |
22 | BuildRequires: sed >= 4.0 | |
23 | BuildRequires: unzip | |
24 | Requires: eclipse-swt >= 3.3 | |
25 | Requires: jakarta-commons-cli | |
26 | Requires: jre >= 1.4 | |
27 | Requires: logging-log4j | |
28 | BuildArch: noarch | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Azureus provides a BitTorrent protocol implementation using Java | |
33 | language. It offers multiple torrent downloads, queuing/priority | |
34 | systems (on torrents and files), start/stop seeding options and | |
35 | instant access to numerous pieces of information about your torrents. | |
36 | Azureus now features an embedded tracker easily set up and ready to | |
37 | use. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Azureus dostarcza implementację protokołu BitTorrent napisaną w języku | |
41 | Java. Oferuje ściąganie wielopotokowe, systemy kolejkowania i | |
42 | priorytetów (dla potoków i plików), opcje zatrzymywania i wznawiania | |
43 | oraz bezpośredni dostęp do wielu części informacji o potokach. Azureus | |
44 | zawiera teraz wbudowany tracker łatwy do skonfigurowania i używania. | |
45 | ||
46 | %prep | |
47 | %setup -q -c | |
48 | find '(' -name '*.java' -o -name '*.xml' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' | |
49 | ||
50 | %patch0 -p1 | |
51 | %patch1 -p1 | |
52 | ||
53 | find -name osx | xargs rm -r | |
54 | find -name 'macosx' | xargs rm -r | |
55 | find -name 'win32*' | xargs rm -r | |
56 | find -name 'Win32*' | xargs rm -r | |
57 | # Remove test code | |
58 | rm org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java | |
59 | ||
60 | %build | |
61 | export ANT_OPTS=-Xmx128M | |
62 | %ant jar | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | install -d $RPM_BUILD_ROOT{%{_datadir}/Azureus,%{_pixmapsdir},%{_desktopdir},%{_bindir}} | |
67 | ||
68 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} | |
69 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir} | |
70 | install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/Azureus | |
71 | install dist/Azureus2.jar $RPM_BUILD_ROOT%{_datadir}/Azureus/Azureus.jar | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_bindir}/Azureus | |
79 | %{_desktopdir}/Azureus.desktop | |
80 | %{_pixmapsdir}/Azureus.png | |
81 | %{_datadir}/Azureus |