Name: lxdm Version: 0.5.1 Release: 1mamba Summary: Login manager for the Lightweight X11 Desktop Environment Group: Graphical Desktop/Applications/Environment Vendor: openmamba Distribution: openmamba Packager: Fabio Giani URL: http://www.lxde.org/ Source: https://downloads.sourceforge.net/project/lxdm/lxdm%20%{version}/lxdm-%{version}.tar.xz Patch0: %{name}-0.3.0-Xsession-default-profile.patch Patch1: %{name}-0.4.1-glib-2.32.patch Patch2: lxdm-0.5.0-pam_console_remove.patch Patch3: lxdm-0.5.0-conf.patch Patch5: lxdm-0.4.1-disable-consolekit.patch Patch6: lxdm-0.4.1-automake-1.14.patch Patch7: lxdm-0.5.0-xsessions-openmamba.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libpam-devel BuildRequires: libpango-devel BuildRequires: libxcb-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Login manager for the Lightweight X11 Desktop Environment. %debug_package %prep %setup -q %patch0 -p1 #%patch1 -p1 %patch2 -p1 %patch3 -p1 #%patch5 -p1 #%patch6 -p1 %patch7 -p1 # Remove pregenerated lxdm.conf to recreate with passed directories # Fixes configuring for using /usr/local/libexec rm -f data/lxdm.conf %build autoreconf -f -i %configure \ --disable-consolekit %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall DATADIRNAME=share install -d %{buildroot}/lib/systemd/system cat >%{buildroot}/lib/systemd/system/lxdm.service << _EOF [Unit] Description=LXDE Display Manager Conflicts=getty@tty1.service After=systemd-user-sessions.service getty@tty1.service Conflicts=plymouth-quit.service [Service] ExecStart=/usr/sbin/lxdm Restart=always [Install] Alias=display-manager.service _EOF rm -f %{buildroot}%{_sysconfdir}/lxdm/PreLogin %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post if [ $1 -ge 1 ]; then sed -i "s|# arg=/usr/bin/X.*|arg=/usr/bin/Xorg -background none -nolisten tcp|" \ %{_sysconfdir}/lxdm/lxdm.conf /usr/sbin/alternatives --install \ %{_sbindir}/login_manager login_manager %{_sbindir}/lxdm 20 systemctl -q daemon-reload || true systemctl -q enable lxdm.service || true fi exit 0 %postun if [ "$1" = "0" ]; then /usr/sbin/update-alternatives --remove login_manager %{_sbindir}/lxdm systemctl -q disable lxdm.service || true fi exit 0 %posttrans # runtime fix a configuration issue when upgrading from previous buggy releases if [ $1 -ge 1 ]; then sed -i "s|/usr/local/libexec/lxdm-greeter-gtk|%{_libexecdir}/lxdm-greeter-gtk|" %{_sysconfdir}/lxdm/lxdm.conf fi : %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/lxdm/Xsession %dir %{_sysconfdir}/lxdm %config(noreplace) %{_sysconfdir}/lxdm/* %{_sysconfdir}/pam.d/lxdm %{_bindir}/lxdm-config %{_sbindir}/lxdm %{_sbindir}/lxdm-binary %{_libexecdir}/lxdm-greeter-gdk %{_libexecdir}/lxdm-greeter-gtk %{_libexecdir}/lxdm-numlock %{_libexecdir}/lxdm-session /lib/systemd/system/lxdm.service %dir %{_datadir}/lxdm %{_datadir}/lxdm/config.ui %dir %{_datadir}/lxdm/themes %dir %{_datadir}/lxdm/themes/Industrial %{_datadir}/lxdm/themes/Industrial/* /usr/share/lxdm/lxdm.glade %doc AUTHORS COPYING #README TODO %changelog * Sun Apr 26 2015 Automatic Build System 0.5.1-1mamba - automatic version update by autodist * Fri Jul 18 2014 Silvan Calarco 0.5.0-2mamba - patch to fix running chosen session in openmamba * Sun Jul 13 2014 Silvan Calarco 0.5.0-1mamba - update to 0.5.0 * Mon Jun 30 2014 Silvan Calarco 0.4.1-10mamba - rebuilt without ConsoleKit (added patch) * Mon Jul 15 2013 Silvan Calarco 0.4.1-9mamba - fix lxdm.service after fixing plymouth 0.8.8 for smooth transition - lxdm.conf: run X as "Xorg -background none -nolisten tcp" * Mon Jun 24 2013 Silvan Calarco 0.4.1-8mamba - lxdm.service: remove plymouth from After list to allow smooth transition to X * Sat May 25 2013 Silvan Calarco 0.4.1-7mamba - systemd service file: add conflict with getty@tty1 to fix start on tty1 - patch default lxdm.conf with active_vt=1 * Sat May 25 2013 Silvan Calarco 0.4.1-6mamba - really remove %{_sysconfdir}/lxfm/PreLogin * Fri Apr 26 2013 Silvan Calarco 0.4.1-5mamba - remove empty PreLogin template as a workaround for it blocking login (seen on r-pi) - remove pam_console entry from pam configuration * Fri Mar 22 2013 Silvan Calarco 0.4.1-4mamba - provide and enable as systemd display-manager.service alias * Sat Jul 28 2012 Silvan Calarco 0.4.1-3mamba - added patch to fix 100% cpu hog after glib 2.32 update * Sat Mar 31 2012 Silvan Calarco 0.4.1-2mamba - fix wrong path /usr/local/libexec in lxdm.conf by making sure it is recreated using configure options * Sat Nov 12 2011 Silvan Calarco 0.4.1-1mamba - update to 0.4.1 * Tue Apr 19 2011 Silvan Calarco 0.3.0-3mamba - modified Xsession startup file to read /etc/profile and /etc/xprofile * Sun Jan 30 2011 Silvan Calarco 0.3.0-2mamba - set as an alternative for login_manager - build debug package - fix attributes for /etc/lxdm/Xsession (was set as not executable 0644) * Mon Dec 13 2010 Silvan Calarco 0.3.0-1mamba - update to 0.3.0 * Tue Jun 22 2010 Silvan Calarco 0.1.0-3mamba - fixed specfile name (must be the same as package name) * Sat Jan 23 2010 Fabio Giani 0.1.0-2mamba - group changed * Fri Jan 15 2010 Fabio Giani 0.1.0-1mamba - package created by autospec