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