Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:windowmanagers
nodm
nodm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nodm.spec of Package nodm
# # spec file for package nodm # # Copyright (c) 2017 SUSE LINUX 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/ # Name: nodm Version: @SERVICE@ Release: 0 Summary: Automatic display manager License: GPL-2.0 Group: System/X11/Utilities Url: https://github.com/spanezz/nodm Source: %{name}-%{version}.tar.xz Source1: sysconfig-%{name} Patch1: unit-%{name}.patch BuildRequires: automake BuildRequires: help2man BuildRequires: pam-devel BuildRequires: pkgconfig(x11) BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} %description nodm is a minimal display manager that simply logs in as a given user and starts an X session, without asking for username or password. %prep %setup -q %patch1 -p1 %build NOCONFIGURE=1 ./autogen.sh %configure make %{?_smp_mflags} %install %make_install install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/default/%{name} install -dm 0755 %{buildroot}%{_sbindir} ln -sf service %{buildroot}%{_sbindir}/rc%{name} %pre %service_add_pre %{name}.service %preun %service_del_preun %{name}.service %post ln -sf %{_sysconfdir}/pam.d/xdm %{_sysconfdir}/pam.d/nodm %service_add_post %{name}.service %postun rm -f %{_sysconfdir}/pam.d/nodm %service_del_postun %{name}.service %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README.md %config(noreplace) %{_sysconfdir}/default/%{name} %{_sbindir}/%{name} %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service %{_mandir}/man?/%{name}.?%{ext_man} %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