SUNWgnome-session.spec revision 20784
10139N/A#
10139N/A# spec file for package SUNWgnome-session
10139N/A#
12198N/A# includes module(s): gnome-session
10139N/A#
10139N/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
17596N/A# package are under the same license as the package itself.
10139N/A#
17180N/A%define owner niall
17180N/A#
17180N/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
18434N/A
12578N/AName: SUNWgnome-session
10139N/AIPS_package_name: gnome/gnome-session
10139N/ALicense: GPLv2,LGPLv2
10139N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Sessions
18238N/ASummary: GNOME session manager
11419N/AVersion: %{gsession.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
11419N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10142N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10142N/A
10244N/A%include default-depend.inc
14429N/A%include gnome-consolidation.inc
14429N/ARequires: SUNWlibglade
12773N/ARequires: SUNWgnome-vfs-root
14444N/ARequires: SUNWgnome-libs
12773N/ARequires: SUNWgnome-config
11419N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWperl584usr
11419N/ARequires: SUNWbzip
11437N/ARequires: SUNWzlib
11962N/ARequires: SUNWlxml
11437N/ARequires: SUNWgnome-audio
11437N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWgnome-desktop-prefs
10139N/ARequires: SUNWgnome-wm
10139N/ARequires: SUNWdbus
10139N/ARequires: SUNWdbus-x11
10803N/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
13462N/ABuildRequires: SUNWgnome-panel-devel
16479N/ABuildRequires: SUNWgnome-desktop-prefs-devel
13462N/ABuildRequires: x11/trusted/libxtsol
13462N/A
11419N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: gnome/gnome-session/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
11419N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
13901N/ARequires: %{name}
10139N/A%endif
13901N/A
16463N/A%prep
16463N/Arm -rf %name-%version
16463N/Amkdir %name-%version
16463N/A%gsession.prep -d %name-%version
16463N/Acd %{_builddir}/%name-%version
13901N/Agzcat %SOURCE0 | tar xf -
14048N/A
15733N/A%build
14151N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
15733N/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"
14151N/Aexport CFLAGS="%optflags -I/usr/X11/include"
15733N/Aexport RPM_OPT_FLAGS="$CFLAGS"
17888N/A
18144N/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%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
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
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%doc -d gnome-session-%{gsession.version} README AUTHORS
10139N/A%doc(bzip2) -d gnome-session-%{gsession.version} COPYING NEWS ChangeLog
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
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}/compiz-by-default
10139N/A%{_libdir}/gnome-session-check-accelerated
10139N/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/*
10139N/A%{_datadir}/GConf
10139N/A%{_datadir}/glib-2.0
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome-session
10139N/A%{_datadir}/gnome-session/*
10139N/A%dir %attr (-, root, other) %{_datadir}/icons
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
10139N/A%{_datadir}/icons/hicolor/16x16/apps/session-properties*.png
10244N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
12754N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
10139N/A%{_datadir}/icons/hicolor/22x22/apps/session-properties*.png
11855N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
11855N/A%{_datadir}/icons/hicolor/24x24/apps/session-properties*.png
11855N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
11855N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
11855N/A%{_datadir}/icons/hicolor/32x32/apps/session-properties*.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
10139N/A%{_datadir}/icons/hicolor/48x48/apps/session-properties*.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
13462N/A%{_datadir}/icons/hicolor/scalable/apps/session-properties.svg
13462N/A%{_datadir}/xsessions
13462N/A%dir %attr(0755, root, bin) %{_mandir}
11419N/A%dir %attr(0755, root, bin) %{_mandir}/man1
12524N/A%{_mandir}/man1/*
10139N/A
11419N/A%if %build_l10n
13901N/A%files l10n
13901N/A%defattr (-, root, bin)
13901N/A%dir %attr (0755, root, sys) %{_datadir}
13901N/A%attr (-, root, other) %{_datadir}/locale
14048N/A%endif
14151N/A
17475N/A%changelog
12316N/A* Thu Jul 12 2011 - brian.cameron@oracle.com
10142N/A- Fix packaging for gnome-session 3.1.3 release.
14429N/A* Tue Feb 23 2010 - christian.kelly@sun.com
14429N/A- Fix files being dropped in wrong place.
11419N/A* Wed Apr 22 2009 - jedy.wang@sun.com
10139N/A- add "-lsecdb -lsocket -lnsl" to the ldflags.
11419N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Wed Feb 11 2009 - matt.keenan@sun.com
10142N/A- Add /usr/lib/compiz-by-default to %files section
10139N/A* Mon Sep 08 2008 - ghee.teo@sun.com
10139N/A- Removed ${_datadir}/autostart which is not being used according to spec.
10139N/A since autostart for GNOME is under ${_datadir}/gnome/autostart.
10139N/A* Tue Aug 19 2008 - halton.huo@sun.com
10139N/A- Add %attr (-, root, other) for subfolders under %{_datadir}/icons, this
10139N/A will resolve install conflict issue.
10139N/A* Wed Jul 23 2008 - matt.keenan@sun.com
10139N/A- Remove man5 from %files, default.session.5 removed from gnome-session
10139N/A* Thu Jun 19 2008 - niall.power@sun.com
10139N/A- Add %{_libdir}/gnome-session/helpers for 2.23.4 tarball.
10139N/A- Add %{_datadir}/gnome-session fpr 2.23.4 tarball.
10139N/A* Thu Jan 17 2008 - damien.carbery@sun.com
10139N/A- Add %{_datadir}/xsessions to %files for 2.21.5 tarball.
10139N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
15661N/A* Fri Sep 28 2007 - laca@sun.com
15661N/A- delete Nevada X deps
15661N/A- delete some unneeded env vars
15661N/A* Wed Jun 06 2007 - irene.huang@sun.com
17888N/A- remove %if %with_hal section because it is useless.
17888N/A* Tue Apr 24 2007 - laca@sun.com
10139N/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
18389N/A* Mon Jan 22 2007 - damien.carbery@sun.com
12773N/A- Add %{_datadir}/icons to %files for new gnome-session tarball.
12773N/A* Tue Oct 31 2006 - takao.fujiwara@sun.com
14444N/A- Added l10n package. Fixes 6488189.
12773N/A* Mon Oct 30 2006 - Irene.Huang@sun.com
12773N/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.
10139N/A
10139N/A