packages lxdm.spec
      Pages: < 1 >  DOWNLOAD      
Name:          lxdm
Version:       0.4.1
Release:       2mamba
Summary:       The "Lightweight X11 Desktop Environment" is an extremely fast-performing and energy-saving desktop environment. 
Group:         Graphical Desktop/Applications/Environment
Vendor:        openmamba
Distribution:  openmamba
Packager:      Fabio Giani <fabio.giani@...>
Patch0:        %{name}-0.3.0-Xsession-default-profile.patch
License:       GPL
BuildRoot:     %{_tmppath}/%{name}-%{version}-root
BuildRequires: ConsoleKit-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: pam-devel

The "Lightweight X11 Desktop Environment" is an extremely fast-performing and energy-saving desktop environment. Maintained by an international community of developers, it comes with a beautiful interface, multi-language support, standard keyboard short cuts and additional features like tabbed file browsing. LXDE uses less CPU and less RAM than other environments. It is especially designed for cloud computers with low hardware specifications, such as, netbooks, mobile devices (e.g. MIDs) or older computers.


%setup -q
%patch0 -p1

# Remove pregenerated lxdm.conf to recreate with passed directories
# Fixes configuring for using /usr/local/libexec
rm -f data/lxdm.conf


[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%find_lang %{name}

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

if [ $1 -ge 1 ]; then
   /usr/sbin/alternatives --install \
      %{_sbindir}/login_manager login_manager %{_sbindir}/lxdm 20
exit 0

if [ "$1" = "0" ]; then
   /usr/sbin/update-alternatives --remove login_manager %{_sbindir}/lxdm
exit 0

# 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

%files -f %{name}.lang
%dir %{_sysconfdir}/lxdm
%config(noreplace) %{_sysconfdir}/lxdm/*
%dir %{_datadir}/lxdm
%dir %{_datadir}/lxdm/themes
%dir %{_datadir}/lxdm/themes/Industrial

* Sat Mar 31 2012 Silvan Calarco <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 <silvan.calarco@...> 0.4.1-1mamba
- update to 0.4.1

* Tue Apr 19 2011 Silvan Calarco <silvan.calarco@...> 0.3.0-3mamba
- modified Xsession startup file to read /etc/profile and /etc/xprofile

* Sun Jan 30 2011 Silvan Calarco <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 <silvan.calarco@...> 0.3.0-1mamba
- update to 0.3.0

* Tue Jun 22 2010 Silvan Calarco <silvan.calarco@...> 0.1.0-3mamba
- fixed specfile name (must be the same as package name)

* Sat Jan 23 2010 Fabio Giani <fabio.giani@...> 0.1.0-2mamba
- group changed

* Fri Jan 15 2010 Fabio Giani <fabio.giani@...> 0.1.0-1mamba
- package created by autospec