SUNWlibgoffice.spec revision 20857
10139N/A#
10139N/A# spec file for package SUNWlibgoffice
10139N/A#
20778N/A# includes module(s): goffice
10139N/A#
10139N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
10139N/A#
17181N/A%define owner jefftsai
18602N/A#
17181N/A
10139N/A%include Solaris.inc
15311N/A
10139N/A%use goffice = goffice.spec
20824N/A
10139N/AName: SUNWlibgoffice
10139N/ASummary: goffice - Document centric set of APIs
18602N/AVersion: %{goffice.version}
10139N/ASUNW_Pkg: SUNWlibgoffice
20821N/AIPS_package_name: library/desktop/goffice
20778N/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: SUNWlibglade
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWzlib
10139N/ARequires: SUNWlibgsf
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWgnome-libs
10139N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWlxml-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/A%if %option_with_gnu_iconv
10139N/ARequires: SUNWgnu-libiconv
10139N/ARequires: SUNWgnu-gettext
10139N/A%else
10139N/ARequires: SUNWuiu8
10139N/A%endif
10139N/A
10139N/A%package devel
20778N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10139N/ARequires: %name
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir -p %name-%version
18402N/A%goffice.prep -d %name-%version
17127N/Acd %{_builddir}/%name-%version
17127N/Agzcat %SOURCE1 | tar xf -
10139N/A
17127N/A%build
17127N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
17127N/Aexport CFLAGS="%optflags"
17127N/A%if %option_with_gnu_iconv
10318N/Aexport CFLAGS="$CFLAGS -I/usr/gnu/include -L/usr/gnu/lib -R/usr/gnu/lib -lintl"
10318N/A%endif
10318N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10318N/Aexport LDFLAGS="%_ldflags"
10139N/A
10318N/A%goffice.build -d %name-%version
10318N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%goffice.install -d %name-%version
10139N/A
18402N/A# install man page
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
20778N/Acd %{_builddir}/%name-%version/sun-manpages
20778N/Amake install DESTDIR=$RPM_BUILD_ROOT
20778N/A
10139N/A%clean
10139N/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}
10139N/A%{_libdir}/libgoffice*.so*
10139N/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
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
20824N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
20824N/A%{_libdir}/pkgconfig/*
20821N/A%dir %attr (0755, root, sys) %dir %{_datadir}
20821N/A%{_datadir}/gtk-doc
20778N/A
20778N/A%files l10n
18532N/A%defattr (-, root, bin)
18532N/A%dir %attr (0755, root, sys) %{_datadir}
18418N/A%attr (-, root, other) %{_datadir}/locale
18418N/A
18402N/A%changelog
18402N/A* Wed Nov 05 2008 - halton.huo@sun.com
18398N/A- Add po/ChangeLog to %files
18398N/A* Wed Sep 10 2008 - halton.huo@sun.com
18392N/A- Add %doc to %files for new copyright
18392N/A* Wed Aug 06 2008 - halton.huo@sun.com
17802N/A- Use sgml format instead for man pages.
17802N/A* Tue Aug 05 2008 - halton.huo@sun.com
17704N/A- Add man page for libgoffice
17705N/A* Tue Jul 01 2008 - halton.huo@sun.com
17705N/A- Add copyright
17704N/A* Mon Jun 30 2008 - halton.huo@sun.com
17379N/A- Copied from SFEgoffice and rename to SUNWlibgoffice
17379N/A* Tue Jun 24 2008 - nonsea@users.sourceforge.net
17127N/A- Split base part to base/goffice.spec
17127N/A- Bump to 0.6.4
16981N/A* Mon Apr 14 2008 - trisk@acm.jhu.edu
16981N/A- Bump to 0.6.2, update dependencies
16175N/A* Tue Sep 04 2007 - Thomas Wagner
16175N/A- bump to 0.15.1, add %{version} to Download-Dir (might change again)
15448N/A- conditional !%build_l10n rmdir $RPM_BUILD_ROOT/%{_datadir}/locale
15448N/A* Sat May 26 2007 - Thomas Wagner
15311N/A- bump to 0.15.0
15311N/A- set compiler to gcc
15262N/A- builds with Avahi, if present
15262N/A* Thu Apr 06 2007 - Thomas Wagner
14562N/A- Initial spec
14562N/A
13610N/A
13610N/A
12572N/A