]> git.pld-linux.org Git - packages/fastjar.git/blobdiff - fastjar.spec
- new
[packages/fastjar.git] / fastjar.spec
index b78de840ac6b1a8143a0150f1ccaf79f31adbd58..f2ce075d040627f578b83634729d2e3bb0f461e9 100644 (file)
@@ -1,43 +1,62 @@
-
 Summary:       Jar file creation utility
 Summary(pl):   Narzêdzie do tworzenia plików jar
 Name:          fastjar
-Version:       0.90
-Release:       1
+Version:       0.93
+Release:       5
 License:       GPL
-Group:         Development/Languages
-Group(pl):     Programowanie/Jêzyki
-Source0:       ftp://download.sourceforge.net/pub/sourceforge/fastjar/%{name}-%{version}.tgz
-Patch0:                fastjar-DESTDIR_and_install.patch
-URL:           http://fastjar.sourceforge.net
+Group:         Development/Languages/Java
+Source0:       http://dl.sourceforge.net/fastjar/%{name}-%{version}.tgz
+# Source0-md5: a8159d2042bce9998020f197fee39ef1
+URL:           http://fastjar.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: zlib-devel
+Provides:      jar
+Provides:      java-shared
+Obsoletes:     java-shared
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+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.
 
 %description -l pl
+FastJar to próba stworzenia dok³adnej pod wzglêdem mo¿liwo¶ci kopii
+polecenia jar z Sun JDK. jar Suna (lub Blackdowna) jest napisany
+ca³kowicie w Javie, co powoduje, ¿e jest bardzo wolny. Poniewa¿
+FastJar jest napisany w C, mo¿e tworzyæ te same pliki .jar co
+narzêdzie Suna kilka razy szybciej. Na systemie autora jar Suna
+potrzebuje 50 sekund na stworzenie 10MB pliku jar, natomiast fastjar
+robi to w nieco ponad sekundê.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 ln -sf fastjar $RPM_BUILD_ROOT%{_bindir}/jar
 
-gzip -9nf README LICENSE INSTALL 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 README CHANGES
+%attr(755,root,root) %{_bindir}/*
This page took 0.081766 seconds and 4 git commands to generate.