]> git.pld-linux.org Git - packages/fastjar.git/commitdiff
- adapterized, fastjar-0_90-1
authorkloczek <kloczek@pld-linux.org>
Wed, 14 Feb 2001 18:02:17 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added %description,
- added BuildRequires rules,
- simplifications in %files,
- removed LICENSE and INSTALL from %doc.

Changed files:
    fastjar.spec -> 1.3

fastjar.spec

index b78de840ac6b1a8143a0150f1ccaf79f31adbd58..afd14cedc1975e9d2f7d77d0ef9086e542e15b0d 100644 (file)
@@ -1,4 +1,3 @@
-
 Summary:       Jar file creation utility
 Summary(pl):   Narzêdzie do tworzenia plików jar
 Name:          fastjar
@@ -6,15 +5,22 @@ Version:      0.90
 Release:       1
 License:       GPL
 Group:         Development/Languages
+Group(de):     Entwicklung/Sprachen
 Group(pl):     Programowanie/Jêzyki
 Source0:       ftp://download.sourceforge.net/pub/sourceforge/fastjar/%{name}-%{version}.tgz
-Patch0:                fastjar-DESTDIR_and_install.patch
+Patch0:                %{name}-DESTDIR_and_install.patch
 URL:           http://fastjar.sourceforge.net
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-
-%description -l pl
+FastJar is an attempt at creating a feature-for-feature copy of Sun's
+JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
+written entirely in Java which makes it dog slow. Since FastJar is
+written in C, it can create the same .jar file as Sun's tool in a
+fraction of the time. On my system, Sun's jar takes 50 seconds to
+create a 10MB jar file, while FastJar only takes a little over a
+second.
 
 %prep
 %setup -q
@@ -31,13 +37,12 @@ rm -rf $RPM_BUILD_ROOT
 
 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
 
-gzip -9nf README LICENSE INSTALL CHANGES
+gzip -9nf README CHANGES
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {README,LICENSE,INSTALL,CHANGES}.gz
-%attr(755, root, root) %{_bindir}/jar
-%attr(755, root, root) %{_bindir}/fastjar
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
This page took 0.060139 seconds and 4 git commands to generate.