10139N/A#
10139N/A# spec file for package SUNWgnome-dtlogin-integration
10139N/A#
10139N/A# includes module(s): dtlogin-integration
10139N/A#
18970N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
18970N/A#
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#
17185N/A%define owner laca
10139N/A#
17178N/A
18644N/A%define OSR delivered in s10:n/a
17178N/A
10139N/A%define dtlogin_config_basedir /usr
12132N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
12132N/A# Sun Download Center. Contact GNOME RE for assistance.
17355N/A%define tarball_version 0.37.1
10139N/A
10139N/A%include Solaris.inc
10139N/AName: SUNWgnome-dtlogin-integration
18970N/ALicense: cr_Oracle
10139N/ASourcePackage: SUNWgnome-dtlogin-integ-src
10139N/ASummary: dtlogin configuration files for the JDS desktop
19013N/AVersion: %{tarball_version}
18908N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/dtlogin-integration/dtlogin-integration-%{tarball_version}.tar.bz2
10385N/ASource1: l10n-configure.sh
15760N/ASource2: dtstart
15767N/ASource11: 0011.env
15760N/ASource12: 0020.pre-localization
15760N/ASource13: 0060.sockets
15760N/ASource14: 0070.dbus
15760N/ASource15: 0110.fonts
15760N/ASource16: 0120.xrdb
10139N/ASUNW_BaseDir: %{dtlogin_config_basedir}
12707N/ASUNW_Copyright: SUNWgnome-dtlogin-integration.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20072N/A%if %option_with_svr4
20088N/A%else
20088N/A%define option_with_dt 0
20088N/A%define option_without_dt 1
20081N/A%endif
20081N/A
20052N/A%if %option_with_dt
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWesu
16401N/ARequires: SUNWmfrun
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-session
10139N/ARequires: SUNWgnome-wm
20052N/A%endif
10139N/A
15760N/A%package -n SUNWdesktop-startup
18688N/AIPS_package_name: system/display-manager/desktop-startup
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Scripts
15762N/ASummary: Desktop startup scripts in xinitrc.d
16493N/ASUNW_BaseDir: %{_basedir}
16493N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16493N/ARequires: SUNWdesktop-startup-root
16493N/A
16493N/A%package -n SUNWdesktop-startup-root
19903N/AIPS_package_name: system/display-manager/desktop-startup
16493N/ASummary: Desktop startup scripts in xinitrc.d - / filesystem
15762N/ASUNW_BaseDir: /
15760N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWesu
20829N/ARequires: system/input-method/imf-startup
15760N/ARequires: SUNWgnome-panel
15760N/ARequires: SUNWgnome-session
15760N/ARequires: SUNWgnome-wm
16224N/ARequires: SUNWgnome-component
20777N/ARequires: SUNWdbus
20777N/ARequires: SUNWdbus-x11
15760N/A
10139N/A%prep
10139N/A%setup -q -n dtlogin-integration-%{tarball_version}
10139N/A
12754N/Abash -x %SOURCE1 --enable-sun-linguas
10139N/A
10139N/A%build
10139N/Aexport LDFLAGS="%_ldflags"
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
10139N/Alibtoolize -f
11149N/Aintltoolize --force --copy --automake
12773N/A
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautoconf
10139N/Aautomake -acf
10139N/A
10139N/A./configure --with-gnome-prefix=%{_prefix} \
10139N/A --prefix=%{dtlogin_config_basedir}
10139N/A
10139N/A%install
11311N/Arm -rf $RPM_BUILD_ROOT
11311N/A%if %option_with_gnu_iconv
11311N/Amake install DESTDIR=$RPM_BUILD_ROOT ICONV=/usr/gnu/bin/iconv ENCODING=UTF-8
11311N/A%else
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
11311N/A%endif
10139N/A
11311N/A%if %option_without_dt
11311N/Arm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/appconfig
11311N/Arm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/C
11311N/Arm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/[a-z][a-z]*
11311N/Arm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/Xsession*
15824N/Arm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/Xinitrc*
15824N/Armdir $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config
15824N/Armdir $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt
11311N/A%endif
11311N/A
15760N/Ainstall --mode=0755 -d $RPM_BUILD_ROOT/usr/bin
15760N/Ainstall --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/usr/bin/dtstart
15760N/A
15161N/A# Create dbus session initialisation script for dtlogin
15824N/A%if %option_with_dt
15161N/Ainstall --mode=0755 -d $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d
15760N/Ainstall --mode=0755 %SOURCE14 $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d
15824N/A%endif
15760N/A
15760N/A# rough script number?
15760N/A# 1 - 50: pre configurations
15760N/A# 51 - 100: pre processes
15760N/A# 101 - 150: post configurations
15760N/A# 151 - 200: post processes
15760N/A
15760N/Ainstall --mode=0755 -d $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/
15824N/A%if %option_with_dt
15760N/Ainstall --mode=0755 -d $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d
15824N/A%endif
15824N/A
15767N/Afor FILE in %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE15 %SOURCE16
15760N/Ado
15760N/A install --mode=0755 $FILE $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
15824N/A%if %option_with_dt
15760N/A install --mode=0755 $FILE $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d
15824N/A%endif
15760N/Adone
15161N/A
15767N/A
15767N/A
10139N/Arm -rf $RPM_BUILD_ROOT/tmp
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
15824N/A%if %option_with_dt
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%{dtlogin_config_basedir}/dt
15824N/A%endif
15760N/A
16493N/A%files -n SUNWdesktop-startup-root
16493N/A%defattr (-, root, sys)
16493N/A%dir %attr(0755, root, sys) %{_sysconfdir}
16493N/A%dir %attr(0755, root, sys) %{_sysconfdir}/X11
16493N/A%dir %attr(0755, root, sys) %{_sysconfdir}/X11/xinit
16493N/A%dir %attr(0755, root, sys) %{_sysconfdir}/X11/xinit/xinitrc.d
16493N/A%{_sysconfdir}/X11/xinit/xinitrc.d/*
16493N/A
15760N/A%files -n SUNWdesktop-startup
15760N/A%defattr (-, root, bin)
11311N/A%dir %attr (0755, root, bin) %{_bindir}
11311N/A%{_bindir}/dtstart
10139N/A
15161N/A
10139N/A%changelog
18974N/A* Mon Aug 30 2010 - harry.fu@sun.com
18974N/A- Move 0210.im to G11n package. Fix 6979796
18970N/A* Mon Aug 16 2010 - laszlo.peter@oracle.com
18970N/A- copyright update
17418N/A* Sat Sep 26 2009 - dave.lin@sun.com
17418N/A- Removed upstreamed patch 01-g11n-migration.diff.
17355N/A* Tue Sep 22 2009 - laca@sun.com
17355N/A- bump to 0.37.1
16224N/A* Mon Mar 23 2009 - jeff.cai@sun.com
16224N/A- Since /usr/dt/config/Xinitrc.jds (SUNWgnome-dtstart) requires
16224N/A /usr/bin/linc-cleanup-sockets which is found in SUNWgnome-component,
16224N/A add the dependency.
15767N/A* Thu Feb 05 2009 - takao.fujiwara@sun.com
15767N/A- Renamed 0010.env to 0011.env for CDE.
15760N/A* Wed Feb 04 2009 - takao.fujiwara@sun.com
15760N/A- Add SUNWdesktop-startup for xinitrc.d scripts.
15760N/A- Add patch g11n-migration.diff
15161N/A* Thu Oct 02 2008 - ghee.teo@sun.com
15161N/A- Bump up tarball to 0.37. Removed dtlogin-integration-02-dbus-launch.diff
15161N/A and dtlogin-integration-01-vte-cjk.diff which are now upstreamed.
14435N/A* Fri Sep 19 2008 - ghee.teo@sun.com
14435N/A- Added dtlogin-integration-02-dbus-launch.diff to fix 6750408.
14290N/A* Thu Sep 11 2008 - takao.fujiwara@sun.com
14290N/A- Add dtlogin-integration-01-vte-cjk.diff to fix 6745785.
14071N/A* Fri Aug 29 2008 - ghee.teo@sun.com
14071N/A- Released 0.36 tarball and remove these patches
14071N/A- SUNWgnome-dtlogin-integration-01-no-mo.diff
14071N/A- SUNWgnome-dtlogin-integration-02-ssh-agent.diff
14071N/A- SUNWgnome-dtlogin-integration-03-dbus-launch.diff
14050N/A* Thu Aug 28 2008 - ghee.teo@sun.com
14050N/A- Added script to launch dbus session bus now that gnome-session does not do that.
13615N/A* Mon Jul 21 2008 - jeff.cai@sun.com
13615N/A- Not start ssh-agent because gnome-keyring-daemon has added this feature.
12733N/A* Tue Apr 1 2008 - damien.carbery@sun.com
12733N/A- Remove 'BuildRequires' lines for i18n pkgs that are no longer delivered to
12733N/A Nevada (beginning snv_86).
12460N/A* Tue Feb 26 2008 - brian.cameron@sun.com
12460N/A- Bump to 0.35. This reverts the code change made on 2007-12-07 to
12460N/A launch gnome-session with "/bin/sh -c" rather than exec. I
12460N/A discovered that using "/bin/sh -c" was having the unwanted
12460N/A side-effect of causing gnome-session and child processes to not
12460N/A have an associated TTY number. For example, gnome-session should
12460N/A have a value like "pts/1", but when using "/bin/sh -c" it has "?".
12460N/A So reverting this change fixes this problem. The original need
12460N/A to switch to "/bin/sh -c" has gone away now that we launch D-Bus
12460N/A from gnome-session instead of from the startup scripts.
12162N/A* Wed Jan 09 2008 - brian.cameron@sun.com
12162N/A- Bump to 0.34.
12047N/A* Fri Dec 07 2007 - brian.cameron@sun.com
12047N/A- Bump to 0.33.
11459N/A* Thu Oct 25 2007 - takao.fujiwara@sun.com
11459N/A- Add SUNWgnome-dtlogin-integration-01-no-mo.diff.
11459N/A We don't need .mo files for this package.
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- combine SUNWgnome-dtlogin-integration and SUNWgnome-dtstart in one
11311N/A spec. If this spec file is built without /usr/dt support then
11311N/A it builds SUNWgnome-dtstart with include /usr/bin/dtstart and the
11311N/A JDS startup scripts in /usr/dt/config. /ust/bin/dtstart is a
11311N/A simple replacement for /usr/dt/bin/Xsession
11218N/A* Fri Sep 07 2007 - brian.cameron@sun.com
11218N/A- Bump to 0.32, remove upstream patch.
11149N/A* Thu Aug 30 2007 - damien.carbery@sun.com
11149N/A- Add intltoolize call to update intltool scripts.
10949N/A* Mon Jul 23 2007 - takao.fujiwara@sun.com
10949N/A- Added SUNWgnome-dtlogin-integration-01-g11n-xinitrc.diff.
10949N/A Fixes 6555226, 6583891
10726N/A* Tue Jun 5 2007 - laca@sun.com
10726N/A- bump to 0.31, delete patch
10385N/A* Mon Apr 02 2007 - takao.fujiwara@sun.com
10385N/A- Added SUNWgnome-dtlogin-integration-01-unset-locale.diff. Fixes 6532300
10139N/A* Tue Nov 14 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.29, to change menu string to 2.16. Fixes 6493544.
10139N/A* Thu Aug 24 2006 - laca@sun.com
10139N/A- remove autoheader call since there is AC_CONFIG_HEADER in configure.in
10139N/A* Fri Aug 04 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.27, to change menu string to 2.15.
10139N/A* Fri Jun 23 2006 - laca@sun.com
10139N/A- bump to 0.26, fixes 6340366 "A modified version of
10139N/A /usr/dt/config/Xinitrc.jds in /etc/dt/config is not used" and
10139N/A moves the code starting ssh-agent here from gdm so that it runs
10139N/A for dtlogin users too.
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu Apr 6 2006 - brian.cameron@sun.com
10139N/A- Now use tarball_version
10139N/A* Wed Feb 1 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.25 to change menu string to "Gnome 2.14 for OpenSolaris"
10139N/A* Tue Sep 13 2005 - laca@sun.com
10139N/A- remove unpackaged files
10139N/A* Fri Jul 8 2005 - damien.carbery@sun.com
10139N/A- Add definition for ACLOCAL_FLAGS in order to build.
10139N/A* Fri Apr 1 2005 - brian.cameron@sun.com
10139N/A- Update to 0.23. Remove /usr/openwin/bin from PATH and move it to GDM2
10139N/A so it doesn't get set twice when logging in via CDE login.
10139N/A* Wed Mar 16 2005 - brian.cameron@sun.com
10139N/A- commented out the rm datadir/locale/*/LC_MESSAGES/dtlogin-integration.mo
10139N/A line since it got accidently uncommented in my last putback.
10139N/A* Tue Mar 01 2005 - brian.cameron@sun.com
10139N/A- Update to 0.22: Remove /usr/dt/bin from default user PATH.
10139N/A* Wed Dec 15 2004 - laca@sun.com
10139N/A- Update to 0.21: get rid of the login popup
10139N/A* Mon Dec 13 2004 - damien.carbery@sun.com
10139N/A- Update to 0.20. Implement ARC decision: Remove /usr/demo/jds/bin from PATH
10139N/A and change wording for message about adding /usr/sfw/bin to the PATH
10139N/A (Xinitrc.in).
10139N/A* Fri Nov 26 2004 - damien.donlon@sun.com
10139N/A- Added translations for new popup dialog. Asian to be modfied still.
10139N/A* Fri Nov 26 2004 - laca@sun.com
10139N/A- update to 0.17: fixes 6182467 (adds sfw login dialog)
10139N/A- add %_datadir to files
10139N/A* Fri Oct 29 2004 - laca@sun.com
10139N/A- uprev to 0.16: adds comment about /usr/sfw/bin to Xinitrc, uses new
10139N/A Solaris 10 branding
10139N/A* Wed Oct 20 2004 - laca@sun.com
10139N/A- uprev to 0.15 (removes /usr/sfw/bin from the PATH)
10139N/A* Fri Oct 15 2004 - damien.donlon@sun.com
10139N/A- Uprevved tarball to 0.14 (0.12 & 0.13 already present)
10139N/A* Thu Sep 09 2004 - hidetoshi.tajima@sun.com
10139N/A- Uprevved tarball to 0.11
10139N/A* Tue Sep 07 2004 - laca@sun.com
10139N/A- Added SourcePackage tag because SUNWgnome-dtlogin-integration-src is too
10139N/A long...
10139N/A* Tue Sep 07 2004 - takao.fujiwara@sun.com
10139N/A- Added BuildRequires for effective iconv convertions.
10139N/A* Tue Sep 07 2004 - laca@sun.com
10139N/A- Uprevved tarball to 0.10
10139N/A* Mon Sep 06 2004 - takao.fujiwara@sun.com
10139N/A- Upstreamed dtlogin-integration-01-g11n-i18n-ui.diff
10139N/A* Fri Sep 03 2004 - takao.fujiwara@sun.com
10139N/A- Added dtlogin-integration-01-g11n-i18n-ui.diff
10139N/A- Updated BuildRequires
10139N/A* Mon Aug 30 2004 - damien.donlon@sun.com
10139N/A- Uprevved tarball to 0.9 to fix bugid 5093158
10139N/A* Thu Jul 08 2004 - damien.carbery@sun.com
10139N/A- Update to version 0.7 to add /usr/sfw/bin to PATH and /usr/lib/jds-private to
10139N/A LD_LIBRARY_PATH.
10139N/A* Tue Jun 22 2004 - damien.donlon@sun.com
10139N/A- update to version 0.6 to fix th_TH attrib issue (again!)
10139N/A* Mon Jun 21 2004 - laca@sun.com
10139N/A- update to version 0.5
10139N/A* Tue Jun 15 2004 - hidetoshi.tajima@sun.com
10139N/A- update to version 0.4
10139N/A- removed dtlogin-integration-01-th_TH_file_conflict.diff and
10139N/A include the same fix to the module.
10139N/A* Thu Jun 10 2004 - damien.donlon@sun.com
10139N/A- Patch dtlogin-integration-01-th_TH_file_conflict.diff to fix th_TH conflict
10139N/A* Tue May 18 2004 - laca@sun.com
10139N/A- update to version 0.3
10139N/A* Tue May 18 2004 - laca@sun.com
10139N/A- update to version 0.2
10139N/A* Tue May 04 2004 - laca@sun.com
10139N/A- initial version of the spec file
19239N/A
19556N/A