]> git.pld-linux.org Git - packages/gdm2.20.git/blob - gdm2.20.spec
- some updates, config is back in /etc/X11, added one thing to TODO, release 0.9
[packages/gdm2.20.git] / gdm2.20.spec
1 # TODO:
2 # /etc/X11/dm dir should belong to XFree? I is common for KDE and GNOME
3 # s=/dev/null=/home/services/xdm= in %%trigger for gracefull upgrade from xdm/kdm/gdm 2.2
4 # check /etc/pam.d/gdm-autologin
5 #
6
7 Summary:        GNOME Display Manager
8 Summary(es):    Administrador de Entrada del GNOME
9 Summary(ja):    GNOME ¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã
10 Summary(pl):    gdm - zarz±dca ekranów GNOME
11 Summary(pt_BR): Gerenciador de Entrada do GNOME
12 Summary(ru):    äÉÓÐÌÅÊÎÙÊ ÍÅÎÅÄÖÅÒ GNOME
13 Summary(uk):    äÉÓÐÌÅÊÎÉÊ ÍÅÎÅÄÖÅÒ GNOME
14 Name:           gdm
15 Version:        2.4.2.95
16 Release:        0.9
17 Epoch:          1
18 License:        GPL/LGPL
19 Group:          X11/Applications
20 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
21 # Source0-md5:  83190cb663db4168a19032a9adf205fc
22 Source1:        %{name}.pamd
23 Source2:        %{name}.init
24 Source3:        %{name}-pld-logo.png
25 Patch0:         %{name}-xdmcp.patch
26 Patch1:         %{name}-conf.patch
27 BuildRequires:  autoconf
28 BuildRequires:  automake
29 BuildRequires:  gettext-devel
30 BuildRequires:  gtk+2-devel >= 2.0.6
31 BuildRequires:  intltool >= 0.22
32 BuildRequires:  libglade2-devel >= 2.0.1
33 BuildRequires:  libgnomecanvas-devel >= 2.0.3
34 BuildRequires:  libgnome-devel >= 2.0.6
35 BuildRequires:  libgnomeui-devel >= 2.0.4
36 BuildRequires:  librsvg-devel >= 2.0.1
37 BuildRequires:  libtool
38 BuildRequires:  libxml2-devel >= 2.4.24
39 BuildRequires:  pam-devel
40 BuildRequires:  perl-modules
41 BuildRequires:  scrollkeeper >= 0.3.11
42 Requires:       libgnome >= 2.1.0-3
43 Requires:       which
44 Requires:       sessreg
45 Requires(pre): /bin/id
46 Requires(pre): /usr/sbin/groupadd
47 Requires(pre): /usr/sbin/useradd
48 Requires(postun):      /usr/sbin/userdel
49 Requires(postun):      /usr/sbin/groupdel
50 Requires(post,postun):scrollkeeper
51 Requires(post,preun):/sbin/chkconfig
52 Conflicts:      gdkxft
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Obsoletes:      xdm kdm wdm
55
56 %define         _sysconfdir     /etc/X11
57 %define         _localstatedir  /var/lib
58
59 %description
60 Gdm (the GNOME Display Manager) is a highly configurable
61 reimplementation of xdm, the X Display Manager. Gdm allows you to log
62 into your system with the X Window System running and supports running
63 several different X sessions on your local machine at the same time.
64
65 %description -l es
66 Administrador de Entrada del GNOME.
67
68 %description -l ja
69 Gdm (the GNOME Display Manager) ¤Ï¡¢¹âÅÙ¤ËÀßÄê²Äǽ¤Ê xdm X Display
70 Manager ¤ÎºÆ¼ÂÁõÈǤǤ¹¡£ Gdm ¤ò»È¤¦¤È¡¢ X Window System
71 ¤¬Æ°¤¤¤Æ¤¤¤ë¤¢¤Ê¤¿¤Î
72 ¥·¥¹¥Æ¥à¤Ë¤¤¤í¤¤¤í¤Ê¥»¥Ã¥·¥ç¥ó¤òÁªÂò¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
73
74 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Gdm ¤Ç¤Ï¡¢³Æ¼ï¸À¸ì¤ä¡¢XIM ¤òÁªÂò¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
75
76 %description -l pl
77 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
78 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
79 ró¿nych sesji X na lokalnej maszynie.
80
81 %description -l pt_BR
82 Gerenciador de Entrada do GNOME.
83
84 %description -l ru
85 GDM (GNOME Display Manager) - ÜÔÏ ÒÅÉÍÐÌÅÍÅÎÔÁÃÉÑ xdm (X Display
86 Manager). GDM ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ×ÈÏÄÉÔØ × ÓÉÓÔÅÍÕ, ÎÁ ËÏÔÏÒÏÊ ÚÁÐÕÝÅÎÏ X
87 Window É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÁÂÏÔÕ ÎÅÓËÏÌØÕÉÈ ÒÁÚÎÙÈ X ÓÅÁÎÓÏ× ÏÄÎÏ×ÒÅÍÅÎÎÏ.
88
89 %description -l uk
90 GDM (GNOME Display Manager) - ÃÅ ÒŦÍÐÌÅÍÅÎÔÁæѠxdm (X Display
91 Manager). GDM ÄÏÚ×ÏÌѤ ×ÁÍ ×ÈÏÄÉÔÉ × ÓÉÓÔÅÍÕ, ÎÁ Ñ˦ʠÚÁÐÕÝÅÎÏ X
92 Window ÔÁ Ð¦ÄÔÒÉÍÕ¤ ÒÏÂÏÔՠ˦ÌØËÏÈ Ò¦ÚÎÉÈ X ÓÅÁÎӦנÏÄÎÏÞÁÓÎÏ.
93
94 %package Xnest
95 Summary:        Xnest (ie embedded X) server for GDM
96 Summary(pl):    Serwer Xnest dla GDM
97 Group:          X11/Applications
98 Requires:       %{name} = %{version}
99 Requires:       XFree86-Xnest
100
101 %description Xnest
102 This package add support for Xnest server in gdm.
103
104 %description Xnest -l pl
105 Ten pakiet dodaje do gdm wsparcie dla Xnest.
106
107 %package init
108 Summary:        Init script for GDM
109 Summary(pl):    Skrypt init dla GDM-a
110 Group:          X11/Applications
111 Requires:       %{name} = %{version}
112 Requires:       open
113
114 %description init
115 Init script for GDM.
116
117 %description init -l pl
118 Skrypt init dla GDM-a.
119
120 %prep
121 %setup -q
122 %patch0 -p1
123 %patch1 -p1
124
125 %build
126 rm -f missing
127 %{__libtoolize}
128 glib-gettextize --copy --force
129 %{__aclocal}
130 %{__autoconf}
131 %{__automake}
132 %configure \
133         --with-xinerama=yes \
134         --with-xdmcp=yes \
135         --with-pam-prefix=/etc \
136         --with-tcp-wrappers=yes \
137         --enable-authentication-scheme=pam \
138         --disable-console-helper
139
140 %{__make}
141
142 %install
143 rm -rf $RPM_BUILD_ROOT
144 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security} \
145         $RPM_BUILD_ROOT/home/services/xdm
146
147 %{__make} install \
148         DESTDIR=$RPM_BUILD_ROOT \
149         PAM_PREFIX=/etc
150
151 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
152 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
153
154 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
155
156 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
157
158 %find_lang %{name} --all-name --with-gnome
159
160 # Remove useless files
161 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{la,a}
162
163 %clean
164 rm -rf $RPM_BUILD_ROOT
165
166 %pre
167 /usr/sbin/groupadd -g 55 -r -f xdm
168
169 if [ -z "`id -u xdm 2>/dev/null`" ]; then
170        /usr/sbin/useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
171 fi
172
173 %post
174 /usr/bin/scrollkeeper-update
175
176 %postun
177 /usr/bin/scrollkeeper-update
178 if [ "$1" = "0" ]; then
179        if [ -n "`id -u xdm 2>/dev/null`" ]; then
180                /usr/sbin/userdel xdm
181        fi
182        /usr/sbin/groupdel xdm
183 fi
184
185 %post init
186 /sbin/chkconfig --add gdm
187 if [ -f /var/lock/subsys/gdm ]; then
188         echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
189 else
190         echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
191 fi
192
193 %preun init
194 if [ "$1" = "0" ]; then
195         if [ -f /var/lock/subsys/gdm ]; then
196                 /etc/rc.d/init.d/gdm stop >&2
197         fi
198         /sbin/chkconfig --del gdm
199 fi
200
201 %files -f %{name}.lang
202 %defattr(644,root,root,755)
203 %doc AUTHORS ChangeLog NEWS README TODO
204 %attr(755,root,root) %{_bindir}/gdm
205 %attr(755,root,root) %{_bindir}/gdm-binary
206 %attr(755,root,root) %{_bindir}/gdmchooser
207 %attr(755,root,root) %{_bindir}/gdmflexiserver
208 %attr(755,root,root) %{_bindir}/gdmgreeter
209 %attr(755,root,root) %{_bindir}/gdmlogin
210 %attr(755,root,root) %{_bindir}/gdmphotosetup
211 %attr(755,root,root) %{_bindir}/gdmsetup
212 %attr(755,root,root) %{_bindir}/gdmthemetester
213 %attr(755,root,root) %{_libdir}/gdmaskpass
214 %attr(755,root,root) %{_libdir}/gdmopen
215 %attr(755,root,root) %{_sbindir}/*
216 %dir %{_sysconfdir}/gdm
217 %dir %{_sysconfdir}/gdm/modules
218 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
219 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
220 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
221 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
222 %attr(755,root,root) %config %{_sysconfdir}/gdm/Xsession
223 %config %{_sysconfdir}/gdm/factory-gdm.conf
224 %config %{_sysconfdir}/gdm/PostLogin/Default.sample
225 %config %{_sysconfdir}/gdm/modules/*
226 %{_sysconfdir}/dm/Sessions/*.desktop
227
228 %config(noreplace)  %verify(not size mtime md5) %{_sysconfdir}/gdm/gdm.conf
229 %config %{_sysconfdir}/gdm/locale.alias
230 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm*
231 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
232 %attr(750,xdm,xdm) /var/lib/gdm
233 %attr(750,xdm,xdm) /home/services/xdm
234 %{_pixmapsdir}/*
235 %{_datadir}/applications/gdmsetup.desktop
236 %{_datadir}/applications/gdmflexiserver.desktop
237 %{_datadir}/gnome/capplets/*
238 %{_datadir}/gdm
239 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
240
241 %files Xnest
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_bindir}/gdmXnestchooser
244 %{_datadir}/applications/gdmflexiserver-xnest.desktop
245
246 %files init
247 %defattr(644,root,root,755)
248 %attr(754,root,root) /etc/rc.d/init.d/gdm
This page took 0.093912 seconds and 4 git commands to generate.