]> git.pld-linux.org Git - packages/fastjar.git/blob - fastjar.spec
- removed outdated DESTDIR_and_install patch.
[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 URL:            http://fastjar.sourceforge.net
12 BuildRequires:  zlib-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 FastJar is an attempt at creating a feature-for-feature copy of Sun's
17 JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
18 written entirely in Java which makes it dog slow. Since FastJar is
19 written in C, it can create the same .jar file as Sun's tool in a
20 fraction of the time. On my system, Sun's jar takes 50 seconds to
21 create a 10MB jar file, while FastJar only takes a little over a
22 second.
23
24 %prep
25 %setup -q
26
27 %build
28 %configure
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
37
38 gzip -9nf README CHANGES
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc *.gz
46 %attr(755,root,root) %{_bindir}/*
This page took 0.102486 seconds and 3 git commands to generate.