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