fastjar-vl.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: Jar creation utility
  2. Summary(ja): Jar 作成ツール
  3. Name: fastjar
  4. Version: 0.98
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Archiving
  8. Source0: %{name}-%{version}.tar.gz
  9. URL: http://savannah.nongnu.org/projects/fastjar
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: zlib-devel
  12. BuildRequires: texinfo
  13. Requires(post): /sbin/install-info
  14. Requires(preun):/sbin/install-info
  15. %description
  16. Replacement for Suns .jar creation program. It is written in C
  17. instead of java and is tons faster.
  18. %prep
  19. %setup -q
  20. %build
  21. %configure
  22. make %{?_smp_mflags}
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. %makeinstall
  26. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  27. %clean
  28. rm -rf $RPM_BUILD_ROOT
  29. %post
  30. /sbin/install-info --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
  31. %preun
  32. if [ "$1" = 0 ]; then
  33. /sbin/install-info --delete \
  34. --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz
  35. fi
  36. %files
  37. %defattr(-, root, root)
  38. %doc AUTHORS CHANGES COPYING ChangeLog NEWS README
  39. %{_bindir}/*
  40. %{_infodir}/fastjar*
  41. %{_mandir}/man1/*
  42. %changelog
  43. * Fri Jul 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98-2
  44. - added BR: zlib-devel
  45. * Wed Nov 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.98-1
  46. - initial build for Vine Linux