File fastjar.spec of Package fastjar

# spec file for package fastjar (Version 0.95)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           fastjar
BuildRequires:  zlib-devel
License:        GPL v2 or later
Group:          Development/Languages/Java
AutoReqProv:    on
Provides:       libgcj:/usr/bin/fastjar
PreReq:         %install_info_prereq
Version:        0.95
Release:        1
Summary:        The fastjar Java package archiver
Source:         fastjar-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Fastjar is an implementation of Sun's jar utility that comes with the
JDK, written entirely in C, and runs in a fraction of the time while
being 100% feature compatible.

%setup -q

make %{?jobs:-j%jobs}


%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz



* Wed Aug 13 2008
- Update to 0.95
  - included an fix of a directory traversal to parents of the extraction root.
  - some fixes in build system - Makefile.{am,in},, ...
  - enable fastjar to update an existing .jar with an META-INF/INDEX.LIST aka
    -i support. Still, it doesn't process the MANIFEST.MF to index files
  coming from dependant archives.
  - use '\n' instead of '\0' before adding the index to the jar file to avoid
  having a zero byte at the end of the index file.
  - Fallback on the method used for non-seekable files when reading the
  central-header-end section does not work, i.e. in archives with a zipfile
  comment at the end.
  - Added support for native libraries for libfastjar.
  - jartool.c: Include regex.h, as recommended by  gnulib-tool for the gnulib
  getopt functionality
* Thu Mar 29 2007
- Add zlib-devel BuildRequires.
* Mon Aug 07 2006
- Update fix for 191845 to upstream version.
* Wed Jul 12 2006
- Fix 191845, directory traversal on unpacking.
* Mon May 29 2006
- New fastjar package from savannah sources.