Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
lxdm
lxdm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lxdm.spec of Package lxdm
# # spec file for package lxdm (Version 0.3.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: lxdm Summary: LXDE Display Manager Version: 0.3.0 Release: 1 License: GPLv2 and LGPLv2 Group: System/GUI/LXDE Url: http://lxde.org/ Source0: %name-%version.tar.bz2 Source1: README.SUSE Source2: %{name}.pamd Patch0: %{name}-0.2.0-background.patch # PATCH-FEATURE-OPENSUSE lxdm-0.3.0-use-sysconfig.patch andrea@opensuse.org # this patch allow lxdm to read system settings from /etc/sysconfig Patch1: %{name}-0.3.0-use-sysconfig.patch Patch2: %{name}-0.3.0-gnome-start.patch # PATCH-FIX-OPENSUSE lxdm-0.2.0-common.patch werner@novell.com # this patch fix bnc#586555 lxdm now use common scripts in /etc/X11/xdm Patch4: %{name}-0.2.0-common.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf automake gcc gettext-tools make BuildRequires: ConsoleKit-devel gettext-runtime gtk2-devel intltool BuildRequires: fdupes iso-codes-devel pam-devel pkg-config Requires: desktop-data-openSUSE Requires: pam Recommends: lxdm-conf %description LXDM is the future display manager of LXDE, the Lightweight X11 Desktop environment. It is designed as a lightweight alternative to replace GDM or KDM in LXDE distros. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch4 -p1 %__cp %{SOURCE1} . %build %configure %__make %{?jobs:-j%{jobs}} %install %makeinstall %__mkdir_p %buildroot/%_bindir %__rm %buildroot/%_sbindir/%name %__rm -rf %buildroot/%_datadir/locale/{frp,es_VE,ur_PK} %__rm -rf %buildroot/%_sysconfdir/pam.d/%name install %SOURCE2 %buildroot/%_sysconfdir/pam.d/%name chmod -x %buildroot/%_sysconfdir/pam.d/%name ln -sf %_sbindir/%name-binary %buildroot/%_bindir/%name %fdupes -s %buildroot/%_datadir %find_lang %name %__mkdir_p %buildroot/%_localstatedir/run %__mkdir_p %buildroot/%_localstatedir/lib/%name touch %buildroot/%_localstatedir/run/%name.pid %clean %__rm -rf %buildroot %pre /usr/sbin/groupadd -r lxdm 2> /dev/null || : /usr/sbin/useradd -r -o -g lxdm -s /bin/false \ -c "LXDE Display Manager daemon" -d /var/lib/lxdm lxdm 2> /dev/null || : /usr/sbin/usermod -g lxdm -G lxdm -s /bin/false lxdm 2> /dev/null # this is only needed on initial upgrades becuase of the "noreplace" # option into files section %post chmod 640 %_sysconfdir/%name/%name.conf chown lxdm:lxdm %_sysconfdir/%name/%name.conf %files -f %name.lang %defattr (-,root,root,-) %doc AUTHORS README COPYING README.SUSE %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/* %dir %{_sysconfdir}/%{name}/ %{_bindir}/%{name} %{_sbindir}/%{name}-binary %{_libexecdir}/%{name}-greeter-gtk %{_libexecdir}/%{name}-greeter-gdk %{_libexecdir}/%{name}-numlock %config(noreplace) %{_sysconfdir}/%{name}/Xsession %config(noreplace) %{_sysconfdir}/%{name}/PreReboot %config(noreplace) %{_sysconfdir}/%{name}/PreShutdown %config(noreplace) %{_sysconfdir}/%{name}/PreLogin %config(noreplace) %{_sysconfdir}/%{name}/PostLogin %config(noreplace) %{_sysconfdir}/%{name}/PostLogout %config(noreplace) %{_sysconfdir}/%{name}/LoginReady %attr(640,lxdm,lxdm) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %config(noreplace) %{_sysconfdir}/pam.d/%{name} %attr(750,lxdm,lxdm) %dir %{_localstatedir}/lib/%{name} %ghost %{_localstatedir}/run/%{name}.pid %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor