10139N/A#
10139N/A# spec file for package SUNWgnome-pilot
10139N/A#
10139N/A# includes module(s): gnome-pilot
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner wangke
10139N/A#
10139N/A%include Solaris.inc
10139N/A%define makeinstall make install
10139N/A%use gpilot = gnome-pilot.spec
10139N/A
10139N/AName: SUNWgnome-pilot
10139N/ALicense: GPL v2
10139N/AIPS_package_name: communication/pda/gnome-pilot
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories
10139N/ASummary: PalmPilot link utilities
10139N/AVersion: %{gpilot.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10162N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10254N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10139N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWzlib
10139N/ARequires: SUNWlibpopt
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWpilot-link
10139N/ABuildRequires: SUNWxwrtl
10139N/A# SUNWxwplt and SUNWxwice contain the libSM.so.6 and libICE.so.6 libraries while
10139N/A# SUNWxwrtl contains symlinks pointing to these. ldd points to the symlinks.
10139N/ABuildRequires: SUNWxwplt
10139N/ABuildRequires: SUNWxwice
10139N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWpilot-link-devel
10139N/ABuildRequires: SUNWgnome-keyring
10139N/ABuildConflicts: SUNWgnome-pilot-link
10139N/ABuildConflicts: SUNWgnome-pilot-link-root
10139N/ABuildConflicts: SUNWgnome-pilot-link-share
10139N/ABuildConflicts: SUNWgnome-pilot-link-devel
10139N/ABuildConflicts: SUNWgnome-pilot-link-devel-share
10139N/ABuildRequires: SUNWuiu8
10139N/ABuildRequires: SUNWlibgnome-keyring
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/A%include desktop-incorporation.inc
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir -p %name-%version
10139N/A%gpilot.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport LDFLAGS="%_ldflags"
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/A%gpilot.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%gpilot.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Arm -rf $RPM_BUILD_ROOT%{_bindir}/gnome-pilot-*
10139N/Arm -rf $RPM_BUILD_ROOT%{_bindir}/gpilotd-session-*
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/lib*.so*
10139N/A%{_libdir}/bonobo
10139N/A%{_libdir}/gnome-pilot/conduits/lib*.so
10139N/A%{_libexecdir}/gpilotd
10139N/A%{_libexecdir}/gpilot-applet
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/gnome-pilot
10139N/A%dir %attr (0755, root, other) %{_datadir}/mime-info
10139N/A%{_datadir}/mime-info/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/gnome-pilot/C
10139N/A%{_datadir}/omf/gnome-pilot/*-C.omf
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A%doc -d gnome-pilot-%{gpilot.version} AUTHORS
10139N/A%doc(bzip2) -d gnome-pilot-%{gpilot.version} COPYING NEWS
10139N/A%doc(bzip2) -d gnome-pilot-%{gpilot.version} ChangeLog README
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
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}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%{_datadir}/idl
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%dir %attr (0755, root, sys) %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/pilot.schemas
10139N/A
10139N/A%changelog
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Fri Sep 11 2009 - jedy.wang@sun.com
10139N/A- Remove SUNWmlib dependency.
10139N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Wed Sep 17 2008 - jijun.yu@sun.com
10139N/A- Add copyright related files per new process.
10139N/A* Thu May 22 2008 - jijun.yu@sun.com
10139N/A- Remove 2 comment mark.
10139N/A* Fri Apr 18 2008 - jijun.yu@sun.com
10139N/A- Add a patch to fix bug 6690026 and 6668371.
10139N/A* Thu Apr 17 2008 - matt.keenan@sun.com
10139N/A- Remove delivery of gpilot-applet.desktop Bug:6690026
10139N/A* Mon Mar 31 2008 - jijun.yu@sun.com
10139N/A- add copyright
10139N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
10139N/A* Wed Nov 22 2007 - jijun.yu@sun.com
10139N/A- Remove some unuseful files from the package.
10139N/A* Sun Oct 7 2007 - laca@sun.com
10139N/A- omit Nevada X deps if built --with-fox
10139N/A* Wed Oct 3 2007 - laca@sun.com
10139N/A- delete unneeded env vars, set LDFLAGS to %_ldflags
10139N/A* Tue Apr 24 2007 - laca@sun.com
10139N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Thu Jan 04 2007 - Jijun.yu@sun.com
10139N/A- Update to new version 2.0.15
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Wed Jun 28 2006 - halton.huo@sun.com
10139N/A- Remove Build/Requires SUNWgob.
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu Jan 08 2006 - halton.huo@sun.com
10139N/A- Change dependency from SUNWgob2 to SUNWgob.
10139N/A* Tue Jun 06 2006 - halton.huo@sun.com
10139N/A- Add build depend SUNWgob2.
10139N/A* Fri Jun 2 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Thu Jun 01 2006 - damien.carbery@sun.com
10139N/A- Remove SUNWlibmr dependency. It was a typo when fixing 6380655. This removal
10139N/A fixes 6432832.
10139N/A* Thu May 11 2006 - halton.huo@sun.com
10139N/A- Change %defattr to (-, root, other).
10139N/A- Merge -share pkg(s) into the base pkg(s).
10139N/A* Mon Mar 20 2006 - glynn.foster@sun.com
10139N/A- Install capplet into the correct location.
10139N/A* Fri Feb 3 2006 - damien.carbery@sun.com
10139N/A- Add multiple Build/Requires to fix 6380655.
10139N/A* Tue Jan 10 2006 - halton.huo@sun.com
10139N/A- Inherited from SUNWgnome-pilot-link(tag=cinnabar-solaris)
10139N/A to replace SUNWgnome-pilot-link.spec.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Tue Nov 29 2005 - laca@sun.com
10139N/A- remove javahelp stuff
10139N/A* Mon Sep 12 2005 - laca@sun.com
10139N/A- Add missing dir to %files
10139N/A* Tue Jul 12 2005 - damien.carbery@sun.com
10139N/A- Disable inclusion of some l10n files as they are not yet available.
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Thu Sep 09 2004 matt.keenan@sun.com
10139N/A- Added gpilot-install-file.1, gpilotd-control-applet.1 manpages
10139N/A* Thu Aug 26 2004 damien.carbery@sun.com
10139N/A- Minor mod to how omf files specified in l10n package so C locale version is
10139N/A not included as it is already in the -share package.
10139N/A* Wed Aug 25 2004 Kazuhiko.Maekawa@sun.com
10139N/A- Added l10n help entry in l10 pkg
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Tue Mar 16 2004 - <laca@sun.com>
10139N/A- initial version created
10139N/A
10139N/A
10139N/A
10139N/A