%define name entrance %define version 0.9.0.007 %define release 0.%{cvsrel}.4 %define cvsrel 20060323 Summary: Enlightenment login manager Name: %{name} Version: %{version} Release: %mkrel %{release} License: BSD Group: Graphical desktop/Enlightenment URL: http://get-e.org/ Source: %{name}-%{cvsrel}.tar.bz2 Source1: entrance_config_update.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: evas-devel esmart-devel edb-devel BuildRequires: ecore-devel edje-devel edje edb embryo BuildRequires: pam-devel Requires: ecore # drop the following BuildRequires when fixed evas-devel and ecore-devel will be there BuildRequires: ecore evas %description Entrance is the next generation of Elogin, a login/display manager for Linux X11 systems. It is designed to be extremely customizable and aesthetically attractive -- a refreshing relief from the traditional dull and boring interfaces of XDM and its descendants. This package is part of the Enlightenment DR17 desktop shell. %prep %setup -q -n %name %build ./autogen.sh %configure2_5x #this causes interactive build otherwise, anyway we don't want #autodetect.sh, currently tries a free vt (not sure if we need it) #and copies some pam config (ou rpm already does it) perl -pi -e "s|sh data/config/autodetect.sh|#sh data/config/autodetect.sh|" Makefile %make %install rm -rf $RPM_BUILD_ROOT %makeinstall bzcat %SOURCE1 > %buildroot/%_sbindir/entrance_config_update chmod 755 %buildroot/%_sbindir/entrance_config_update # make dm config file mkdir -p %buildroot/%_sysconfdir/X11/dm.d cat << EOF > %buildroot/%_sysconfdir/X11/dm.d/25entrance.conf NAME=E17 DESCRIPTION=ENTRANCE (E17 Display Manager) EXEC=/usr/sbin/entranced PACKAGE=entrance FNDSESSION_EXEC="%_sbindir/entrance_config_update -e" EOF rm -f %buildroot/%{_sysconfdir}/init.d/%name cat << EOF > %buildroot/%{_sysconfdir}/pam.d/%name #%PAM-1.0 auth required pam_env.so auth required pam_stack.so service=system-auth auth required pam_nologin.so account required pam_stack.so service=system-auth password required pam_stack.so service=system-auth session required pam_stack.so service=system-auth session optional pam_console.so EOF %post %make_session %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING README %config(noreplace) %{_sysconfdir}/pam.d/%name %config(noreplace) %{_sysconfdir}/X11/dm.d/*entrance.conf %config(noreplace) %{_sysconfdir}/*.cfg %{_bindir}/* %{_sbindir}/* %{_datadir}/%name %changelog * Sun Dec 03 2006 Pascal Terjan <pterjan@mandriva.org> 0.9.0.007-0.20060323.4mdv2007.0 + Revision: 90220 - temporary fix of buildrequires - mkrel - Import entrance * Thu Mar 30 2006 Austin Acton <austin@mandriva.org> 0.9.0.007-0.20060323.3mdk - new entrance_config_update (Guillaume Bedot) * Thu Mar 30 2006 Austin Acton <austin@mandriva.org> 0.9.0.007-0.20060323.2mdk - move dm entry to 25 to come before xdm in priority * Thu Mar 30 2006 Guillaume Bedot <littletux@mandriva.org> 0.9.0.007-0.20060323.1mdk - 0.9.0.007 - new version of entrance_config_update, which now requires ecore (previously edb) - we don't want autodetect.sh, which we don't need, and causes interactive build * Thu Jul 14 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050524.5mdk - really make pam work * Wed Jun 1 2005 Frederic Lepied <flepied@mandriva.com> 0.9.0.003-0.20050524.4mdk - fixed pam entry - fixed description - removed init script * Wed Jun 1 2005 Frederic Lepied <flepied@mandriva.com> 0.9.0.003-0.20050524.3mdk - fixed dm.d entry - call %%make_session in %%post * Fri May 27 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050524.2mdk - add configure script (littletux) - require edb - add dm.d entry (Loic Baudry) * Wed May 25 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050524.1mdk - new cvs checkout * Mon May 23 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050523.1mdk - new cvs checkout * Sun May 22 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050522.1mdk - new cvs checkout * Sun May 22 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050522.1mdk - new cvs checkout * Fri May 20 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050519.1mdk - initial package