Home | History | Annotate | Download | only in gnome-2-24
      1 #
      2 # spec file for package SUNWgnome-dtlogin-integration
      3 #
      4 # includes module(s): dtlogin-integration
      5 #
      6 # Copyright 2008 Sun Microsystems, Inc.
      7 # This file and all modifications and additions to the pristine
      8 # package are under the same license as the package itself.
      9 #
     10 # Owner: laca
     11 #
     12 %define dtlogin_config_basedir /usr
     13 # NOTE: If the version is bumped the new tarball must be uploaded to the
     14 #       Sun Download Center. Contact GNOME RE for assistance.
     15 %define tarball_version 0.37
     16 
     17 %include Solaris.inc
     18 %if %option_with_dt
     19 Name:                    SUNWgnome-dtlogin-integration
     20 SourcePackage:           SUNWgnome-dtlogin-integ-src
     21 Summary:                 dtlogin configuration files for the JDS desktop
     22 %else
     23 Name:                    SUNWgnome-dtstart
     24 Summary:                 Desktop startup scripts for JDS
     25 Source2:                 dtstart
     26 %endif
     27 Source3:                 0005.dbus
     28 Version:                 %{default_pkg_version}
     29 Source:                  http://dlc.sun.com/osol/jds/downloads/extras/dtlogin-integration-%{tarball_version}.tar.bz2
     30 Source1:                 l10n-configure.sh
     31 SUNW_BaseDir:            %{dtlogin_config_basedir}
     32 SUNW_Copyright:          SUNWgnome-dtlogin-integration.copyright
     33 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     34 %include default-depend.inc
     35 Requires: SUNWgnome-panel
     36 Requires: SUNWgnome-session
     37 Requires: SUNWgnome-wm
     38 
     39 %prep
     40 %setup -q -n dtlogin-integration-%{tarball_version}
     41 
     42 bash -x %SOURCE1 --enable-sun-linguas
     43 
     44 %build
     45 export LDFLAGS="%_ldflags"
     46 export CFLAGS="%optflags"
     47 export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
     48 libtoolize -f
     49 intltoolize --force --copy --automake
     50 
     51 %if %build_l10n
     52 bash -x %SOURCE1 --enable-copyright
     53 %endif
     54 
     55 aclocal $ACLOCAL_FLAGS
     56 autoconf
     57 automake -acf
     58 
     59 ./configure --with-gnome-prefix=%{_prefix} \
     60             --prefix=%{dtlogin_config_basedir}
     61 
     62 %install
     63 rm -rf $RPM_BUILD_ROOT
     64 %if %option_with_gnu_iconv
     65 make install DESTDIR=$RPM_BUILD_ROOT ICONV=/usr/gnu/bin/iconv ENCODING=UTF-8
     66 %else
     67 make install DESTDIR=$RPM_BUILD_ROOT
     68 %endif
     69 
     70 %if %option_without_dt
     71 install --mode=0755 -d $RPM_BUILD_ROOT/usr/bin
     72 install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT/usr/bin/dtstart
     73 rm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/appconfig
     74 rm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/C
     75 rm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/[a-z][a-z]*
     76 rm -r $RPM_BUILD_ROOT%{dtlogin_config_basedir}/dt/config/Xsession*
     77 %endif
     78 
     79 # Create dbus session initialisation script for dtlogin
     80 %if %option_with_dt
     81 install --mode=0755 -d $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d
     82 install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT/%{dtlogin_config_basedir}/dt/config/Xsession.d/0005.dbus
     83 %endif
     84 
     85 rm -rf $RPM_BUILD_ROOT/tmp
     86 
     87 %clean
     88 rm -rf $RPM_BUILD_ROOT
     89 
     90 %files
     91 %defattr (-, root, bin)
     92 %{dtlogin_config_basedir}/dt
     93 %if %option_with_dt
     94 %else
     95 %dir %attr (0755, root, bin) %{_bindir}
     96 %{_bindir}/dtstart
     97 %endif
     98 
     99 
    100 %changelog
    101 * Thu Oct 02 2008 - ghee.teo@sun.com
    102 - Bump up tarball to 0.37. Removed dtlogin-integration-02-dbus-launch.diff 
    103   and dtlogin-integration-01-vte-cjk.diff  which are now upstreamed.
    104 * Fri Sep 19 2008 - ghee.teo@sun.com
    105 - Added dtlogin-integration-02-dbus-launch.diff to fix 6750408.
    106 * Thu Sep 11 2008 - takao.fujiwara@sun.com
    107 - Add dtlogin-integration-01-vte-cjk.diff to fix 6745785.
    108 * Fri Aug 29 2008 - ghee.teo@sun.com
    109 - Released 0.36 tarball and remove these patches
    110 - SUNWgnome-dtlogin-integration-01-no-mo.diff
    111 - SUNWgnome-dtlogin-integration-02-ssh-agent.diff
    112 - SUNWgnome-dtlogin-integration-03-dbus-launch.diff
    113 * Thu Aug 28 2008 - ghee.teo@sun.com
    114 - Added script to launch dbus session bus now that gnome-session does not do that.
    115 * Mon Jul 21 2008 - jeff.cai@sun.com
    116 - Not start ssh-agent because gnome-keyring-daemon has added this feature.
    117 * Tue Apr  1 2008 - damien.carbery@sun.com
    118 - Remove 'BuildRequires' lines for i18n pkgs that are no longer delivered to
    119   Nevada (beginning snv_86).
    120 * Tue Feb 26 2008 - brian.cameron@sun.com
    121 - Bump to 0.35.  This reverts the code change made on 2007-12-07 to
    122   launch gnome-session with "/bin/sh -c" rather than exec.  I
    123   discovered that using "/bin/sh -c" was having the unwanted
    124   side-effect of causing gnome-session and child processes to not
    125   have an associated TTY number.  For example, gnome-session should
    126   have a value like "pts/1", but when using "/bin/sh -c" it has "?".
    127   So reverting this change fixes this problem.  The original need
    128   to switch to "/bin/sh -c" has gone away now that we launch D-Bus
    129   from gnome-session instead of from the startup scripts.
    130 
    131 * Wed Jan 09 2008 - brian.cameron@sun.com
    132 - Bump to 0.34.
    133 * Fri Dec 07 2007 - brian.cameron@sun.com
    134 - Bump to 0.33.
    135 * Thu Oct 25 2007 - takao.fujiwara@sun.com
    136 - Add SUNWgnome-dtlogin-integration-01-no-mo.diff.
    137   We don't need .mo files for this package.
    138 * Fri Sep 28 2007 - laca (at] sun.com
    139 - combine SUNWgnome-dtlogin-integration and SUNWgnome-dtstart in one
    140   spec.  If this spec file is built without /usr/dt support then
    141   it builds SUNWgnome-dtstart with include /usr/bin/dtstart and the
    142   JDS startup scripts in /usr/dt/config.  /ust/bin/dtstart is a
    143   simple replacement for /usr/dt/bin/Xsession
    144 * Fri Sep 07 2007 - brian.cameron (at] sun.com
    145 - Bump to 0.32, remove upstream patch.
    146 * Thu Aug 30 2007 - damien.carbery (at] sun.com
    147 - Add intltoolize call to update intltool scripts.
    148 * Mon Jul 23 2007 - takao.fujiwara (at] sun.com
    149 - Added SUNWgnome-dtlogin-integration-01-g11n-xinitrc.diff. 
    150   Fixes 6555226, 6583891
    151 * Tue Jun  5 2007 - laca (at] sun.com
    152 - bump to 0.31, delete patch
    153 * Mon Apr 02 2007 - takao.fujiwara (at] sun.com
    154 - Added SUNWgnome-dtlogin-integration-01-unset-locale.diff. Fixes 6532300
    155 * Tue Nov 14 2006 - damien.carbery (at] sun.com
    156 - Bump to 0.29, to change menu string to 2.16. Fixes 6493544.
    157 * Thu Aug 24 2006 - laca (at] sun.com
    158 - remove autoheader call since there is AC_CONFIG_HEADER in configure.in
    159 * Fri Aug 04 2006 - damien.carbery (at] sun.com
    160 - Bump to 0.27, to change menu string to 2.15.
    161 * Fri Jun 23 2006 - laca (at] sun.com
    162 - bump to 0.26, fixes 6340366 "A modified version of
    163   /usr/dt/config/Xinitrc.jds in /etc/dt/config is not used" and
    164   moves the code starting ssh-agent here from gdm so that it runs
    165   for dtlogin users too.
    166 * Sun Jun 11 2006 - laca (at] sun.com
    167 - change group from other to bin/sys
    168 * Thu Apr  6 2006 - brian.cameron (at] sun.com
    169 - Now use tarball_version
    170 * Wed Feb  1 2006 - damien.carbery (at] sun.com
    171 - Bump to 0.25 to change menu string to "Gnome 2.14 for OpenSolaris"
    172 * Tue Sep 13 2005 - laca (at] sun.com
    173 - remove unpackaged files
    174 * Fri Jul  8 2005 - damien.carbery (at] sun.com
    175 - Add definition for ACLOCAL_FLAGS in order to build.
    176 * Fri Apr  1 2005 - brian.cameron (at] sun.com
    177 - Update to 0.23.  Remove /usr/openwin/bin from PATH and move it to GDM2
    178   so it doesn't get set twice when logging in via CDE login.
    179 * Wed Mar 16 2005 - brian.cameron@sun.com
    180 - commented out the rm datadir/locale/*/LC_MESSAGES/dtlogin-integration.mo
    181   line since it got accidently uncommented in my last putback.
    182 * Tue Mar 01 2005 - brian.cameron@sun.com
    183 - Update to 0.22: Remove /usr/dt/bin from default user PATH.
    184 * Wed Dec 15 2004 - laca@sun.com
    185 - Update to 0.21: get rid of the login popup
    186 * Mon Dec 13 2004 - damien.carbery@sun.com
    187 - Update to 0.20. Implement ARC decision: Remove /usr/demo/jds/bin from PATH 
    188   and change wording for message about adding /usr/sfw/bin to the PATH 
    189   (Xinitrc.in).
    190 * Fri Nov 26 2004 - damien.donlon@sun.com
    191 - Added translations for new popup dialog. Asian to be modfied still.
    192 * Fri Nov 26 2004 - laca@sun.com
    193 - update to 0.17: fixes 6182467 (adds sfw login dialog)
    194 - add %_datadir to files
    195 * Fri Oct 29 2004 - laca@sun.com
    196 - uprev to 0.16: adds comment about /usr/sfw/bin to Xinitrc, uses new
    197   Solaris 10 branding
    198 * Wed Oct 20 2004 - laca@sun.com
    199 - uprev to 0.15 (removes /usr/sfw/bin from the PATH)
    200 * Fri Oct 15 2004 - damien.donlon@sun.com
    201 - Uprevved tarball to 0.14 (0.12 & 0.13 already present)
    202 * Thu Sep 09 2004 - hidetoshi.tajima@sun.com
    203 - Uprevved tarball to 0.11
    204 * Tue Sep 07 2004 - laca@sun.com
    205 - Added SourcePackage tag because SUNWgnome-dtlogin-integration-src is too
    206   long...
    207 * Tue Sep 07 2004 - takao.fujiwara@sun.com
    208 - Added BuildRequires for effective iconv convertions.
    209 * Tue Sep 07 2004 - laca@sun.com
    210 - Uprevved tarball to 0.10
    211 * Mon Sep 06 2004 - takao.fujiwara@sun.com
    212 - Upstreamed dtlogin-integration-01-g11n-i18n-ui.diff
    213 * Fri Sep 03 2004 - takao.fujiwara@sun.com
    214 - Added dtlogin-integration-01-g11n-i18n-ui.diff
    215 - Updated BuildRequires
    216 * Mon Aug 30 2004 - damien.donlon@sun.com
    217 - Uprevved tarball to 0.9 to fix bugid 5093158
    218 * Thu Jul 08 2004 - damien.carbery@sun.com
    219 - Update to version 0.7 to add /usr/sfw/bin to PATH and /usr/lib/jds-private to
    220   LD_LIBRARY_PATH.
    221 * Tue Jun 22 2004 - damien.donlon@sun.com
    222 - update to version 0.6 to fix th_TH attrib issue (again!)
    223 * Mon Jun 21 2004 - laca@sun.com
    224 - update to version 0.5
    225 * Tue Jun 15 2004 - hidetoshi.tajima@sun.com
    226 - update to version 0.4
    227 - removed dtlogin-integration-01-th_TH_file_conflict.diff and
    228   include the same fix to the module.
    229 * Thu Jun 10 2004 - damien.donlon@sun.com
    230 - Patch dtlogin-integration-01-th_TH_file_conflict.diff to fix th_TH conflict
    231 * Tue May 18 2004 - laca@sun.com
    232 - update to version 0.3
    233 * Tue May 18 2004 - laca@sun.com
    234 - update to version 0.2
    235 * Tue May 04 2004 - laca@sun.com
    236 - initial version of the spec file
    237