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