2024-01-05 17:41:28 +01:00
|
|
|
%define user_sddm 68
|
|
|
|
%define group_sddm 68
|
2024-01-05 17:41:28 +01:00
|
|
|
Name: sddm
|
2024-01-05 17:41:28 +01:00
|
|
|
Version: 0.15.0
|
2024-01-05 17:41:28 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: QML based X11 and Wayland display manager
|
|
|
|
Group: Graphical Desktop/Applications/Environment
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-05 17:41:28 +01:00
|
|
|
Patch0: sddm-0.15.0-openmamba-pam.patch
|
2024-01-05 17:41:28 +01:00
|
|
|
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
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
install -d -m0775 %{buildroot}%{_localstatedir}/lib/sddm
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
%pre
|
|
|
|
groupadd sddm -g %{group_sddm} 2>/dev/null
|
|
|
|
useradd -u %{user_sddm} -g sddm \
|
|
|
|
-d /var/lib/sddm -s /sbin/nologin -c "sddm user" sddm 2>/dev/null
|
|
|
|
:
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
%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
|
2024-01-05 17:41:28 +01:00
|
|
|
%{_sysconfdir}/sddm.conf
|
2024-01-05 17:41:28 +01:00
|
|
|
%{_unitdir}/sddm.service
|
|
|
|
%{_bindir}/sddm
|
|
|
|
%{_bindir}/sddm-greeter
|
|
|
|
%dir %{_libdir}/qt5/qml/SddmComponents
|
|
|
|
%{_libdir}/qt5/qml/SddmComponents/*
|
|
|
|
%{_prefix}/libexec/sddm-helper
|
2024-01-05 17:41:28 +01:00
|
|
|
%{_datadir}/sddm/faces/.face.icon
|
2024-01-05 17:41:28 +01:00
|
|
|
%{_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
|
2024-01-05 17:41:28 +01:00
|
|
|
#%dir %{_datadir}/sddm/themes/circles
|
|
|
|
#%{_datadir}/sddm/themes/circles/*
|
2024-01-05 17:41:28 +01:00
|
|
|
%dir %{_datadir}/sddm/themes/elarun
|
|
|
|
%{_datadir}/sddm/themes/elarun/*
|
|
|
|
%dir %{_datadir}/sddm/themes/maldives
|
|
|
|
%{_datadir}/sddm/themes/maldives/*
|
2024-01-05 17:41:28 +01:00
|
|
|
%dir %{_datadir}/sddm/themes/maya
|
|
|
|
%{_datadir}/sddm/themes/maya/*
|
|
|
|
%{_datadir}/sddm/themes/maya/.gitattributes
|
2024-01-05 17:41:28 +01:00
|
|
|
%{_datadir}/sddm/translations/*.qm
|
2024-01-05 17:41:28 +01:00
|
|
|
%attr(-,sddm,sddm) %dir %{_localstatedir}/lib/sddm
|
|
|
|
%doc LICENSE
|
2024-01-05 17:41:28 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:41:28 +01:00
|
|
|
* Fri Sep 22 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
|
|
- update to 0.15.0
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
* Tue Oct 04 2016 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:41:28 +01:00
|
|
|
* Wed Apr 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
|
|
|
|
- package created using the webbuild interface
|