]> git.pld-linux.org Git - packages/fastjar.git/blame - fastjar.spec
- updated to 0.94
[packages/fastjar.git] / fastjar.spec
CommitLineData
57b5c9b2 1Summary: Jar file creation utility
32a9d45e 2Summary(pl.UTF-8): Narzędzie do tworzenia plików jar
57b5c9b2 3Name: fastjar
5fdcb800
ŁK
4Version: 0.94
5Release: 1
57b5c9b2 6License: GPL
bbfa1a39 7Group: Development/Languages/Java
5fdcb800
ŁK
8Source0: http://downloads.sourceforge.net/fastjar/%{name}-%{version}.tar.gz
9# Source0-md5: 14d4bdfac236e347d806c6743dba48c6
f8136d24 10URL: http://fastjar.sourceforge.net/
19302216 11BuildRequires: autoconf
12BuildRequires: automake
e36a3f61 13BuildRequires: zlib-devel
edde4759 14Provides: jar
c93d3531 15Provides: java-shared
16Obsoletes: java-shared
57b5c9b2 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
e36a3f61 20FastJar is an attempt at creating a feature-for-feature copy of Sun's
21JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
22written entirely in Java which makes it dog slow. Since FastJar is
23written in C, it can create the same .jar file as Sun's tool in a
24fraction of the time. On my system, Sun's jar takes 50 seconds to
25create a 10MB jar file, while FastJar only takes a little over a
26second.
57b5c9b2 27
80588d89
JR
28%description -l pl.UTF-8
29FastJar to próba stworzenia dokładnej pod względem możliwości kopii
f8136d24 30polecenia jar z Sun JDK. jar Suna (lub Blackdowna) jest napisany
80588d89
JR
31całkowicie w Javie, co powoduje, że jest bardzo wolny. Ponieważ
32FastJar jest napisany w C, może tworzyć te same pliki .jar co
33narzędzie Suna kilka razy szybciej. Na systemie autora jar Suna
f8136d24 34potrzebuje 50 sekund na stworzenie 10MB pliku jar, natomiast fastjar
80588d89 35robi to w nieco ponad sekundę.
f8136d24 36
57b5c9b2 37%prep
38%setup -q
57b5c9b2 39
40%build
3d2618d8 41rm -f missing
94b7735d 42%{__aclocal}
88460a22 43%{__autoconf}
44%{__automake}
57b5c9b2 45%configure
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
a78c6aa4
PG
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
57b5c9b2 53
54ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
55
57b5c9b2 56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
94b7735d 61%doc README CHANGES
e36a3f61 62%attr(755,root,root) %{_bindir}/*
This page took 0.531223 seconds and 4 git commands to generate.