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