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