]> git.pld-linux.org Git - packages/fastjar.git/blob - fastjar.spec
- new
[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:        5
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 Provides:       java-shared
16 Obsoletes:      java-shared
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 FastJar is an attempt at creating a feature-for-feature copy of Sun's
21 JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
22 written entirely in Java which makes it dog slow. Since FastJar is
23 written in C, it can create the same .jar file as Sun's tool in a
24 fraction of the time. On my system, Sun's jar takes 50 seconds to
25 create a 10MB jar file, while FastJar only takes a little over a
26 second.
27
28 %description -l pl
29 FastJar to próba stworzenia dok³adnej pod wzglêdem mo¿liwo¶ci kopii
30 polecenia jar z Sun JDK. jar Suna (lub Blackdowna) jest napisany
31 ca³kowicie w Javie, co powoduje, ¿e jest bardzo wolny. Poniewa¿
32 FastJar jest napisany w C, mo¿e tworzyæ te same pliki .jar co
33 narzêdzie Suna kilka razy szybciej. Na systemie autora jar Suna
34 potrzebuje 50 sekund na stworzenie 10MB pliku jar, natomiast fastjar
35 robi to w nieco ponad sekundê.
36
37 %prep
38 %setup -q
39
40 %build
41 rm -f missing
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README CHANGES
62 %attr(755,root,root) %{_bindir}/*
This page took 0.064287 seconds and 3 git commands to generate.