18861N/A#
18861N/A# spec file for package SUNWlibgoffice
18861N/A#
18861N/A# includes module(s): goffice
18861N/A#
20890N/A# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
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
18861N/A%include Solaris.inc
18861N/A
18861N/A%use goffice = goffice.spec
18861N/A
18861N/AName: SUNWlibgoffice
18861N/ASummary: goffice - Document centric set of APIs
18861N/AVersion: %{goffice.version}
18861N/ASUNW_Pkg: SUNWlibgoffice
18861N/AIPS_package_name: library/desktop/goffice
18861N/AMeta(info.classification): %{classification_prefix}:Development/System
18861N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{goffice.license}
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/ASource1: %{name}-manpages-0.1.tar.gz
18861N/A
18861N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20890N/ARequires: library/desktop/libglade
20890N/ARequires: library/libxml2
20890N/ARequires: library/zlib
20890N/ARequires: library/desktop/libgsf
20890N/ARequires: system/library/math
20892N/ARequires: library/gnome/gnome-libs
20890N/ABuildRequires: library/desktop/libglade
20890N/ABuildRequires: library/libxml2
20890N/ABuildRequires: library/gnome/gnome-libs
18861N/A%if %option_with_gnu_iconv
18861N/ARequires: SUNWgnu-libiconv
18861N/ARequires: SUNWgnu-gettext
18861N/A%else
20890N/ARequires: system/library/iconv/utf-8
18861N/A%endif
18861N/A
18861N/A%package devel
18861N/ASummary: %{summary} - development files
18861N/ASUNW_BaseDir: %{_basedir}
18861N/A
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/A
18861N/A%prep
18861N/Arm -rf %name-%version
18861N/Amkdir -p %name-%version
18861N/A%goffice.prep -d %name-%version
18861N/Acd %{_builddir}/%name-%version
18861N/Agzcat %SOURCE1 | tar xf -
18861N/A
18861N/A%build
18861N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
18861N/Aexport CFLAGS="%optflags"
18861N/A%if %option_with_gnu_iconv
18861N/Aexport CFLAGS="$CFLAGS -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib -lintl"
18861N/A%endif
18861N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18861N/Aexport LDFLAGS="%_ldflags"
18861N/A
18861N/A%goffice.build -d %name-%version
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A%goffice.install -d %name-%version
18861N/A
18861N/A# install man page
18861N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18861N/Acd %{_builddir}/%name-%version/sun-manpages
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%files
18861N/A%doc -d goffice-%{goffice.version} README AUTHORS
18861N/A%doc(bzip2) -d goffice-%{goffice.version} COPYING ChangeLog po/ChangeLog tools/ChangeLog NEWS
18861N/A%dir %attr (0755, root, other) %{_datadir}/doc
18861N/A%defattr(-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%{_libdir}/libgoffice*.so*
18861N/A%{_libdir}/goffice
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%{_datadir}/goffice
18861N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
18861N/A%{_datadir}/pixmaps/*
18861N/A%dir %attr(0755, root, bin) %{_mandir}
18861N/A%dir %attr(0755, root, bin) %{_mandir}/*
18861N/A%{_mandir}/*/*
18861N/A
18861N/A%files devel
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, bin) %{_includedir}
18861N/A%{_includedir}/*
18861N/A%dir %attr (0755, root, bin) %{_libdir}
18861N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
18861N/A%{_libdir}/pkgconfig/*
18861N/A%dir %attr (0755, root, sys) %dir %{_datadir}
18861N/A%{_datadir}/gtk-doc
18861N/A
18861N/A%files l10n
18861N/A%defattr (-, root, bin)
18861N/A%dir %attr (0755, root, sys) %{_datadir}
18861N/A%attr (-, root, other) %{_datadir}/locale
18861N/A
18861N/A%changelog
20890N/A* Fri Feb 10 2012 - padraig.obriain@oracle.com
20890N/A- Update Requires and BuildRequires to be IPS package names.
18861N/A* Wed Nov 05 2008 - halton.huo@sun.com
18861N/A- Add po/ChangeLog to %files
18861N/A* Wed Sep 10 2008 - halton.huo@sun.com
18861N/A- Add %doc to %files for new copyright
18861N/A* Wed Aug 06 2008 - halton.huo@sun.com
18861N/A- Use sgml format instead for man pages.
18861N/A* Tue Aug 05 2008 - halton.huo@sun.com
18861N/A- Add man page for libgoffice
18861N/A* Tue Jul 01 2008 - halton.huo@sun.com
18861N/A- Add copyright
18861N/A* Mon Jun 30 2008 - halton.huo@sun.com
18861N/A- Copied from SFEgoffice and rename to SUNWlibgoffice
18861N/A* Tue Jun 24 2008 - nonsea@users.sourceforge.net
18861N/A- Split base part to base/goffice.spec
18861N/A- Bump to 0.6.4
18861N/A* Mon Apr 14 2008 - trisk@acm.jhu.edu
18861N/A- Bump to 0.6.2, update dependencies
18861N/A* Tue Sep 04 2007 - Thomas Wagner
18861N/A- bump to 0.15.1, add %{version} to Download-Dir (might change again)
18861N/A- conditional !%build_l10n rmdir $RPM_BUILD_ROOT/%{_datadir}/locale
18861N/A* Sat May 26 2007 - Thomas Wagner
18861N/A- bump to 0.15.0
18861N/A- set compiler to gcc
18861N/A- builds with Avahi, if present
18861N/A* Thu Apr 06 2007 - Thomas Wagner
18861N/A- Initial spec
18861N/A
19343N/A
19660N/A