1 Summary: Enlightened display manager
2 Summary(pl): O¶wiecony zarz±dca ekranu
7 Group: X11/Applications
8 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5: 48d8999a5be31e4b089e0faf40bf9fd9
11 Source2: %{name}.Xsession
12 Source3: %{name}.gen-conf
13 Patch0: %{name}-conf.in.patch
14 URL: http://enlightenment.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: esmart-devel
18 BuildRequires: libtool
19 BuildRequires: pam-devel
20 BuildRequires: sed >= 4.0
22 Requires(post,preun): /sbin/chkconfig
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Entrance is the Enlightenment Display Manager. And like Enlightenment,
35 it takes beauty and customization to levels that KDM and GDM can only
36 dream about... and without the bloat.
39 Entrance to zarz±dca ekranu (Display Manager) dla Enlightenmenta.
40 Podobnie jak Enlightenment ma piêkno i mo¿liwo¶ci konfiguracji, o
41 jakich KDM czy GDM mog± tylko pomarzyæ... i to bez narzutu.
47 sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \
49 sed -n '/xsession="You should reconfigure --with-xsession"/!p' \
51 sed 's|/bin/sh|/bin/bash|g' \
52 -i src/daemon/spawner.c
61 --with-xsession=%{_sysconfdir}/X11/%{name}/Xsession
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/X11/%{name},/etc/rc.d/init.d,%{_var}/lib/%{name}}
71 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/entrance
72 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/Xsession
74 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/generate-config
75 install data/config/build_config.sh.in \
76 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/
77 touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.db
80 rm -rf $RPM_BUILD_ROOT
83 /sbin/chkconfig --add entrance
84 if [ -f /var/lock/subsys/entrance ]; then
85 echo "Run \"/etc/rc.d/init.d/entrance restart\" to restart entrance." >&2
87 echo "Run \"/etc/rc.d/init.d/entrance start\" to start entrance." >&2
91 if [ "$1" = "0" ]; then
92 if [ -f /var/lock/subsys/entrance ]; then
93 /etc/rc.d/init.d/entrance stop >&2
95 /sbin/chkconfig --del entrance
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING* README
101 %attr(754,root,root) /etc/rc.d/init.d/entrance
102 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/entrance
103 %attr(755,root,root) %{_bindir}/entrance*
104 %attr(755,root,root) %{_sbindir}/entranced
106 %dir %{_sysconfdir}/X11/%{name}
107 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/Xsession
108 %attr(755,root,root) %{_sysconfdir}/X11/%{name}/generate-config
109 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/build_config.sh.in
110 %dir %{_var}/lib/%{name}
111 %ghost %{_var}/lib/%{name}/entrance_config.db