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