File xlhtml.spec of Package xlhtml
#
# spec file for package xlhtml (Version 0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xlhtml
License: GPL v2 or later
Group: Productivity/Text/Convertors
Requires: xlhtml-cole
AutoReqProv: on
Version: 0.5
Release: 214
Summary: Excel 95 and later file converter
Url: http://chicago.sourceforge.net/xlhtml/
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.diff
Patch1: %{name}-%{version}_header.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
xlHtml is an Excel 95 and later file converter. Its html output can be
used as a Netscape Plug-in to let you view xls e-mail attachments. It
can also extract regions of a spreadsheet and convert the spreadsheet
to pure text rather than html.
Authors:
--------
Roberto Arturo Tena Sanchez <arturo@directmail.org>
Andrew Scriven <andy.scriven@research.natpower.co.uk>
%package -n xlhtml-cole
License: GPL v2 or later
Summary: Free C OLE library
Group: Development/Libraries/C and C++
AutoReqProv: on
#Provides: xlhtml-cole
%description -n xlhtml-cole
Using cole, you can access Microsoft "Structured Storage" files. The
most popular Microsoft programs generate "Structured Storage" files,
including the Microsoft suite for offices. StarDivision's suite
(StarOffice) generates "Structured Storage" files, too. FlashPix file
format is "Structured Storage", too.
Authors:
--------
Arturo Tena <arturo@directmail.org>
%prep
%setup -q
%patch
%patch1
mv ppthtml/README README-ppthtml
%build
autoreconf -vif
%configure --with-pic --disable-static
make
make -C cole/utils
%install
make DESTDIR=$RPM_BUILD_ROOT install
# xlhtml-cole
install -m 755 cole/cole-config $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/include/cole
install -m 644 cole/cole.h $RPM_BUILD_ROOT/usr/include/cole
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc xlhtml/TODO xlhtml/README README-ppthtml
#%doc xlhtml/contrib/*.html
#%doc xlhtml/contrib/*.txt
/usr/bin/nsopen
/usr/bin/nspptview
/usr/bin/nsxlview
/usr/bin/ppthtml
/usr/bin/xlhtml
%{_mandir}/*/*
%post -n xlhtml-cole -p /sbin/ldconfig
%postun -n xlhtml-cole -p /sbin/ldconfig
%files -n xlhtml-cole
%defattr(-,root,root)
%doc AUTHORS COPYING cole/TODO README
/usr/bin/cole-config
/usr/include/cole
%{_libdir}/libcole.*
#/usr/share/aclocal/cole.m4
%changelog
* Wed May 07 2008 crrodriguez@suse.de
- use RPM_OPT_FLAGS
* Tue Feb 05 2008 pgajdos@suse.cz
- removed temporary libtool wrapper shell scripts
- small spec file cleanups
* Tue Nov 06 2007 pgajdos@suse.cz
- header on [#338094]
* header.patch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Thu Jul 24 2003 tcrhak@suse.cz
- update to version 0.5
* Tue Jun 17 2003 ro@suse.de
- fix filelist
* Mon Jan 13 2003 tcrhak@suse.cz
- update to version 0.4
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri May 10 2002 tcrhak@suse.cz
- fixed for 64 bit platforms
* Tue Apr 02 2002 ro@suse.de
- build with new automake
* Thu Mar 21 2002 tcrhak@suse.cz
- added directory /usr/include/cole to filelist of xlhtml-cole
* Thu Oct 04 2001 schwab@suse.de
- Remove bogus definition of size_t.
- Fix libtool/automake clashes.
* Tue Aug 21 2001 dan@suse.cz
- initial version