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