18861N/A#
18861N/A# spec file for package SUNWo3read
18861N/A#
18861N/A# includes module(s): o3read
18861N/A#
18861N/A# Copyright 2008 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
20307N/A%define owner jefftsai
18861N/A
18861N/A%include Solaris.inc
18861N/A
18861N/A%use o3read = o3read.spec
18861N/A
18861N/AName: SUNWo3read
18861N/AIPS_package_name: text/o3read
18861N/AMeta(info.classification): %{classification_prefix}:Applications/Office
18861N/ASummary: A standalone converter for the OpenOffice.org swriter (*.sxw) and scalc (*.sxc) formats into plain text and html
18861N/AVersion: %{o3read.version}
18861N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{o3read.license}
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
19142N/A
19142N/ABuildRequires: SUNWgcc
18861N/A
18861N/A%prep
18861N/Arm -rf %name-%version
18861N/Amkdir %name-%version
18861N/A%o3read.prep -d %name-%version
18861N/A
18861N/A%build
18861N/Aexport CFLAGS="%optflags"
18861N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18861N/A
18861N/A%o3read.build -d %name-%version
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A%o3read.install -d %name-%version
18861N/A
18861N/A# TODO: Remove this line when o3totxt removed from SUNWdesktop-search (tracker).
18861N/A#rm $RPM_BUILD_ROOT%{_bindir}/o3totxt
18861N/A
18861N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(o3read):$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT/usr}
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A%doc -d o3read-%{o3read.version} README
18861N/A%doc(bzip2) -d o3read-%{o3read.version} COPYING ChangeLog
18861N/A%dir %attr (0755, root, other) %{_datadir}/doc
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_bindir}
18861N/A%{_bindir}/*
18861N/A%dir %attr(0755, root, sys) %{_datadir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}/man1
18861N/A%{_mandir}/man1/*
18861N/A
18861N/A%changelog
18861N/A* Thu Sep 4 2008 - jerry.tan@sun.com
18861N/A- Add o3totxt back, remove o3totxt from desktop-search
18861N/A* Sat Jul 12 2008 - damien.carbery@sun.com
18861N/A- Remove %{_bindir}/o3totxt because it is delivered by SUNWdesktop-search too.
18861N/A* Tue Jul 04 2008 - damien.carbery@sun.com
18861N/A- Remove l10n package because no l10n files are installed.
18861N/A* Fri Jul 4 2008 - jerry.tan@sun.com
18861N/A- Create new spec for SUNWo3read
19381N/A