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