50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
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 <dvorakv@idas.cz>
|
|
- first version of RPM spec file
|