xlHtml-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Summary: Excel 95/97 and PowerPoint to HTML converter
  2. Name: xlHtml
  3. Version: 0.5
  4. Release: 2%{?_dist_release}
  5. License: GPL
  6. Distribution: Vine Linux
  7. Vendor: Project Vine
  8. Group: Applications/Text
  9. Source0: xlhtml-%{version}.tgz
  10. Patch0: xlHtml-0.2.8-destdir.patch
  11. Patch1: xlhtml-0.5-config-x86_64.patch
  12. URL: http://chicago.sourceforge.net/xlhtml/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildPrereq: autoconf automake
  15. Provides: xlhtml ppthtml
  16. %description
  17. The xlHtml program will take an Excel 95, or 97 file as input and
  18. convert it to highly optimized html. The output is via standard out
  19. so it can be re-directed to files or piped to filters or used as a
  20. gateway on the internet.
  21. %prep
  22. %setup -q -n xlhtml-%{version}
  23. %patch1 -p1 -b .config-x86_64
  24. %build
  25. rm -f config.{guess,sub}
  26. aclocal
  27. autoconf
  28. automake -a
  29. # Workaround for legacy auto* tools
  30. #%ifnarch x86_64 %{ix86}
  31. #[ -x /usr/bin/autoheader-2.13 ] && ln -s /usr/bin/autoheader-2.13 autoheader
  32. #[ -x /usr/bin/autoconf-2.13 ] && ln -s /usr/bin/autoconf-2.13 autoconf
  33. #%endif
  34. #[ -x /usr/bin/aclocal-1.4 ] && ln -s /usr/bin/aclocal-1.4 aclocal
  35. #[ -x /usr/bin/automake-1.4 ] && ln -s /usr/bin/automake-1.4 automake
  36. #
  37. #export PATH=`pwd`:$PATH
  38. ## End workaround
  39. %configure
  40. make
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. mkdir -p $RPM_BUILD_ROOT
  44. make DESTDIR=$RPM_BUILD_ROOT install
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root)
  49. %doc AUTHORS COPYING
  50. %{_bindir}/*
  51. %{_mandir}/*/*
  52. %changelog
  53. * Mon Jun 15 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.5-2vl5
  54. - fix build section
  55. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.5-1vl5
  56. - applied new versioning policy, spec in utf-8
  57. * Sun Jan 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5-0vl3
  58. - fixed autoconf version on x86 arch
  59. * Mon Dec 24 2007 Shu KONNO <owa@bg.wakwak.com> - 0.5-0vl2
  60. - added Patch1: xlhtml-0.5-config-x86_64.patch
  61. - fixed autoconf version
  62. * Thu Jun 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5-0vl1
  63. - rebuild with new toolchains
  64. - added BuildPrereq and Provides
  65. - updated Summary, URL, Group and Description
  66. - s/Copyright/License/
  67. * Wed May 2 2001 SHoji Matsumoto <shom@vinelinux.org>
  68. - 0.2.8-0vl0
  69. - create