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