Summary(pl): Narzêdzie do tworzenia plików jar
Name: fastjar
Version: 0.93
-Release: 2
+Release: 5
License: GPL
Group: Development/Languages/Java
-Source0: ftp://download.sourceforge.net/pub/sourceforge/fastjar/%{name}-%{version}.tgz
+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
%build
rm -f missing
-aclocal
+%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%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 CHANGES
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README CHANGES
%attr(755,root,root) %{_bindir}/*