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