1 Summary: Jar file creation utility
2 Summary(pl): Narzêdzie do tworzenia plików jar
7 Group: Development/Languages/Java
8 Group(de): Entwicklung/Sprachen/Java
9 Group(pl): Programowanie/Jêzyki/Java
10 Source0: ftp://download.sourceforge.net/pub/sourceforge/fastjar/%{name}-%{version}.tgz
11 URL: http://fastjar.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 FastJar is an attempt at creating a feature-for-feature copy of Sun's
20 JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
21 written entirely in Java which makes it dog slow. Since FastJar is
22 written in C, it can create the same .jar file as Sun's tool in a
23 fraction of the time. On my system, Sun's jar takes 50 seconds to
24 create a 10MB jar file, while FastJar only takes a little over a
28 FastJar to próba stworzenia dok³adnej pod wzglêdem mo¿liwo¶ci kopii
29 polecenia jar z Sun JDK. jar Suna (lub Blackdowna) jest napisany
30 ca³kowicie w Javie, co powoduje, ¿e jest bardzo wolny. Poniewa¿
31 FastJar jest napisany w C, mo¿e tworzyæ te same pliki .jar co
32 narzêdzie Suna kilka razy szybciej. Na systemie autora jar Suna
33 potrzebuje 50 sekund na stworzenie 10MB pliku jar, natomiast fastjar
34 robi to w nieco ponad sekundê.
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
53 gzip -9nf README CHANGES
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*