source: projects/specs/trunk/x/xlHtml/xlHtml-vl.spec @ 521

Revision 521, 2.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Excel 95/97 and PowerPoint to HTML converter
2Name: xlHtml
3Version: 0.5
4Release: 2%{?_dist_release}
5License: GPL
6Distribution: Vine Linux
7Vendor: Project Vine
8Group: Applications/Text
9Source0: xlhtml-%{version}.tgz
10Patch0: xlHtml-0.2.8-destdir.patch
11Patch1: xlhtml-0.5-config-x86_64.patch
12URL: http://chicago.sourceforge.net/xlhtml/
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildPrereq: autoconf automake
16Provides: xlhtml ppthtml
17
18%description
19The xlHtml program will take an Excel 95, or 97 file as input and
20convert it to highly optimized html. The output is via standard out
21so it can be re-directed to files or piped to filters or used as a
22gateway on the internet.
23
24
25%prep
26%setup -q -n xlhtml-%{version}
27%patch1 -p1 -b .config-x86_64
28
29%build
30rm -f config.{guess,sub}
31aclocal
32autoconf
33automake -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
47make
48
49
50%install
51rm -rf $RPM_BUILD_ROOT
52mkdir -p $RPM_BUILD_ROOT
53make DESTDIR=$RPM_BUILD_ROOT install
54
55
56%clean
57rm -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
Note: See TracBrowser for help on using the repository browser.