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