]> git.pld-linux.org Git - packages/fastjar.git/blob - fastjar.spec
19bff871c81536bbdf242e1ae743f89d18e8ffe7
[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 %prep
28 %setup -q
29
30 %build
31 aclocal
32 autoconf
33 automake -a -c
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
43
44 gzip -9nf README CHANGES
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %attr(755,root,root) %{_bindir}/*
This page took 0.104377 seconds and 3 git commands to generate.