[sddm] Initial push from the review

Martin Briza mbriza at fedoraproject.org
Thu Jul 25 15:23:10 UTC 2013


commit 8a8c1751d98f3b9bf1673ab8256502e67507a32b
Author: Martin Briza <mbriza at redhat.com>
Date:   Thu Jul 25 16:54:02 2013 +0200

    Initial push from the review

 .gitignore |    1 +
 sddm.pam   |   19 ++++++++++++
 sddm.spec  |   93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 4 files changed, 114 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a1228f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.1.0.tar.gz
diff --git a/sddm.pam b/sddm.pam
new file mode 100644
index 0000000..686433f
--- /dev/null
+++ b/sddm.pam
@@ -0,0 +1,19 @@
+#%PAM-1.0
+auth     [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth       required    pam_env.so
+auth       substack    system-auth
+-auth       optional    pam_gnome_keyring.so
+auth       include     postlogin
+account    required    pam_nologin.so
+account    include     system-auth
+password   include     system-auth
+session    required    pam_selinux.so close
+session    required    pam_loginuid.so
+session    optional    pam_console.so
+-session    optional    pam_ck_connector.so
+session    required    pam_selinux.so open
+session    optional    pam_keyinit.so force revoke
+session    required    pam_namespace.so
+session    include     system-auth
+-session    optional    pam_gnome_keyring.so auto_start
+session    include     postlogin
diff --git a/sddm.spec b/sddm.spec
new file mode 100644
index 0000000..aee13e9
--- /dev/null
+++ b/sddm.spec
@@ -0,0 +1,93 @@
+Name:           sddm
+Version:        0.1.0
+Release:        4%{?dist}
+License:        GPLv2+
+Summary:        QML based X11 desktop manager
+
+Url:            https://github.com/sddm/sddm
+Source0:        https://github.com/sddm/sddm/archive/%{version}.tar.gz
+# Originally kdm config, shamelessly stolen from kde-settings
+Source1:        sddm.pam
+
+Provides: service(graphical-login) = sddm
+
+BuildRequires:  cmake
+BuildRequires:  systemd
+BuildRequires:  upower-devel
+BuildRequires:  pam-devel
+BuildRequires:  libxcb-devel
+BuildRequires:  qt-devel
+BuildRequires:  pkgconfig
+
+Requires: pam
+Requires: systemd
+Requires: xorg-x11-server-Xorg
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+SDDM is a modern display manager for X11 aiming to be fast, simple and
+beautiful. It uses modern technologies like QtQuick, which in turn gives the
+designer the ability to create smooth, animated user interfaces.
+
+%prep
+%setup -q
+
+%build
+mkdir -p %{_target_platform}
+# get rid of the architecture flag
+sed -i "s/-march=native//" CMakeLists.txt
+pushd %{_target_platform}
+%{cmake} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+cp -p %SOURCE1 %{buildroot}%{_sysconfdir}/pam.d/sddm
+# set the first VT used to be 1
+sed -i "s/^MinimumVT=[0-9]*$/MinimumVT=1/" %{buildroot}%{_sysconfdir}/sddm.conf
+
+%post
+%systemd_post sddm.service
+
+%preun
+%systemd_preun sddm.service
+
+%postun
+%systemd_postun sddm.service 
+
+%files
+%doc COPYING README.md CONTRIBUTORS
+%config(noreplace)   %{_sysconfdir}/pam.d/sddm
+%config(noreplace)   %{_sysconfdir}/sddm.conf
+%{_bindir}/sddm
+%{_bindir}/sddm-greeter
+%{_unitdir}/sddm.service
+%{_libdir}/qt4/imports/SddmComponents
+%{_datadir}/apps/sddm/faces/*
+%{_datadir}/apps/sddm/scripts/*
+%{_datadir}/apps/sddm/sddm.conf.sample
+%{_datadir}/apps/sddm/themes/*
+
+%changelog
+* Mon Jul 22 2013 Martin Briza <mbriza at redhat.com> - 0.1.0-4
+- Added the documentation bits
+
+* Thu Jul 18 2013 Martin Briza <mbriza at redhat.com> - 0.1.0-3
+- Changed the source package to tar.gz
+- Config files are now noreplace
+- Buildrequires -systemd-devel +systemd +cmake
+
+* Tue Jul 16 2013 Martin Briza <mbriza at redhat.com> - 0.1.0-2
+- Removed unneeded BuildRequires
+- Fixed systemd scriptlets
+- Fixed release
+- Simplified setup
+- Added Requires needed for basic function
+- Added Provides for graphical login
+
+* Thu Jul 04 2013 Martin Briza <mbriza at redhat.com> - 0.1.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..93d0bc5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5da271716883811819411ece2e41b88a  0.1.0.tar.gz


More information about the scm-commits mailing list