author | bc99092 |
Tue, 18 Apr 2006 21:00:36 +0000 | |
changeset 7090 | 7aa58422e9ee |
parent 6919 | fe2ec42374d0 |
child 7233 | 47108f2f55d1 |
permissions | -rw-r--r-- |
2073 | 1 |
# |
2 |
# spec file for package SUNWgnome-display-mgr |
|
3 |
# |
|
4 |
# includes module(s): gdm |
|
5 |
# |
|
6 |
# Copyright (c) 2004 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 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
%use gdm = gdm.spec |
|
14 |
||
15 |
Name: SUNWgnome-display-mgr |
|
16 |
Summary: GNOME Display Manager |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
17 |
Version: %{default_pkg_version} |
3829 | 18 |
Source: gdm-binary.1 |
3830 | 19 |
Source1: gdm.1 |
20 |
Source2: gdmXnest.1 |
|
21 |
Source3: gdmXnestchooser.1 |
|
22 |
Source4: gdmchooser.1 |
|
23 |
Source5: gdmflexiserver.1 |
|
24 |
Source6: gdmgreeter.1 |
|
25 |
Source7: gdmlogin.1 |
|
26 |
Source8: gdmphotosetup.1 |
|
27 |
Source9: gdmsetup.1 |
|
3927 | 28 |
Source10: gdmthemetester.1 |
29 |
Source11: gdm-restart.1m |
|
30 |
Source12: gdm-safe-restart.1m |
|
31 |
Source13: gdm-stop.1m |
|
32 |
Source14: gdmconfig.1m |
|
5518 | 33 |
Source15: gdm.xml |
2621 | 34 |
SUNW_BaseDir: %{_basedir} |
2073 | 35 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
36 |
||
37 |
%include default-depend.inc |
|
5518 | 38 |
BuildRequires: SUNWlibrsvg-devel |
6574
481a4c874942
* SUNWgnome-display-mgr.spec: Update Build/Requires lines.
dc144907
parents:
6572
diff
changeset
|
39 |
BuildRequires: SUNWgnome-base-libs-devel |
481a4c874942
* SUNWgnome-display-mgr.spec: Update Build/Requires lines.
dc144907
parents:
6572
diff
changeset
|
40 |
BuildRequires: SUNWgnome-libs-devel |
481a4c874942
* SUNWgnome-display-mgr.spec: Update Build/Requires lines.
dc144907
parents:
6572
diff
changeset
|
41 |
BuildRequires: SUNWlxml |
6588
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
42 |
BuildRequires: SUNWlibcroco |
6795 | 43 |
BuildRequires: SUNWlibpopt-devel |
44 |
BuildRequires: SUNWlibrsvg-devel |
|
45 |
Requires: SUNWlibms |
|
46 |
Requires: SUNWlibpopt |
|
2073 | 47 |
Requires: SUNWgnome-base-libs |
48 |
Requires: SUNWgnome-libs |
|
2094 | 49 |
Requires: SUNWgnome-display-mgr-share |
50 |
Requires: SUNWgnome-display-mgr-root |
|
4597
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
51 |
Requires: SUNWgnome-dtlogin-integration |
5518 | 52 |
Requires: SUNWlibrsvg |
6574
481a4c874942
* SUNWgnome-display-mgr.spec: Update Build/Requires lines.
dc144907
parents:
6572
diff
changeset
|
53 |
Requires: SUNWlxml |
6588
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
54 |
Requires: SUNWlibcroco |
6781 | 55 |
Requires: SUNWxwplt |
2094 | 56 |
|
57 |
%package share |
|
58 |
Summary: GNOME Display Manager - platform independent files, /usr/share |
|
2621 | 59 |
SUNW_BaseDir: %{_basedir} |
2094 | 60 |
%include default-depend.inc |
6339 | 61 |
Requires: SUNWpostrun |
2094 | 62 |
|
5030 | 63 |
%package root |
64 |
Summary: GNOME Display Manager - platform dependent files, / filesystem |
|
65 |
SUNW_BaseDir: / |
|
66 |
%include default-depend.inc |
|
67 |
||
6169 | 68 |
%if %build_l10n |
2995 | 69 |
%package l10n |
70 |
Summary: %{summary} - l10n files |
|
71 |
SUNW_BaseDir: %{_basedir} |
|
72 |
%include default-depend.inc |
|
73 |
Requires: %{name} |
|
6169 | 74 |
%endif |
2995 | 75 |
|
2073 | 76 |
%prep |
77 |
rm -rf %name-%version |
|
78 |
mkdir %name-%version |
|
79 |
%gdm.prep -d %name-%version |
|
2094 | 80 |
chmod -R u+w %{_builddir}/%name-%version/gdm-%{gdm.version} |
2073 | 81 |
|
82 |
%build |
|
6102 | 83 |
export LDFLAGS="%_ldflags -L/usr/openwin/lib -lXau -R/usr/openwin/lib" |
3184 | 84 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
2073 | 85 |
export MSGFMT="/usr/bin/msgfmt" |
86 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
2094 | 87 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
6572 | 88 |
export CFLAGS="%optflags -I/usr/sfw/include" |
89 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
2073 | 90 |
%gdm.build -d %name-%version |
91 |
||
92 |
%install |
|
2094 | 93 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
2073 | 94 |
%gdm.install -d %name-%version |
3416 | 95 |
install -d $RPM_BUILD_ROOT/var/lib/log/gdm |
96 |
install -d $RPM_BUILD_ROOT/var/lib/gdm |
|
2073 | 97 |
|
4593 | 98 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
99 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
100 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
3829 | 101 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
102 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
103 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
104 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
105 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
106 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
107 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
108 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
109 |
install --mode=0755 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
110 |
install --mode=0755 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
111 |
install --mode=0755 %SOURCE10 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
112 |
install --mode=0755 %SOURCE11 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
113 |
install --mode=0755 %SOURCE12 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
114 |
install --mode=0755 %SOURCE13 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
115 |
install --mode=0755 %SOURCE14 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
116 |
||
5518 | 117 |
install -d $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
118 |
install --mode=0644 %SOURCE15 $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
|
3927 | 119 |
|
5868 | 120 |
rmdir $RPM_BUILD_ROOT/etc/X11/dm |
121 |
rmdir $RPM_BUILD_ROOT/etc/pam.d |
|
122 |
||
6169 | 123 |
%if %build_l10n |
124 |
%else |
|
125 |
# REMOVE l10n FILES |
|
126 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
127 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/*help/*/[a-z]* |
|
128 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/gdm/*-[a-z]*.omf |
|
129 |
%endif |
|
130 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
131 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 132 |
|
2073 | 133 |
%clean |
134 |
rm -rf $RPM_BUILD_ROOT |
|
135 |
||
6339 | 136 |
%post share |
137 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
138 |
echo '/usr/bin/update-desktop-database' |
|
139 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6853 | 140 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 141 |
echo '/usr/bin/scrollkeeper-update' |
142 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
143 |
||
144 |
%postun share |
|
6919 | 145 |
test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0 |
6846 | 146 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
147 |
echo '/usr/bin/update-desktop-database' |
|
148 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6853 | 149 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 150 |
echo '/usr/bin/scrollkeeper-update' |
151 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6339 | 152 |
|
2073 | 153 |
%files |
154 |
%defattr (-, root, other) |
|
2094 | 155 |
%dir %attr (0755, root, bin) %{_bindir} |
156 |
%{_bindir}/* |
|
157 |
%dir %attr (0755, root, bin) %{_sbindir} |
|
158 |
%{_sbindir}/* |
|
159 |
%dir %attr (0755, root, bin) %{_libdir} |
|
160 |
%{_libdir}/gtk-2.0/modules/*.so |
|
5518 | 161 |
%{_libexecdir}/gdm* |
2073 | 162 |
|
2094 | 163 |
%files share |
164 |
%defattr (-, root, other) |
|
165 |
%dir %attr (0755, root, sys) %{_datadir} |
|
5868 | 166 |
%{_datadir}/applications |
2094 | 167 |
%{_datadir}/gdm |
168 |
%{_datadir}/gnome/help/gdm/C |
|
5518 | 169 |
%{_datadir}/icons |
2094 | 170 |
%{_datadir}/omf/gdm/*-C.omf |
171 |
%{_datadir}/pixmaps |
|
172 |
%{_datadir}/xsessions |
|
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
173 |
%dir %attr(0755, root, bin) %{_mandir} |
4593 | 174 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
175 |
%dir %attr(0755, root, bin) %{_mandir}/sman1m |
|
176 |
%{_mandir}/sman1/* |
|
177 |
%{_mandir}/sman1m/* |
|
2094 | 178 |
|
179 |
%files root |
|
2502 | 180 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
2094 | 181 |
%defattr (-, root, other) |
4560
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
182 |
%dir %{_sysconfdir}/X11 |
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
183 |
%dir %{_sysconfdir}/X11/gdm |
4558 | 184 |
%{_sysconfdir}/X11/gdm/Init |
185 |
%{_sysconfdir}/X11/gdm/Post* |
|
186 |
%{_sysconfdir}/X11/gdm/Pre* |
|
187 |
%{_sysconfdir}/X11/gdm/X* |
|
6569 | 188 |
%{_sysconfdir}/X11/gdm/gdmprefetchlist |
7090 | 189 |
%config %class(preserve) %{_sysconfdir}/X11/gdm/custom.conf |
4558 | 190 |
%{_sysconfdir}/X11/gdm/locale.alias |
191 |
%{_sysconfdir}/X11/gdm/modules |
|
3927 | 192 |
%defattr (-, root, sys) |
3943 | 193 |
# don't use %_localstatedir here, because this is an absolute path |
194 |
# defined by another package, so it has to be /var/svc even if this |
|
195 |
# package's %_localstatedir is redefined |
|
196 |
/var/svc/* |
|
3416 | 197 |
%dir %attr (0755, root, sys) /var |
3943 | 198 |
%dir %attr (0755, root, other) %{_localstatedir}/lib |
5031 | 199 |
%dir %attr (1770, root, gdm) %{_localstatedir}/lib/gdm |
3943 | 200 |
%dir %attr (0755, root, other) %{_localstatedir}/lib/log |
201 |
%dir %attr (0700, gdm, gdm) %{_localstatedir}/lib/log/gdm |
|
2094 | 202 |
|
6169 | 203 |
%if %build_l10n |
5030 | 204 |
%files l10n |
205 |
%defattr (-, root, other) |
|
206 |
%dir %attr (0755, root, sys) %{_datadir} |
|
207 |
%{_datadir}/locale |
|
208 |
%{_datadir}/gnome/*help/*/[a-z]* |
|
209 |
%{_datadir}/omf/gdm/*-[a-z]*.omf |
|
6169 | 210 |
%endif |
5030 | 211 |
|
2094 | 212 |
%changelog |
7090 | 213 |
* Tue Apr 18 2006 - [email protected] |
214 |
- Mark custom.conf as in the preserve class so it doesn't get deleted on pkgrm. |
|
215 |
||
6795 | 216 |
* Mon Feb 20 2006 - [email protected] |
217 |
- Update Build/Requires after running check-deps.pl script. |
|
218 |
||
6789 | 219 |
* Fri Feb 17 2006 - [email protected] |
220 |
- Mark custom.conf as volatile (%config). |
|
221 |
||
6781 | 222 |
* Thu Feb 16 2006 - [email protected] |
223 |
- Update Build/Requires after running check-deps.pl script. |
|
224 |
||
6756 | 225 |
* Tue Feb 14 2006 - [email protected] |
226 |
- Update %files for new tarball (conf files renamed). |
|
227 |
||
6638 | 228 |
* Sat Jan 21 2006 - [email protected] |
229 |
- Remove locale.alias.orig file from %files. Mistake in build. |
|
230 |
||
6626 | 231 |
* Thu Jan 19 2006 - [email protected] |
232 |
- Fixed packaging after updating to 2.13.0.6 |
|
6621 | 233 |
* Thu Jan 19 2006 - [email protected] |
234 |
- Add new %files from bumped tarball. |
|
6588
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
235 |
* Tue Jan 17 2006 - [email protected] |
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
236 |
- Add SUNWlibcroco to Build/Requires list. |
6572 | 237 |
* Mon Jan 16 2006 - [email protected] |
238 |
- Move /usr/sfw/include reference from gdm.spec to here as it is Solaris only. |
|
6574
481a4c874942
* SUNWgnome-display-mgr.spec: Update Build/Requires lines.
dc144907
parents:
6572
diff
changeset
|
239 |
- Update Build/Requires lines. |
6569 | 240 |
* Mon Jan 16 2006 - [email protected] |
6572 | 241 |
- add reference to %{_libexecdir}/X11/gdm/gdmprefetchlist |
6339 | 242 |
* Sat Dec 3 2005 - [email protected] |
243 |
- add %post script that runs update-desktop-database |
|
6298 | 244 |
* Tue Nov 29 2005 - laca.com |
245 |
- remove javahelp stuff |
|
5868 | 246 |
* Thu Sep 15 2005 - [email protected] |
247 |
- Remove unpackaged empty directories |
|
5518 | 248 |
* Thu Jul 28 2005 - damien.carbery@suncom |
249 |
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency. |
|
250 |
- Wed Jul 13 2005 - [email protected] |
|
251 |
- Updated to 2.8.0.5. Updated SVC (GreenLine) integration. |
|
5031 | 252 |
+ Mon Feb 07 2004 - [email protected] |
253 |
- Fixed permissions on /var/lib/gdm so it doesn't complain on |
|
254 |
reinstall. The gdm binary program changes the ownership and |
|
255 |
permissions of this file on runtime if they aren't set |
|
256 |
properly. This change makes the original permissions set |
|
257 |
by the package correct so gdm won't change them. |
|
4597
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
258 |
* Thu Nov 18 2004 - [email protected] |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
259 |
- #5081827 - required SUNWgnome-dtlogin-integration to run |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
260 |
/usr/dt/config/Xsession.jds in gnome session |
4593 | 261 |
* Wed Nov 17 2004 - [email protected] |
262 |
- #6195852 - Fix manpage directory installed (stopper) |
|
4558 | 263 |
* Sat Nov 13 2004 - [email protected] |
264 |
- include gdm.conf in the "preserve" class, fixes 5101934 |
|
265 |
Note: requires pkgbuild-0.8.2 (CBE 0.18) |
|
4537 | 266 |
* Fri Nov 12 2004 - [email protected] |
267 |
- Revised files section |
|
4122 | 268 |
* Sat Oct 02 2004 - [email protected] |
269 |
- added %pkgbuild_postprocess |
|
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
270 |
* Thu Sep 02 2004 <[email protected]> |
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
271 |
- Add %dir %attr for mandir and mandir/man1. Attribute change install error. |
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
272 |
* Thu Sep 02 2004 <[email protected]> |
3829 | 273 |
- Added gdm manpages for solaris |
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
274 |
* Tue Jul 27 2004 <[email protected]> |
3433 | 275 |
- Put back the New Login in New Window as it's supported. |
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
276 |
* Tue Jul 27 2004 <[email protected]> |
3430 | 277 |
- Remove the flexiserver .desktop items. Need to have a |
278 |
look to see if the flexiserver binary stuff should be |
|
279 |
include as well or not. Part fix for #5043894. |
|
3416 | 280 |
* Fri Jul 23 2004 <[email protected]> |
281 |
- Now include /var/lib/gdm and /var/lib/log/gdm in the |
|
282 |
package so that gdm can run out-of-the-box. |
|
3222 | 283 |
* Sun Jun 27 2004 [email protected] |
284 |
- Changed install location to /usr/... |
|
2995 | 285 |
* Wed Jun 2 2004 - [email protected] |
286 |
- Added %{_datadir}/locale to install l10n messages |
|
2094 | 287 |
* Mon Mar 01 2004 - <[email protected]> |
288 |
- define PERL5LIB. |
|
289 |
- add share and root subpkgs |