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