author | bc99092 |
Tue, 09 May 2006 19:31:10 +0000 | |
changeset 7233 | 47108f2f55d1 |
parent 7090 | 7aa58422e9ee |
child 7242 | 19b994b053db |
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 |
95 |
||
4593 | 96 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
97 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
98 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
3829 | 99 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
100 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
101 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
102 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
103 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
104 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
105 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
106 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
107 |
install --mode=0755 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
108 |
install --mode=0755 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
109 |
install --mode=0755 %SOURCE10 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
110 |
install --mode=0755 %SOURCE11 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
111 |
install --mode=0755 %SOURCE12 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
112 |
install --mode=0755 %SOURCE13 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
113 |
install --mode=0755 %SOURCE14 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
114 |
||
5518 | 115 |
install -d $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
116 |
install --mode=0644 %SOURCE15 $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
|
3927 | 117 |
|
5868 | 118 |
rmdir $RPM_BUILD_ROOT/etc/X11/dm |
119 |
rmdir $RPM_BUILD_ROOT/etc/pam.d |
|
120 |
||
6169 | 121 |
%if %build_l10n |
122 |
%else |
|
123 |
# REMOVE l10n FILES |
|
124 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
125 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/*help/*/[a-z]* |
|
126 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/gdm/*-[a-z]*.omf |
|
127 |
%endif |
|
128 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
129 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 130 |
|
2073 | 131 |
%clean |
132 |
rm -rf $RPM_BUILD_ROOT |
|
133 |
||
6339 | 134 |
%post share |
135 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
136 |
echo '/usr/bin/update-desktop-database' |
|
137 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6853 | 138 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 139 |
echo '/usr/bin/scrollkeeper-update' |
140 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
141 |
||
142 |
%postun share |
|
6919 | 143 |
test -x $PKG_INSTALL_ROOT/usr/lib/postrun || exit 0 |
6846 | 144 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
145 |
echo '/usr/bin/update-desktop-database' |
|
146 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6853 | 147 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
6846 | 148 |
echo '/usr/bin/scrollkeeper-update' |
149 |
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u |
|
6339 | 150 |
|
2073 | 151 |
%files |
152 |
%defattr (-, root, other) |
|
2094 | 153 |
%dir %attr (0755, root, bin) %{_bindir} |
154 |
%{_bindir}/* |
|
155 |
%dir %attr (0755, root, bin) %{_sbindir} |
|
156 |
%{_sbindir}/* |
|
157 |
%dir %attr (0755, root, bin) %{_libdir} |
|
158 |
%{_libdir}/gtk-2.0/modules/*.so |
|
5518 | 159 |
%{_libexecdir}/gdm* |
2073 | 160 |
|
2094 | 161 |
%files share |
162 |
%defattr (-, root, other) |
|
163 |
%dir %attr (0755, root, sys) %{_datadir} |
|
5868 | 164 |
%{_datadir}/applications |
2094 | 165 |
%{_datadir}/gdm |
166 |
%{_datadir}/gnome/help/gdm/C |
|
5518 | 167 |
%{_datadir}/icons |
2094 | 168 |
%{_datadir}/omf/gdm/*-C.omf |
169 |
%{_datadir}/pixmaps |
|
170 |
%{_datadir}/xsessions |
|
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
171 |
%dir %attr(0755, root, bin) %{_mandir} |
4593 | 172 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
173 |
%dir %attr(0755, root, bin) %{_mandir}/sman1m |
|
174 |
%{_mandir}/sman1/* |
|
175 |
%{_mandir}/sman1m/* |
|
2094 | 176 |
|
177 |
%files root |
|
2502 | 178 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
2094 | 179 |
%defattr (-, root, other) |
4560
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
180 |
%dir %{_sysconfdir}/X11 |
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
181 |
%dir %{_sysconfdir}/X11/gdm |
4558 | 182 |
%{_sysconfdir}/X11/gdm/Init |
183 |
%{_sysconfdir}/X11/gdm/Post* |
|
184 |
%{_sysconfdir}/X11/gdm/Pre* |
|
185 |
%{_sysconfdir}/X11/gdm/X* |
|
6569 | 186 |
%{_sysconfdir}/X11/gdm/gdmprefetchlist |
7090 | 187 |
%config %class(preserve) %{_sysconfdir}/X11/gdm/custom.conf |
4558 | 188 |
%{_sysconfdir}/X11/gdm/locale.alias |
189 |
%{_sysconfdir}/X11/gdm/modules |
|
3927 | 190 |
%defattr (-, root, sys) |
3943 | 191 |
# don't use %_localstatedir here, because this is an absolute path |
192 |
# defined by another package, so it has to be /var/svc even if this |
|
193 |
# package's %_localstatedir is redefined |
|
194 |
/var/svc/* |
|
3416 | 195 |
%dir %attr (0755, root, sys) /var |
3943 | 196 |
%dir %attr (0755, root, other) %{_localstatedir}/lib |
5031 | 197 |
%dir %attr (1770, root, gdm) %{_localstatedir}/lib/gdm |
3943 | 198 |
%dir %attr (0755, root, other) %{_localstatedir}/lib/log |
199 |
%dir %attr (0700, gdm, gdm) %{_localstatedir}/lib/log/gdm |
|
2094 | 200 |
|
6169 | 201 |
%if %build_l10n |
5030 | 202 |
%files l10n |
203 |
%defattr (-, root, other) |
|
204 |
%dir %attr (0755, root, sys) %{_datadir} |
|
205 |
%{_datadir}/locale |
|
206 |
%{_datadir}/gnome/*help/*/[a-z]* |
|
207 |
%{_datadir}/omf/gdm/*-[a-z]*.omf |
|
6169 | 208 |
%endif |
5030 | 209 |
|
2094 | 210 |
%changelog |
7233 | 211 |
* Tue May 09 2006 - [email protected] |
212 |
- No longer install the /var/gdm directories here since they get installed via |
|
213 |
make install. |
|
214 |
||
7090 | 215 |
* Tue Apr 18 2006 - [email protected] |
216 |
- Mark custom.conf as in the preserve class so it doesn't get deleted on pkgrm. |
|
217 |
||
6795 | 218 |
* Mon Feb 20 2006 - [email protected] |
219 |
- Update Build/Requires after running check-deps.pl script. |
|
220 |
||
6789 | 221 |
* Fri Feb 17 2006 - [email protected] |
222 |
- Mark custom.conf as volatile (%config). |
|
223 |
||
6781 | 224 |
* Thu Feb 16 2006 - [email protected] |
225 |
- Update Build/Requires after running check-deps.pl script. |
|
226 |
||
6756 | 227 |
* Tue Feb 14 2006 - [email protected] |
228 |
- Update %files for new tarball (conf files renamed). |
|
229 |
||
6638 | 230 |
* Sat Jan 21 2006 - [email protected] |
231 |
- Remove locale.alias.orig file from %files. Mistake in build. |
|
232 |
||
6626 | 233 |
* Thu Jan 19 2006 - [email protected] |
234 |
- Fixed packaging after updating to 2.13.0.6 |
|
6621 | 235 |
* Thu Jan 19 2006 - [email protected] |
236 |
- Add new %files from bumped tarball. |
|
6588
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
237 |
* Tue Jan 17 2006 - [email protected] |
a739944948ae
* SUNWgnome-display-mgr.spec: Add SUNWlibcroco to Build/Requires list.
dc144907
parents:
6574
diff
changeset
|
238 |
- Add SUNWlibcroco to Build/Requires list. |
6572 | 239 |
* Mon Jan 16 2006 - [email protected] |
240 |
- 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
|
241 |
- Update Build/Requires lines. |
6569 | 242 |
* Mon Jan 16 2006 - [email protected] |
6572 | 243 |
- add reference to %{_libexecdir}/X11/gdm/gdmprefetchlist |
6339 | 244 |
* Sat Dec 3 2005 - [email protected] |
245 |
- add %post script that runs update-desktop-database |
|
6298 | 246 |
* Tue Nov 29 2005 - laca.com |
247 |
- remove javahelp stuff |
|
5868 | 248 |
* Thu Sep 15 2005 - [email protected] |
249 |
- Remove unpackaged empty directories |
|
5518 | 250 |
* Thu Jul 28 2005 - damien.carbery@suncom |
251 |
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency. |
|
252 |
- Wed Jul 13 2005 - [email protected] |
|
253 |
- Updated to 2.8.0.5. Updated SVC (GreenLine) integration. |
|
5031 | 254 |
+ Mon Feb 07 2004 - [email protected] |
255 |
- Fixed permissions on /var/lib/gdm so it doesn't complain on |
|
256 |
reinstall. The gdm binary program changes the ownership and |
|
257 |
permissions of this file on runtime if they aren't set |
|
258 |
properly. This change makes the original permissions set |
|
259 |
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
|
260 |
* Thu Nov 18 2004 - [email protected] |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
261 |
- #5081827 - required SUNWgnome-dtlogin-integration to run |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
262 |
/usr/dt/config/Xsession.jds in gnome session |
4593 | 263 |
* Wed Nov 17 2004 - [email protected] |
264 |
- #6195852 - Fix manpage directory installed (stopper) |
|
4558 | 265 |
* Sat Nov 13 2004 - [email protected] |
266 |
- include gdm.conf in the "preserve" class, fixes 5101934 |
|
267 |
Note: requires pkgbuild-0.8.2 (CBE 0.18) |
|
4537 | 268 |
* Fri Nov 12 2004 - [email protected] |
269 |
- Revised files section |
|
4122 | 270 |
* Sat Oct 02 2004 - [email protected] |
271 |
- added %pkgbuild_postprocess |
|
3837
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]> |
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
273 |
- 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
|
274 |
* Thu Sep 02 2004 <[email protected]> |
3829 | 275 |
- Added gdm manpages for solaris |
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]> |
3433 | 277 |
- 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
|
278 |
* Tue Jul 27 2004 <[email protected]> |
3430 | 279 |
- Remove the flexiserver .desktop items. Need to have a |
280 |
look to see if the flexiserver binary stuff should be |
|
281 |
include as well or not. Part fix for #5043894. |
|
3416 | 282 |
* Fri Jul 23 2004 <[email protected]> |
283 |
- Now include /var/lib/gdm and /var/lib/log/gdm in the |
|
284 |
package so that gdm can run out-of-the-box. |
|
3222 | 285 |
* Sun Jun 27 2004 [email protected] |
286 |
- Changed install location to /usr/... |
|
2995 | 287 |
* Wed Jun 2 2004 - [email protected] |
288 |
- Added %{_datadir}/locale to install l10n messages |
|
2094 | 289 |
* Mon Mar 01 2004 - <[email protected]> |
290 |
- define PERL5LIB. |
|
291 |
- add share and root subpkgs |