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