author | laca |
Thu, 15 Sep 2005 22:07:36 +0000 | |
changeset 5867 | 0f4a08f89715 |
parent 5859 | da89f4e343b9 |
child 5868 | 3a580e3fe857 |
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 |
|
2487 | 38 |
BuildRequires: SUNWgnome-javahelp-convert |
5518 | 39 |
BuildRequires: SUNWlibrsvg-devel |
2073 | 40 |
Requires: SUNWgnome-base-libs |
41 |
Requires: SUNWgnome-libs |
|
2094 | 42 |
Requires: SUNWgnome-display-mgr-share |
43 |
Requires: SUNWgnome-display-mgr-root |
|
4597
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
44 |
Requires: SUNWgnome-dtlogin-integration |
5518 | 45 |
Requires: SUNWlibrsvg |
2094 | 46 |
|
47 |
%package share |
|
48 |
Summary: GNOME Display Manager - platform independent files, /usr/share |
|
2621 | 49 |
SUNW_BaseDir: %{_basedir} |
2094 | 50 |
%include default-depend.inc |
51 |
||
5030 | 52 |
%package root |
53 |
Summary: GNOME Display Manager - platform dependent files, / filesystem |
|
54 |
SUNW_BaseDir: / |
|
55 |
%include default-depend.inc |
|
56 |
||
2995 | 57 |
%package l10n |
58 |
Summary: %{summary} - l10n files |
|
59 |
SUNW_BaseDir: %{_basedir} |
|
60 |
%include default-depend.inc |
|
61 |
Requires: %{name} |
|
62 |
||
2073 | 63 |
%prep |
64 |
rm -rf %name-%version |
|
65 |
mkdir %name-%version |
|
66 |
%gdm.prep -d %name-%version |
|
2094 | 67 |
chmod -R u+w %{_builddir}/%name-%version/gdm-%{gdm.version} |
2073 | 68 |
|
69 |
%build |
|
3348
26eb685038fa
remove -L%{_libdir} -R%{_libdir} from LDFLAGS, as %{_libdir} is /usr/lib,
dduvall
parents:
3222
diff
changeset
|
70 |
export LDFLAGS="-L/usr/openwin/lib -lXau -R/usr/openwin/lib" |
3184 | 71 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
2073 | 72 |
export MSGFMT="/usr/bin/msgfmt" |
73 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
2094 | 74 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
2073 | 75 |
%gdm.build -d %name-%version |
76 |
||
77 |
%install |
|
2094 | 78 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
2073 | 79 |
%gdm.install -d %name-%version |
3416 | 80 |
install -d $RPM_BUILD_ROOT/var/lib/log/gdm |
81 |
install -d $RPM_BUILD_ROOT/var/lib/gdm |
|
2073 | 82 |
|
4593 | 83 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
84 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
85 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
3829 | 86 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
87 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
88 |
install --mode=0755 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
89 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
90 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
91 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
92 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
93 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
94 |
install --mode=0755 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
95 |
install --mode=0755 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
96 |
install --mode=0755 %SOURCE10 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
97 |
install --mode=0755 %SOURCE11 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
98 |
install --mode=0755 %SOURCE12 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
99 |
install --mode=0755 %SOURCE13 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
100 |
install --mode=0755 %SOURCE14 $RPM_BUILD_ROOT%{_mandir}/sman1m |
|
101 |
||
5518 | 102 |
install -d $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
103 |
install --mode=0644 %SOURCE15 $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login |
|
3927 | 104 |
|
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5518
diff
changeset
|
105 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
4122 | 106 |
|
2073 | 107 |
%clean |
108 |
rm -rf $RPM_BUILD_ROOT |
|
109 |
||
110 |
%files |
|
111 |
%defattr (-, root, other) |
|
2094 | 112 |
%dir %attr (0755, root, bin) %{_bindir} |
113 |
%{_bindir}/* |
|
114 |
%dir %attr (0755, root, bin) %{_sbindir} |
|
115 |
%{_sbindir}/* |
|
116 |
%dir %attr (0755, root, bin) %{_libdir} |
|
117 |
%{_libdir}/gtk-2.0/modules/*.so |
|
5518 | 118 |
%{_libexecdir}/gdm* |
2073 | 119 |
|
2094 | 120 |
%files share |
121 |
%defattr (-, root, other) |
|
122 |
%dir %attr (0755, root, sys) %{_datadir} |
|
3430 | 123 |
%{_datadir}/applications/gdmsetup.desktop |
5518 | 124 |
%{_datadir}/applications/gdmflexiserver.desktop |
3433 | 125 |
%{_datadir}/applications/gdmflexiserver-xnest.desktop |
2094 | 126 |
%{_datadir}/gdm |
127 |
%{_datadir}/gnome/help/gdm/C |
|
2507 | 128 |
%{_datadir}/gnome/javahelp/gdm/C |
5518 | 129 |
%{_datadir}/icons |
2094 | 130 |
%{_datadir}/omf/gdm/*-C.omf |
131 |
%{_datadir}/pixmaps |
|
132 |
%{_datadir}/xsessions |
|
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
133 |
%dir %attr(0755, root, bin) %{_mandir} |
4593 | 134 |
%dir %attr(0755, root, bin) %{_mandir}/sman1 |
135 |
%dir %attr(0755, root, bin) %{_mandir}/sman1m |
|
136 |
%{_mandir}/sman1/* |
|
137 |
%{_mandir}/sman1m/* |
|
2094 | 138 |
|
139 |
%files root |
|
2502 | 140 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
2094 | 141 |
%defattr (-, root, other) |
4560
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
142 |
%dir %{_sysconfdir}/X11 |
82f7a6cd57c4
add /etc/X11 and /etc/X11/gdm to %files to pick up correct attributes
laca
parents:
4558
diff
changeset
|
143 |
%dir %{_sysconfdir}/X11/gdm |
4558 | 144 |
%{_sysconfdir}/X11/gdm/Init |
145 |
%{_sysconfdir}/X11/gdm/Post* |
|
146 |
%{_sysconfdir}/X11/gdm/Pre* |
|
147 |
%{_sysconfdir}/X11/gdm/X* |
|
148 |
%{_sysconfdir}/X11/gdm/factory-gdm.conf |
|
149 |
%class(preserve) %{_sysconfdir}/X11/gdm/gdm.conf |
|
150 |
%{_sysconfdir}/X11/gdm/locale.alias |
|
151 |
%{_sysconfdir}/X11/gdm/modules |
|
3927 | 152 |
%defattr (-, root, sys) |
3943 | 153 |
# don't use %_localstatedir here, because this is an absolute path |
154 |
# defined by another package, so it has to be /var/svc even if this |
|
155 |
# package's %_localstatedir is redefined |
|
156 |
/var/svc/* |
|
3416 | 157 |
%dir %attr (0755, root, sys) /var |
3943 | 158 |
%dir %attr (0755, root, other) %{_localstatedir}/lib |
5031 | 159 |
%dir %attr (1770, root, gdm) %{_localstatedir}/lib/gdm |
3943 | 160 |
%dir %attr (0755, root, other) %{_localstatedir}/lib/log |
161 |
%dir %attr (0700, gdm, gdm) %{_localstatedir}/lib/log/gdm |
|
2094 | 162 |
|
5030 | 163 |
%files l10n |
164 |
%defattr (-, root, other) |
|
165 |
%dir %attr (0755, root, sys) %{_datadir} |
|
166 |
%{_datadir}/locale |
|
167 |
%{_datadir}/gnome/*help/*/[a-z]* |
|
168 |
%{_datadir}/omf/gdm/*-[a-z]*.omf |
|
169 |
||
2094 | 170 |
%changelog |
5518 | 171 |
* Thu Jul 28 2005 - damien.carbery@suncom |
172 |
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency. |
|
173 |
- Wed Jul 13 2005 - [email protected] |
|
174 |
- Updated to 2.8.0.5. Updated SVC (GreenLine) integration. |
|
5031 | 175 |
+ Mon Feb 07 2004 - [email protected] |
176 |
- Fixed permissions on /var/lib/gdm so it doesn't complain on |
|
177 |
reinstall. The gdm binary program changes the ownership and |
|
178 |
permissions of this file on runtime if they aren't set |
|
179 |
properly. This change makes the original permissions set |
|
180 |
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
|
181 |
* Thu Nov 18 2004 - [email protected] |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
182 |
- #5081827 - required SUNWgnome-dtlogin-integration to run |
46f4f13f3997
#5081827 cinnabar-stopper on Solaris. Exec /usr/dt/config/Xsession.jds
tajima
parents:
4593
diff
changeset
|
183 |
/usr/dt/config/Xsession.jds in gnome session |
4593 | 184 |
* Wed Nov 17 2004 - [email protected] |
185 |
- #6195852 - Fix manpage directory installed (stopper) |
|
4558 | 186 |
* Sat Nov 13 2004 - [email protected] |
187 |
- include gdm.conf in the "preserve" class, fixes 5101934 |
|
188 |
Note: requires pkgbuild-0.8.2 (CBE 0.18) |
|
4537 | 189 |
* Fri Nov 12 2004 - [email protected] |
190 |
- Revised files section |
|
4122 | 191 |
* Sat Oct 02 2004 - [email protected] |
192 |
- added %pkgbuild_postprocess |
|
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
193 |
* Thu Sep 02 2004 <[email protected]> |
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
194 |
- 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
|
195 |
* Thu Sep 02 2004 <[email protected]> |
3829 | 196 |
- Added gdm manpages for solaris |
3837
c87713c79eba
* SUNWgnome-display-mgr.spec: Add %dir %attr for mandir and mandir/man1.
dc144907
parents:
3830
diff
changeset
|
197 |
* Tue Jul 27 2004 <[email protected]> |
3433 | 198 |
- 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
|
199 |
* Tue Jul 27 2004 <[email protected]> |
3430 | 200 |
- Remove the flexiserver .desktop items. Need to have a |
201 |
look to see if the flexiserver binary stuff should be |
|
202 |
include as well or not. Part fix for #5043894. |
|
3416 | 203 |
* Fri Jul 23 2004 <[email protected]> |
204 |
- Now include /var/lib/gdm and /var/lib/log/gdm in the |
|
205 |
package so that gdm can run out-of-the-box. |
|
3222 | 206 |
* Sun Jun 27 2004 [email protected] |
207 |
- Changed install location to /usr/... |
|
2995 | 208 |
* Wed Jun 2 2004 - [email protected] |
209 |
- Added %{_datadir}/locale to install l10n messages |
|
2094 | 210 |
* Mon Mar 01 2004 - <[email protected]> |
211 |
- define PERL5LIB. |
|
212 |
- add share and root subpkgs |