10139N/A#
10139N/A# spec file for package SUNWgnome-session
10139N/A#
10139N/A# includes module(s): gnome-session
10139N/A#
20784N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
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#
20895N/A%define owner gheet
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%define with_hal %(pkginfo -q SUNWhal && echo 1 || echo 0)
10139N/A
10139N/A%use gsession = gnome-session.spec
10139N/A
10139N/AName: SUNWgnome-session
18688N/AIPS_package_name: gnome/gnome-session
19102N/ALicense: GPLv2,LGPLv2
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Sessions
10139N/ASummary: GNOME session manager
19013N/AVersion: %{gsession.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12763N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
16401N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-vfs-root
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-panel
20857N/ABuildRequires: runtime/perl-512
10139N/ARequires: SUNWbzip
10139N/ARequires: SUNWzlib
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWgnome-audio
16307N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWgnome-desktop-prefs
14150N/ARequires: SUNWgnome-wm
20777N/ARequires: SUNWdbus
20777N/ARequires: SUNWdbus-x11
16401N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWgnome-audio-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-desktop-prefs-devel
20349N/ABuildRequires: x11/trusted/libxtsol
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 %name-%version
10139N/A%gsession.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
16415N/Aexport LDFLAGS="%_ldflags -L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/openwin/lib -R/usr/openwin/lib -lsecdb -lsocket -lnsl"
10139N/Aexport CFLAGS="%optflags -I/usr/X11/include"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/A
10139N/A%gsession.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%gsession.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/Arm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/flash.gif
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
14332N/A%doc -d gnome-session-%{gsession.version} README AUTHORS
14332N/A%doc(bzip2) -d gnome-session-%{gsession.version} COPYING NEWS ChangeLog
14332N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
13443N/A%dir %attr (0755, root, bin) %{_libdir}
15811N/A%{_libdir}/compiz-by-default
20784N/A%{_libdir}/gnome-session-check-accelerated
20784N/A%{_libdir}/gnome-session-check-accelerated-helper
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
20784N/A%{_datadir}/GConf
20784N/A%{_datadir}/glib-2.0
13443N/A%dir %attr (0755, root, other) %{_datadir}/gnome-session
13443N/A%{_datadir}/gnome-session/*
13911N/A%dir %attr (-, root, other) %{_datadir}/icons
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
13911N/A%{_datadir}/icons/hicolor/16x16/apps/session-properties*.png
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
13911N/A%{_datadir}/icons/hicolor/22x22/apps/session-properties*.png
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
13911N/A%{_datadir}/icons/hicolor/24x24/apps/session-properties*.png
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
13911N/A%{_datadir}/icons/hicolor/32x32/apps/session-properties*.png
15730N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
15730N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
15730N/A%{_datadir}/icons/hicolor/48x48/apps/session-properties*.png
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
13911N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
13911N/A%{_datadir}/icons/hicolor/scalable/apps/session-properties.svg
12220N/A%{_datadir}/xsessions
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/man1
10139N/A%{_mandir}/man1/*
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%changelog
20784N/A* Thu Jul 12 2011 - brian.cameron@oracle.com
20784N/A- Fix packaging for gnome-session 3.1.3 release.
18330N/A* Tue Feb 23 2010 - christian.kelly@sun.com
18330N/A- Fix files being dropped in wrong place.
16415N/A* Wed Apr 22 2009 - jedy.wang@sun.com
16415N/A- add "-lsecdb -lsocket -lnsl" to the ldflags.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
15811N/A* Wed Feb 11 2009 - matt.keenan@sun.com
15811N/A- Add /usr/lib/compiz-by-default to %files section
14179N/A* Mon Sep 08 2008 - ghee.teo@sun.com
14179N/A- Removed ${_datadir}/autostart which is not being used according to spec.
14179N/A since autostart for GNOME is under ${_datadir}/gnome/autostart.
13911N/A* Tue Aug 19 2008 - halton.huo@sun.com
13911N/A- Add %attr (-, root, other) for subfolders under %{_datadir}/icons, this
13911N/A will resolve install conflict issue.
13634N/A* Wed Jul 23 2008 - matt.keenan@sun.com
13634N/A- Remove man5 from %files, default.session.5 removed from gnome-session
13443N/A* Thu Jun 19 2008 - niall.power@sun.com
13443N/A- Add %{_libdir}/gnome-session/helpers for 2.23.4 tarball.
13443N/A- Add %{_datadir}/gnome-session fpr 2.23.4 tarball.
12220N/A* Thu Jan 17 2008 - damien.carbery@sun.com
12220N/A- Add %{_datadir}/xsessions to %files for 2.21.5 tarball.
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
11314N/A* Fri Sep 28 2007 - laca@sun.com
11314N/A- delete Nevada X deps
11314N/A- delete some unneeded env vars
10740N/A* Wed Jun 06 2007 - irene.huang@sun.com
10740N/A- remove %if %with_hal section because it is useless.
10522N/A* Tue Apr 24 2007 - laca@sun.com
10522N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Sun Jan 28 2007 - add /usr/openwin/lib to library search path, needed
10139N/A for libXau on s10
10139N/A* Mon Jan 22 2007 - damien.carbery@sun.com
10139N/A- Add %{_datadir}/icons to %files for new gnome-session tarball.
10139N/A* Tue Oct 31 2006 - takao.fujiwara@sun.com
10139N/A- Added l10n package. Fixes 6488189.
10139N/A* Mon Oct 30 2006 - Irene.Huang@sun.com
10139N/A- move patch gnome-session-01-gnome-volcheck-default-session.diff
10139N/A to ../patches/
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Fri Jul 26 2006 - brian.cameron@sun.com
10139N/A- Only apply the gnome-volcheck-default-session.diff patch if HAL is not
10139N/A present on the system.
10139N/A* Fri Jul 28 2006 - damien.carbery@sun.com
10139N/A- Remove l10n pkg as nothing installed.
10139N/A* Wed Jul 26 2006 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-desktop-prefs/-devel for gnome-settings-daemon.
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* Fri Jun 23 2006 - Christopher.Hanna@sun.com
10139N/A- Removed gnome-smproxy manpage because it is no longer needed
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu May 25 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Fri May 12 2006 - glynn.foster@sun.com
10139N/A- Add dummy autostart location so that we at least have it on the
10139N/A system if people want to use it.
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Tue Feb 14 2006 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-panel/-devel for gnome-desktop.
10139N/A* Fri Feb 10 2006 - damien.carbery@sun.com
10139N/A- Added BuildRequires lines to ensure it is built in the correct order.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Thu May 19 2005 - brian.cameron@sun.com
10139N/A- Update to 2.10 and fix packaging.
10139N/A* Tue Nov 16 2004 - laca@sun.com
10139N/A- merged devel-share into share (included default.session(5) only)
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Sat Sep 11 2004 - laca@sun.com
10139N/A- Set LDFLAGS so Xrandr and Xrender can be found.
10139N/A* Thu Sep 09 2004 - matt.keenan@sun.com
10139N/A- Added gnome-session-remove.1 manpage
10139N/A* Mon Aug 30 2004 - shirley.woo@sun.com
10139N/A- Bug 5091588 : include files should be in a separate devel package
10139N/A* Mon Aug 23 2004 - laca@sun.com
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Wed Aug 18 2004 damien.carbery@sun.com
10139N/A- Change manpage perms for Solaris integration.
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* Fri Mar 28 2004 - danek.duvall@sun.com
10139N/A- Removed flash.gif from distribution
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Thu Mar 04 2004 - <laca@sun.com>
10139N/A- fix 2 more gconf clashes
10139N/A* Sat Feb 28 2004 - <niall.power@sun.com>
10139N/A- fix gconf dir permissions (a+rX)
10139N/A- remove clashing gconf.xml file
10139N/A* Mon Feb 23 2004 - <niall.power@sun.com>
10139N/A- install gconf schemas at end of install stage.
16401N/A