From 85156b29e9f68bb0ecbad4eae0a972ea67606aa5 Mon Sep 17 00:00:00 2001 From: slidedraw Date: Thu, 16 May 2002 15:21:35 +0000 Subject: [PATCH] Added a RPM Spec file. --- xlhtml.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 xlhtml.spec diff --git a/xlhtml.spec b/xlhtml.spec new file mode 100644 index 0000000..761d033 --- /dev/null +++ b/xlhtml.spec @@ -0,0 +1,49 @@ +Name: xlhtml +Summary: A program that converts MS Excel files to useful formats. +Version: 0.5 +Release: 1 +Copyright: GPL +Group: Applications/File +Source: http://prdownloads.sourceforge.net/chicago/xlhtml-0.5.tgz +BuildRoot: /var/tmp/%{name}-buildroot + +%description +xlhtml generates HTML, XML, csv and tab-delimited versions of MS Excel +spreadsheets. Known to work with XLS files of MS Excel 95, 97 and 2000. + +Also included is ppthtml, a utility for converting MS PowerPoint 95/97 +presentations to HTML. + +%prep +%setup + +%build +./configure +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +mv ppthtml/README ppthtml/ppt-README +mv ppthtml/THANKS ppthtml/ppt-THANKS +mv ppthtml/ChangeLog ppthtml/ppt-ChangeLog + +%install +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 + +install -s -m 755 xlhtml/xlhtml $RPM_BUILD_ROOT/usr/bin +install -s -m 755 ppthtml/ppthtml $RPM_BUILD_ROOT/usr/bin +install -m 644 xlhtml/xlhtml.1 $RPM_BUILD_ROOT/usr/share/man/man1 +install -m 644 ppthtml/ppthtml.1 $RPM_BUILD_ROOT/usr/share/man/man1 + +%clean +if ! [ "$RPM_BUILD_ROOT" = "/" ]; then rm -rf $RPM_BUILD_ROOT; fi + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING xlhtml/README xlhtml/THANKS xlhtml/TODO xlhtml/ChangeLog ppthtml/ppt-README ppthtml/ppt-THANKS ppthtml/ppt-ChangeLog +/usr/bin/xlhtml +/usr/bin/ppthtml +/usr/share/man/man1/xlhtml.1* +/usr/share/man/man1/ppthtml.1* + +%changelog +* Wed May 15 2002 Vaclav Dvorak +- first version of RPM spec file