]>
Commit | Line | Data |
---|---|---|
0fb756ff | 1 | # |
98b48f20 | 2 | # TODO: |
157d4449 MB |
3 | # - s=/dev/null=/home/services/xdm= in %%trigger for graceful upgrade from xdm/kdm/gdm 2.2 |
4 | # - check /etc/pam.d/gdm-autologin | |
98b48f20 | 5 | # |
69927793 AG |
6 | # Conditiional build: |
7 | %bcond_without selinux # without selinux | |
e6e34130 | 8 | |
066398c3 | 9 | Summary: GNOME Display Manager |
82455104 ER |
10 | Summary(es.UTF-8): Administrador de Entrada del GNOME |
11 | Summary(ja.UTF-8): GNOME ディスプレイマネージャ | |
12 | Summary(pl.UTF-8): gdm - zarządca ekranów GNOME | |
13 | Summary(pt_BR.UTF-8): Gerenciador de Entrada do GNOME | |
14 | Summary(ru.UTF-8): Дисплейный менеджер GNOME | |
15 | Summary(uk.UTF-8): Дисплейний менеджер GNOME | |
066398c3 | 16 | Name: gdm |
249692d2 | 17 | Version: 3.2.1.1 |
1f612039 | 18 | Release: 8 |
3488434f | 19 | Epoch: 2 |
f6c86ba4 | 20 | License: GPL/LGPL |
42b347d0 | 21 | Group: X11/Applications |
1deeed32 | 22 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gdm/3.2/%{name}-%{version}.tar.xz |
249692d2 | 23 | # Source0-md5: df3f38061066f5e0816676b4eef7854a |
ac5ef200 | 24 | Source1: %{name}.pamd |
25 | Source2: %{name}.init | |
495829ba | 26 | Source3: %{name}-pld-logo.png |
de273fad | 27 | Source4: %{name}-autologin.pamd |
f85eb744 | 28 | Source5: %{name}-custom.desktop |
29 | Source6: %{name}-default.desktop | |
1deeed32 | 30 | Source7: %{name}.upstart |
201c5674 | 31 | Source8: %{name}.service |
ac5ef200 | 32 | Patch0: %{name}-xdmcp.patch |
f2a1103b | 33 | Patch1: %{name}-polkit.patch |
70caaf1f | 34 | Patch2: %{name}-xsession.patch |
b614b4a4 | 35 | Patch3: %{name}-defaults.patch |
f02f5368 | 36 | Patch4: shell-check.patch |
aca127f2 | 37 | URL: http://www.gnome.org/projects/gdm/ |
de273fad | 38 | BuildRequires: GConf2-devel >= 2.32.0 |
2676ea50 | 39 | BuildRequires: accountsservice-devel >= 0.6.12 |
95b777c2 | 40 | BuildRequires: attr-devel |
f2a1103b PZ |
41 | BuildRequires: audit-libs-devel |
42 | BuildRequires: autoconf >= 2.60 | |
de273fad ŁK |
43 | BuildRequires: automake >= 1:1.11 |
44 | BuildRequires: check >= 0.9.4 | |
f2a1103b | 45 | BuildRequires: dbus-glib-devel >= 0.74 |
4f41bf78 | 46 | BuildRequires: docbook-dtd412-xml |
de273fad | 47 | BuildRequires: fontconfig-devel >= 2.5.0 |
116b805d | 48 | BuildRequires: gettext-devel |
de273fad | 49 | BuildRequires: glib2-devel >= 1:2.28.0 |
dfa453a4 | 50 | BuildRequires: gnome-doc-utils |
de273fad | 51 | BuildRequires: gtk+3-devel >= 3.0.0 |
f2a1103b | 52 | BuildRequires: intltool >= 0.40.0 |
4f41bf78 | 53 | BuildRequires: iso-codes |
de273fad | 54 | BuildRequires: libcanberra-gtk3-devel >= 0.4 |
69927793 | 55 | %{?with_selinux:BuildRequires: libselinux-devel} |
683a9219 | 56 | BuildRequires: libtool |
de273fad | 57 | BuildRequires: libwrap-devel |
f2a1103b | 58 | BuildRequires: libxklavier-devel >= 4.0-2 |
23f4e9c1 | 59 | BuildRequires: nss-devel >= 3.11.1 |
98b48f20 | 60 | BuildRequires: pam-devel |
de273fad | 61 | BuildRequires: pango-devel >= 1.3.0 |
e038830e | 62 | BuildRequires: perl-modules |
f2a1103b | 63 | BuildRequires: pkgconfig |
23f4e9c1 | 64 | BuildRequires: polkit-devel >= 0.93 |
0df7c395 | 65 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
1f612039 | 66 | BuildRequires: rpmbuild(macros) >= 1.627 |
de273fad | 67 | BuildRequires: scrollkeeper >= 0.1.4 |
b6aa2fd7 | 68 | BuildRequires: tar >= 1:1.22 |
de273fad ŁK |
69 | BuildRequires: upower-devel >= 0.9.0 |
70 | BuildRequires: xorg-lib-libX11-devel | |
71 | BuildRequires: xorg-lib-libXau-devel | |
dc82d2d7 | 72 | BuildRequires: xorg-lib-libXdmcp-devel |
de273fad | 73 | BuildRequires: xorg-lib-libXft-devel |
dc82d2d7 | 74 | BuildRequires: xorg-lib-libXi-devel |
75 | BuildRequires: xorg-lib-libXinerama-devel | |
de273fad | 76 | BuildRequires: xorg-lib-libXrandr-devel |
b6aa2fd7 | 77 | BuildRequires: xz |
f85eb744 | 78 | Requires(post,postun): /usr/bin/scrollkeeper-update |
459deb1e | 79 | Requires(post,postun): gtk-update-icon-cache |
b614b4a4 | 80 | Requires(post,preun): GConf2 |
83594792 ER |
81 | Requires(postun): /usr/sbin/groupdel |
82 | Requires(postun): /usr/sbin/userdel | |
26288641 JB |
83 | Requires(pre): /bin/id |
84 | Requires(pre): /usr/sbin/groupadd | |
85 | Requires(pre): /usr/sbin/useradd | |
903f486b | 86 | Requires(posttrans): dconf |
fa7436ec | 87 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
6954d666 | 88 | Requires: /usr/bin/X |
6ced006b | 89 | Requires: ConsoleKit-x11 >= 0.4.1 |
2676ea50 | 90 | Requires: accountsservice >= 0.6.12 |
4429cfb0 | 91 | Requires: dbus-x11 |
0e7e2757 | 92 | Requires: gdm-wm >= 3.2.1 |
de273fad ŁK |
93 | Requires: gnome-session >= 2.91.91.1 |
94 | Requires: gnome-settings-daemon >= 2.91.91 | |
95 | Requires: hicolor-icon-theme | |
bba08ce8 | 96 | Requires: pam >= 0.99.7.1 |
b614b4a4 | 97 | Requires: polkit-gnome >= 0.93 |
6beee835 | 98 | Requires: which |
2004c339 | 99 | Requires: xorg-app-sessreg |
f2a1103b | 100 | Requires: xorg-app-xmodmap |
0e7e2757 | 101 | Suggests: pam-pam_gnome_keyring |
f85eb744 | 102 | Suggests: zenity |
048e8543 | 103 | Provides: XDM |
5387309f | 104 | Provides: group(xdm) |
105 | Provides: user(xdm) | |
f2a1103b | 106 | Obsoletes: gdm-Xnest |
935bde0d MB |
107 | Obsoletes: gdm-user-switch-applet |
108 | Obsoletes: gnome-applet-fast-user-switch | |
98b48f20 | 109 | Conflicts: gdkxft |
75fd7992 | 110 | # sr@Latn vs. sr@latin |
111 | Conflicts: glibc-misc < 6:2.7 | |
ac5ef200 | 112 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
066398c3 | 113 | |
84e15ca6 TP |
114 | %description |
115 | Gdm (the GNOME Display Manager) is a highly configurable | |
116 | reimplementation of xdm, the X Display Manager. Gdm allows you to log | |
117 | into your system with the X Window System running and supports running | |
118 | several different X sessions on your local machine at the same time. | |
b9713681 | 119 | |
25351dc6 | 120 | %description -l es.UTF-8 |
116b805d | 121 | Administrador de Entrada del GNOME. |
122 | ||
25351dc6 | 123 | %description -l ja.UTF-8 |
de273fad ŁK |
124 | Gdm (the GNOME Display Manager) は、高度に設定可能な xdm X Display Manager |
125 | の再実装版です。 Gdm を使うと、 X Window System が動いているあなたの | |
25351dc6 | 126 | システムにいろいろなセッションを選択してログインすることができます。 |
24b65b9a | 127 | |
25351dc6 | 128 | このバージョンの Gdm では、各種言語や、XIM を選択することも可能です。 |
24b65b9a | 129 | |
25351dc6 JR |
130 | %description -l pl.UTF-8 |
131 | Gdm jest wysokokonfigurowalną reimplementacją xdma. Gdm pozwala | |
132 | logować się do systemu z poziomu X11 i wspiera jednoczesną pracę kilku | |
133 | różnych sesji X na lokalnej maszynie. | |
f6d3e03e | 134 | |
25351dc6 | 135 | %description -l pt_BR.UTF-8 |
116b805d | 136 | Gerenciador de Entrada do GNOME. |
137 | ||
25351dc6 JR |
138 | %description -l ru.UTF-8 |
139 | GDM (GNOME Display Manager) - это реимплементация xdm (X Display | |
140 | Manager). GDM позволяет вам входить в систему, на которой запущено X | |
141 | Window и поддерживает работу нескольуих разных X сеансов одновременно. | |
24b65b9a | 142 | |
25351dc6 JR |
143 | %description -l uk.UTF-8 |
144 | GDM (GNOME Display Manager) - це реімплементація xdm (X Display | |
145 | Manager). GDM дозволяє вам входити в систему, на якій запущено X | |
146 | Window та підтримує роботу кількох різних X сеансів одночасно. | |
24b65b9a | 147 | |
9813a180 ŁK |
148 | %package libs |
149 | Summary: GDM libraries | |
150 | Summary(pl.UTF-8): Biblioteki GDM | |
151 | Group: Libraries | |
152 | ||
153 | %description libs | |
154 | GDM libraries. | |
155 | ||
156 | %description libs -l pl.UTF-8 | |
157 | Biblioteki GDM. | |
158 | ||
1deeed32 ŁK |
159 | %package devel |
160 | Summary: Header files for GDM | |
161 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja | |
162 | Group: X11/Development/Libraries | |
fa7436ec | 163 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
1deeed32 ŁK |
164 | |
165 | %description devel | |
166 | This package contains the files necessary to develop applications | |
167 | using GDM's libraries. | |
168 | ||
169 | %description devel -l pl.UTF-8 | |
170 | Pakiet zawiera pliki potrzebne do rozwoju aplikacji używających | |
171 | bibliotek programu GDM. | |
172 | ||
173 | %package static | |
174 | Summary: Static libraries for GDM | |
175 | Summary(pl.UTF-8): Biblioteki statyczne dla GDM | |
176 | Group: X11/Development/Libraries | |
fa7436ec | 177 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
1deeed32 ŁK |
178 | |
179 | %description static | |
180 | This package contains static libraries for GDM. | |
181 | ||
182 | %description static -l pl.UTF-8 | |
183 | Pakiet zawiera statyczne biblioteki GDM. | |
184 | ||
98b48f20 | 185 | %package init |
186 | Summary: Init script for GDM | |
82455104 | 187 | Summary(pl.UTF-8): Skrypt init dla GDM-a |
98b48f20 | 188 | Group: X11/Applications |
83594792 | 189 | Requires(post,preun): /sbin/chkconfig |
c00e1fa1 | 190 | Requires: %{name} = %{epoch}:%{version}-%{release} |
dd72a121 | 191 | Requires: open |
e6e34130 | 192 | Requires: rc-scripts >= 0.4.3.0 |
98b48f20 | 193 | |
194 | %description init | |
195 | Init script for GDM. | |
196 | ||
25351dc6 | 197 | %description init -l pl.UTF-8 |
98b48f20 | 198 | Skrypt init dla GDM-a. |
199 | ||
7531806a ŁK |
200 | %package upstart |
201 | Summary: Upstart job description for GDM | |
202 | Summary(pl.UTF-8): Opis zadania Upstart dla GDM | |
203 | Group: Daemons | |
204 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
205 | Requires: upstart >= 0.6 | |
206 | ||
207 | %description upstart | |
208 | Upstart job description for GDM. | |
209 | ||
210 | %description upstart -l pl.UTF-8 | |
211 | Opis zadania Upstart dla GDM. | |
212 | ||
201c5674 AF |
213 | %package systemd |
214 | Summary: systemd unit for GDM | |
215 | Group: Daemons | |
216 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
201c5674 | 217 | Requires: accountsservice-systemd |
436ad2dd | 218 | Requires: systemd-units >= 37-0.10 |
201c5674 AF |
219 | |
220 | %description systemd | |
221 | systemd unit for GDM | |
222 | ||
b9713681 | 223 | %prep |
f2a1103b | 224 | %setup -q |
116b805d | 225 | %patch0 -p1 |
3488434f | 226 | %patch1 -p1 |
70caaf1f | 227 | %patch2 -p1 |
b614b4a4 | 228 | %patch3 -p1 |
f02f5368 | 229 | %patch4 -p1 |
3488434f | 230 | |
b9713681 | 231 | %build |
de273fad | 232 | touch data/gdm.schemas.in.in |
c0747f8c | 233 | %{__libtoolize} |
04029a9e | 234 | %{__glib_gettextize} |
235 | %{__intltoolize} | |
98b48f20 | 236 | %{__aclocal} |
f2a1103b | 237 | %{__autoheader} |
46b6432e | 238 | %{__autoconf} |
239 | %{__automake} | |
116b805d | 240 | %configure \ |
dc82d2d7 | 241 | --disable-console-helper \ |
242 | --disable-scrollkeeper \ | |
b614b4a4 | 243 | --disable-silent-rules \ |
69c827a2 | 244 | --with-console-kit \ |
dc82d2d7 | 245 | --enable-authentication-scheme=pam \ |
98b48f20 | 246 | --with-pam-prefix=/etc \ |
116b805d | 247 | --with-tcp-wrappers=yes \ |
dc82d2d7 | 248 | --with%{!?with_selinux:out}-selinux \ |
249 | --with-xdmcp=yes \ | |
f2a1103b PZ |
250 | --with-xinerama=yes \ |
251 | --with-user=xdm \ | |
252 | --with-group=xdm | |
ac5ef200 | 253 | |
7f6bd484 | 254 | %{__make} |
b9713681 | 255 | |
256 | %install | |
257 | rm -rf $RPM_BUILD_ROOT | |
76ae213a | 258 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security,init} \ |
48915507 | 259 | $RPM_BUILD_ROOT{/home/services/xdm,/var/log/gdm} \ |
201c5674 | 260 | $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{systemdunitdir}} |
f6d3e03e | 261 | |
116b805d | 262 | %{__make} install \ |
263 | DESTDIR=$RPM_BUILD_ROOT \ | |
b757933d | 264 | PAM_PREFIX=/etc |
066398c3 | 265 | |
76ae213a | 266 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm |
0e7e2757 | 267 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm-password |
76ae213a ER |
268 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/gdm-autologin |
269 | install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm | |
270 | cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf | |
271 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir} | |
201c5674 | 272 | cp -p %{SOURCE8} $RPM_BUILD_ROOT%{systemdunitdir}/gdm.service |
066398c3 JR |
273 | touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm |
274 | ||
aca127f2 | 275 | %find_lang %{name} --with-gnome --with-omf --all-name |
b9713681 | 276 | |
f85eb744 | 277 | # allow executing ~/.Xclients and ~/.xsession |
76ae213a ER |
278 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/xsessions/custom.desktop |
279 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/default.desktop | |
c00e1fa1 | 280 | |
1deeed32 ŁK |
281 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gdm/simple-greeter/extensions/*.{a,la} \ |
282 | $RPM_BUILD_ROOT%{_libdir}/*.la | |
283 | ||
dc63666f JB |
284 | %clean |
285 | rm -rf $RPM_BUILD_ROOT | |
286 | ||
7d69ec85 | 287 | %posttrans |
903f486b | 288 | umask 022 |
7d69ec85 MB |
289 | /usr/bin/dconf update |
290 | ||
f7e4906b | 291 | %pre |
b32b0eb5 | 292 | %groupadd -g 55 -r -f xdm |
0fb756ff | 293 | %useradd -u 55 -r -d /home/services/xdm -s /bin/false -c "X Display Manager" -g xdm xdm |
f7e4906b | 294 | |
e7d75b7d | 295 | %post |
1deeed32 | 296 | %glib_compile_schemas |
f2a1103b | 297 | %gconf_schema_install gdm-simple-greeter.schemas |
04029a9e | 298 | %scrollkeeper_update_post |
831056d7 | 299 | %update_icon_cache hicolor |
e7d75b7d | 300 | |
f2a1103b PZ |
301 | %preun |
302 | %gconf_schema_uninstall gdm-simple-greeter.schemas | |
303 | ||
98b48f20 | 304 | %postun |
04029a9e | 305 | %scrollkeeper_update_postun |
831056d7 | 306 | %update_icon_cache hicolor |
3b98aff6 | 307 | |
f7e4906b | 308 | if [ "$1" = "0" ]; then |
1deeed32 | 309 | %glib_compile_schemas |
5387309f | 310 | %userremove xdm |
311 | %groupremove xdm | |
f7e4906b | 312 | fi |
98b48f20 | 313 | |
dc82d2d7 | 314 | %triggerpostun -- %{name} < 1:2.13.0.8-1 |
315 | if [ -f /etc/X11/gdm/gdm.conf-custom.rpmsave ]; then | |
76ae213a | 316 | mv /etc/X11/gdm/gdm.conf-custom.rpmsave /etc/gdm/custom.conf |
dc82d2d7 | 317 | fi |
318 | ||
98b48f20 | 319 | %post init |
7943107a | 320 | /sbin/chkconfig --add gdm |
76ae213a ER |
321 | # -n skips restarting as it would otherise terminate all sessions opened from gdm! |
322 | %service -n gdm restart | |
93384147 | 323 | |
98b48f20 | 324 | %preun init |
dc63666f | 325 | if [ "$1" = "0" ]; then |
0fb756ff | 326 | %service gdm stop |
dc63666f | 327 | /sbin/chkconfig --del gdm |
7943107a | 328 | fi |
f6d3e03e | 329 | |
4dab4991 ŁK |
330 | %post libs -p /sbin/ldconfig |
331 | %postun libs -p /sbin/ldconfig | |
332 | ||
201c5674 | 333 | %post systemd |
1f612039 | 334 | NORESTART=1 |
436ad2dd | 335 | %systemd_post gdm.service |
201c5674 AF |
336 | |
337 | %preun systemd | |
338 | %systemd_preun gdm.service | |
339 | ||
340 | %postun systemd | |
436ad2dd | 341 | %systemd_reload |
201c5674 | 342 | |
12f50676 | 343 | %files -f %{name}.lang |
066398c3 | 344 | %defattr(644,root,root,755) |
a35babae | 345 | %doc AUTHORS ChangeLog NEWS README TODO |
de273fad ŁK |
346 | %attr(755,root,root) %{_sbindir}/gdm |
347 | %attr(755,root,root) %{_sbindir}/gdm-binary | |
348 | %attr(755,root,root) %{_bindir}/gdm-screenshot | |
349 | %attr(755,root,root) %{_bindir}/gdmflexiserver | |
1deeed32 ŁK |
350 | %dir %{_libdir}/gdm |
351 | %dir %{_libdir}/gdm/simple-greeter | |
352 | %dir %{_libdir}/gdm/simple-greeter/extensions | |
353 | %attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libfingerprint.so | |
354 | %attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libpassword.so | |
355 | %attr(755,root,root) %{_libdir}/gdm/simple-greeter/extensions/libsmartcard.so | |
f2a1103b PZ |
356 | %attr(755,root,root) %{_libexecdir}/gdm-crash-logger |
357 | %attr(755,root,root) %{_libexecdir}/gdm-factory-slave | |
358 | %attr(755,root,root) %{_libexecdir}/gdm-host-chooser | |
359 | %attr(755,root,root) %{_libexecdir}/gdm-product-slave | |
360 | %attr(755,root,root) %{_libexecdir}/gdm-session-worker | |
361 | %attr(755,root,root) %{_libexecdir}/gdm-simple-chooser | |
362 | %attr(755,root,root) %{_libexecdir}/gdm-simple-greeter | |
363 | %attr(755,root,root) %{_libexecdir}/gdm-simple-slave | |
f2a1103b | 364 | %attr(755,root,root) %{_libexecdir}/gdm-xdmcp-chooser-slave |
1deeed32 | 365 | %attr(755,root,root) %{_libexecdir}/gdm-smartcard-worker |
98b48f20 | 366 | %dir %{_sysconfdir}/gdm |
f2a1103b PZ |
367 | %dir %{_sysconfdir}/gdm/Init |
368 | %attr(755,root,root) %config %{_sysconfdir}/gdm/Init/Default | |
116b805d | 369 | %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession |
116b805d | 370 | %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession |
518f8c4c | 371 | %attr(755,root,root) %config %{_sysconfdir}/gdm/Xsession |
f2a1103b | 372 | %dir %{_sysconfdir}/gdm/PostLogin |
518f8c4c | 373 | %config %{_sysconfdir}/gdm/PostLogin/Default.sample |
f2a1103b | 374 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gdm/custom.conf |
f2a1103b | 375 | %{_sysconfdir}/gconf/schemas/gdm-simple-greeter.schemas |
f85eb744 | 376 | %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/* |
711a64ba ER |
377 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/gdm* |
378 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.gdm | |
249692d2 | 379 | %{_sysconfdir}/dconf/db/gdm.d |
de273fad ŁK |
380 | %{_sysconfdir}/dconf/profile/gdm |
381 | %attr(1755,root,xdm) %dir /var/cache/gdm | |
382 | %attr(1770,root,xdm) %dir /var/gdm | |
de4bad9d | 383 | %attr(1770,root,xdm) %dir /var/lib/gdm |
de273fad ŁK |
384 | %dir /var/lib/gdm/.config |
385 | %attr(755,xdm,xdm) %dir /var/lib/gdm/.config/dconf | |
de4bad9d JB |
386 | %attr(1750,root,xdm) %dir /var/lib/gdm/.gconf.mandatory |
387 | %attr(1640,root,xdm) /var/lib/gdm/.gconf.mandatory/*.xml | |
388 | %attr(644,root,xdm) /var/lib/gdm/.gconf.path | |
8eb31fdc | 389 | %attr(755,xdm,xdm) /var/lib/gdm/.local |
de273fad ŁK |
390 | %attr(750,xdm,xdm) %dir /var/log/gdm |
391 | %attr(711,root,xdm) %dir /var/run/gdm | |
392 | %attr(755,xdm,xdm) %dir /var/run/gdm/greeter | |
98b48f20 | 393 | %attr(750,xdm,xdm) /home/services/xdm |
006e3362 | 394 | %{_pixmapsdir}/* |
12f50676 | 395 | %{_datadir}/gdm |
f2a1103b | 396 | %{_datadir}/polkit-1/actions/gdm.policy |
1deeed32 ŁK |
397 | %{_datadir}/gnome-session/sessions/gdm-fallback.session |
398 | %{_datadir}/gnome-session/sessions/gdm-shell.session | |
f85eb744 | 399 | %{_datadir}/xsessions/custom.desktop |
400 | %{_datadir}/xsessions/default.desktop | |
c61959bc | 401 | %{_iconsdir}/hicolor/*/apps/*.png |
1deeed32 ŁK |
402 | %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml |
403 | ||
9813a180 ŁK |
404 | %files libs |
405 | %defattr(644,root,root,755) | |
406 | %attr(755,root,root) %{_libdir}/libgdmgreeter.so.1.0.0 | |
407 | %attr(755,root,root) %ghost %{_libdir}/libgdmgreeter.so.1 | |
408 | %attr(755,root,root) %{_libdir}/libgdmsimplegreeter.so.1.0.0 | |
409 | %attr(755,root,root) %ghost %{_libdir}/libgdmsimplegreeter.so.1 | |
410 | %{_libdir}/girepository-1.0/GdmGreeter-1.0.typelib | |
411 | ||
1deeed32 ŁK |
412 | %files devel |
413 | %defattr(644,root,root,755) | |
7531806a | 414 | %dir %{_includedir}/gdm |
9eee8796 | 415 | %dir %{_includedir}/gdm/greeter |
1deeed32 ŁK |
416 | %{_includedir}/gdm/greeter/gdm-greeter-client.h |
417 | %{_includedir}/gdm/greeter/gdm-greeter-sessions.h | |
9eee8796 | 418 | %dir %{_includedir}/gdm/simple-greeter |
1deeed32 ŁK |
419 | %{_includedir}/gdm/simple-greeter/gdm-login-extension.h |
420 | %{_pkgconfigdir}/gdmgreeter.pc | |
421 | %{_pkgconfigdir}/gdmsimplegreeter.pc | |
422 | %{_libdir}/libgdmgreeter.so | |
423 | %{_libdir}/libgdmsimplegreeter.so | |
424 | %{_datadir}/gir-1.0/GdmGreeter-1.0.gir | |
425 | ||
426 | %files static | |
427 | %defattr(644,root,root,755) | |
428 | %{_libdir}/libgdmgreeter.a | |
429 | %{_libdir}/libgdmsimplegreeter.a | |
98b48f20 | 430 | |
431 | %files init | |
432 | %defattr(644,root,root,755) | |
433 | %attr(754,root,root) /etc/rc.d/init.d/gdm | |
7531806a ŁK |
434 | |
435 | %files upstart | |
436 | %defattr(644,root,root,755) | |
76ae213a | 437 | %config(noreplace) %verify(not md5 mtime size) /etc/init/%{name}.conf |
201c5674 AF |
438 | |
439 | %files systemd | |
440 | %defattr(644,root,root,755) | |
441 | %{systemdunitdir}/gdm.service |