diff --git a/README.md b/README.md index 7625736..6009cdf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # sddm +QML based X11 and Wayland display manager. + diff --git a/sddm-0.13.0-openmamba-pam.patch b/sddm-0.13.0-openmamba-pam.patch new file mode 100644 index 0000000..209d6c9 --- /dev/null +++ b/sddm-0.13.0-openmamba-pam.patch @@ -0,0 +1,14 @@ +diff -Nru sddm-0.13.0.orig/services/sddm.pam sddm-0.13.0/services/sddm.pam +--- sddm-0.13.0.orig/services/sddm.pam 2016-04-27 15:04:54.000000000 +0200 ++++ sddm-0.13.0/services/sddm.pam 2016-04-27 15:23:40.813519604 +0200 +@@ -1,6 +1,6 @@ + #%PAM-1.0 + +-auth include system-login +-account include system-login +-password include system-login +-session include system-login ++auth include system-auth ++account include system-auth ++password include system-auth ++session include system-auth diff --git a/sddm.spec b/sddm.spec new file mode 100644 index 0000000..d016a3c --- /dev/null +++ b/sddm.spec @@ -0,0 +1,92 @@ +Name: sddm +Version: 0.13.0 +Release: 1mamba +Summary: QML based X11 and Wayland display manager +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/sddm/sddm +## GITSOURCE https://github.com/sddm/sddm.git v0.13.0 +Source: https://github.com/sddm/sddm.git/v%{version}/sddm-%{version}.tar.bz2 +Patch0: sddm-0.13.0-openmamba-pam.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libpam-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libsystemd-devel +BuildRequires: libxcb-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +%systemd_requires +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +QML based X11 and Wayland display manager. + +%debug_package + +%prep +%setup -q +%patch0 -p1 + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%systemd_post sddm +: + +%preun +%systemd_preun sddm +: + +%postun +%systemd_postun sddm +: + +%files +%defattr(-,root,root) +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf +%{_sysconfdir}/pam.d/sddm +%{_sysconfdir}/pam.d/sddm-autologin +%{_sysconfdir}/pam.d/sddm-greeter +%{_unitdir}/sddm.service +%{_bindir}/sddm +%{_bindir}/sddm-greeter +%dir %{_libdir}/qt5/qml/SddmComponents +%{_libdir}/qt5/qml/SddmComponents/* +%{_prefix}/libexec/sddm-helper +%{_datadir}/sddm/faces/README +%{_datadir}/sddm/faces/default.face.icon +%{_datadir}/sddm/faces/root.face.icon +%dir %{_datadir}/sddm/flags +%{_datadir}/sddm/flags/*.png +%dir %{_datadir}/sddm/scripts +%{_datadir}/sddm/scripts/* +%dir %{_datadir}/sddm/themes +%dir %{_datadir}/sddm/themes/circles +%{_datadir}/sddm/themes/circles/* +%dir %{_datadir}/sddm/themes/elarun +%{_datadir}/sddm/themes/elarun/* +%dir %{_datadir}/sddm/themes/maldives +%{_datadir}/sddm/themes/maldives/* +%dir %{_datadir}/sddm/themes/maui +%{_datadir}/sddm/themes/maui/* +%{_datadir}/sddm/translations/*.qm +%doc COPYING + +%changelog +* Wed Apr 27 2016 Silvan Calarco 0.13.0-1mamba +- package created using the webbuild interface