]> git.pld-linux.org Git - packages/fastjar.git/blob - fastjar.spec
- updated to 0.93.
[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
8 Group(de):      Entwicklung/Sprachen
9 Group(pl):      Programowanie/Jêzyki
10 Source0:        ftp://download.sourceforge.net/pub/sourceforge/fastjar/%{name}-%{version}.tgz
11 Patch0:         %{name}-DESTDIR_and_install.patch
12 URL:            http://fastjar.sourceforge.net
13 BuildRequires:  zlib-devel
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 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
39
40 gzip -9nf README CHANGES
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc *.gz
48 %attr(755,root,root) %{_bindir}/*
This page took 0.050306 seconds and 4 git commands to generate.