%define gdm_uid 53 %define gdm_gid 53 %define majver %(echo %version | cut -d. -f1) Name: gdm Version: 46.2 Release: 2mamba Summary: The GNOME Display Manager, a graphical login program Group: Graphical Desktop/Applications/Other Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.gnome.org Source: https://download.gnome.org/sources/gdm/%{majver}/gdm-%{version}.tar.xz Patch0: gdm-44.0-pam-openmamba.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libaccountsservice-devel BuildRequires: libaudit-devel BuildRequires: libcanberra-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk3-devel BuildRequires: libgudev-devel BuildRequires: libjson-glib-devel BuildRequires: libkeyutils-devel BuildRequires: libpam-devel BuildRequires: libselinux-devel BuildRequires: libsystemd-devel BuildRequires: libxcb-devel ## AUTOBUILDREQ-END BuildRequires: dconf BuildRequires: plymouth-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: user(gdm) Provides: group(gdm) %description GDM is the GNOME Display Manager, a graphical login program. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} GDM is the GNOME Display Manager, a graphical login program. This package contains static libraries and header files needed for development. %package -n lib%{name}-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: gdm-devel Obsoletes: gdm-devel < 41.3 %description -n lib%{name}-devel GDM is the GNOME Display Manager, a graphical login program. This package contains static libraries and header files needed for development. %debug_package %prep %setup -q %patch 0 -p1 %build %meson \ -Dplymouth=enabled \ -Ddefault-pam-config=redhat %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install install -d -m0755 %{buildroot}/%{_localstatedir}/lib/gdm install -d -m0755 %{buildroot}/%{_localstatedir}/cache/gdm %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %pre if [ $1 -ge 1 ]; then /usr/sbin/groupadd gdm -g %{gdm_gid} 2>/dev/null /usr/sbin/useradd -c gdm -u %{gdm_uid} -d /var/lib/gdm -g gdm \ -s /bin/false gdm 2>/dev/null # fix home for previously created gdm user sed -i "s|:gdm:/dev/null:|:gdm:/var/lib/gdm:|" /etc/passwd fi exit 0 %post if [ $1 -ge 1 ]; then # new install or upgrade /usr/sbin/alternatives --install \ %{_sbindir}/login_manager login_manager %{_sbindir}/gdm 15 update-desktop-database -q &>/dev/null GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/gdm-simple-greeter.schemas &> /dev/null systemctl -q enable gdm.service || true fi exit 0 %postun if [ $1 -eq 0 ]; then /usr/sbin/update-alternatives --remove login_manager %{_sbindir}/gdm update-desktop-database -q &>/dev/null GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/gdm-simple-greeter.schemas &> /dev/null systemctl -q disable gdm.service || true fi exit 0 %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/dbus-1/system.d/gdm.conf %config(noreplace) %{_sysconfdir}/gdm/Init/Default %{_sysconfdir}/gdm/PostLogin/Default.sample %{_sysconfdir}/gdm/PostSession/Default %{_sysconfdir}/gdm/PreSession/Default %config(noreplace) %{_sysconfdir}/gdm/custom.conf %{_sysconfdir}/pam.d/gdm-autologin %{_sysconfdir}/pam.d/gdm-fingerprint %{_sysconfdir}/pam.d/gdm-launch-environment %{_sysconfdir}/pam.d/gdm-password #%{_sysconfdir}/pam.d/gdm-pin %{_sysconfdir}/pam.d/gdm-smartcard %{_bindir}/gdm-config %{_bindir}/gdm-screenshot %{_bindir}/gdmflexiserver %{_sbindir}/gdm %{_unitdir}/gdm.service %{_userunitdir}/gnome-session@gnome-login.target.d/session.conf %{_udevrulesdir}/61-gdm.rules %dir %{_datadir}/gdm %dir %{_datadir}/gdm/greeter %{_datadir}/gdm/greeter/* %{_datadir}/gdm/gdb-cmd %{_datadir}/gdm/gdm.schemas %{_datadir}/gdm/greeter-dconf-defaults %{_datadir}/gdm/locale.alias %{_datadir}/dconf/profile/gdm %{_datadir}/glib-2.0/schemas/org.gnome.login-screen.gschema.xml %{_datadir}/gnome-session/sessions/gnome-login.session %{_datadir}/help/C/gdm/* %lang(ca) %{_datadir}/help/ca/gdm/* %lang(cs) %{_datadir}/help/cs/gdm/* %lang(de) %{_datadir}/help/de/gdm/* %lang(el) %{_datadir}/help/el/gdm/* %lang(en_GB) %{_datadir}/help/en_GB/gdm/* %lang(es) %{_datadir}/help/es/gdm/* %lang(eu) %{_datadir}/help/eu/gdm/* %lang(fr) %{_datadir}/help/fr/gdm/* %lang(gl) %{_datadir}/help/gl/gdm/* %lang(hr) %{_datadir}/help/hr/gdm/* %lang(hu) %{_datadir}/help/hu/gdm/* %lang(id) %{_datadir}/help/id/gdm/* %lang(it) %{_datadir}/help/it/gdm/* %lang(ka) %{_datadir}/help/ka/gdm/* %lang(ko) %{_datadir}/help/ko/gdm/* %lang(nl) %{_datadir}/help/nl/gdm/* %lang(oc) %{_datadir}/help/oc/gdm/* %lang(pt_BR) %{_datadir}/help/pt_BR/gdm/* %lang(ro) %{_datadir}/help/ro/gdm/* %lang(ru) %{_datadir}/help/ru/gdm/* %lang(sl) %{_datadir}/help/sl/gdm/* %lang(sv) %{_datadir}/help/sv/gdm/* %lang(te) %{_datadir}/help/te/gdm/* %lang(tr) %{_datadir}/help/tr/gdm/* %lang(uk) %{_datadir}/help/uk/gdm/* %lang(zh_CN) %{_datadir}/help/zh_CN/gdm/* %attr(1770,root,gdm) %dir %{_localstatedir}/lib/gdm %attr(-,gdm,gdm) %dir %{_localstatedir}/cache/gdm #%attr(-,gdm,gdm) %dir %{_localstatedir}/log/gdm #%attr(-,gdm,gdm) %dir %{_localstatedir}/run/gdm %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libgdm.so.* %{_libdir}/girepository-1.0/Gdm-1.0.typelib %{_libdir}/security/pam_gdm.so %{_libexecdir}/gdm-* %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/gdm %{_includedir}/gdm/* %{_libdir}/libgdm.so %{_datadir}/gir-1.0/Gdm-1.0.gir %{_libdir}/pkgconfig/gdm.pc %{_libdir}/pkgconfig/gdm-pam-extensions.pc #%doc ChangeLog NEWS README %changelog * Sat Jun 29 2024 Silvan Calarco 46.2-2mamba - provide user and group gdm * Fri May 31 2024 Automatic Build System 46.2-1mamba - automatic version update by autodist * Tue Mar 19 2024 Automatic Build System 46.0-1mamba - automatic version update by autodist * Fri Sep 15 2023 Automatic Build System 45.0.1-1mamba - automatic version update by autodist * Sat May 06 2023 Automatic Build System 44.1-1mamba - automatic version update by autodist * Thu Mar 30 2023 Automatic Build System 44.0-1mamba - automatic version update by autodist * Sat Sep 24 2022 Automatic Build System 43.0-1mamba - automatic version update by autodist * Tue Mar 22 2022 Automatic Build System 42.0-1mamba - automatic version update by autodist * Wed Jan 26 2022 Automatic Build System 41.3-1mamba - automatic version update by autodist * Wed Sep 22 2021 Automatic Build System 41.0-1mamba - automatic version update by autodist * Fri Jul 23 2021 Automatic Build System 40.1-1mamba - automatic version update by autodist * Sat May 15 2021 Silvan Calarco 40.0-1mamba - update to 40.0 * Wed Dec 16 2020 Automatic Build System 3.38.2.1-1mamba - automatic version update by autodist * Mon Nov 09 2020 Silvan Calarco 3.38.2-1mamba - update to 3.38.2 * Wed Oct 14 2020 Automatic Build System 3.38.1-1mamba - automatic version update by autodist * Tue Oct 13 2020 Automatic Build System 3.38.0-1mamba - automatic version update by autodist * Tue Jul 14 2020 Automatic Build System 3.36.3-1mamba - automatic version update by autodist * Tue May 05 2020 Automatic Build System 3.36.2-1mamba - automatic version update by autodist * Mon Oct 07 2019 Automatic Build System 3.34.1-1mamba - automatic version update by autodist * Fri Oct 04 2019 Automatic Build System 3.34.0-1mamba - automatic version update by autodist * Sat Mar 16 2019 Automatic Build System 3.32.0-1mamba - automatic version update by autodist * Wed Feb 27 2019 Automatic Build System 3.30.3-1mamba - automatic version update by autodist * Sun Nov 11 2018 Automatic Build System 3.30.2-1mamba - automatic version update by autodist * Fri Oct 05 2018 Automatic Build System 3.30.1-1mamba - automatic version update by autodist * Sun Sep 23 2018 Automatic Build System 3.30.0-1mamba - automatic version update by autodist * Thu Aug 23 2018 Automatic Build System 3.28.4-1mamba - automatic version update by autodist * Tue Aug 14 2018 Automatic Build System 3.28.3-1mamba - automatic version update by autodist * Mon Jun 18 2018 Automatic Build System 3.28.2-1mamba - automatic version update by autodist * Wed Apr 11 2018 Automatic Build System 3.28.1-1mamba - automatic version update by autodist * Mon Mar 26 2018 Automatic Build System 3.28.0-1mamba - automatic version update by autodist * Thu Nov 30 2017 Automatic Build System 3.26.2.1-1mamba - automatic update by autodist * Wed Oct 11 2017 Automatic Build System 3.26.1-1mamba - automatic version update by autodist * Wed May 10 2017 Automatic Build System 3.24.2-1mamba - automatic version update by autodist * Mon Apr 24 2017 Automatic Build System 3.24.1-1mamba - automatic version update by autodist * Mon Mar 06 2017 Automatic Build System 3.22.3-1mamba - automatic version update by autodist * Thu Mar 02 2017 Automatic Build System 3.22.2-1mamba - automatic version update by autodist * Mon Oct 17 2016 Automatic Build System 3.22.1-1mamba - automatic version update by autodist * Wed Apr 20 2016 Automatic Build System 3.20.1-1mamba - automatic version update by autodist * Sat Apr 09 2016 Automatic Build System 3.20.0-1mamba - automatic version update by autodist * Tue Nov 24 2015 Automatic Build System 3.18.2-1mamba - automatic version update by autodist * Mon Oct 12 2015 Automatic Build System 3.18.0-1mamba - automatic version update by autodist * Thu Sep 17 2015 Automatic Build System 3.16.3-1mamba - automatic version update by autodist * Wed Aug 19 2015 Silvan Calarco 3.16.2-2mamba - remove requirement for ConsoleKit * Thu Jul 02 2015 Automatic Build System 3.16.2-1mamba - automatic version update by autodist * Fri Apr 17 2015 Automatic Build System 3.16.1.1-1mamba - automatic version update by autodist * Thu Apr 16 2015 Automatic Build System 3.16.1-1mamba - automatic version update by autodist * Thu Oct 16 2014 Automatic Build System 3.14.1-1mamba - automatic update by autodist * Fri Sep 26 2014 Automatic Build System 3.14.0-1mamba - automatic version update by autodist * Thu Jun 26 2014 Silvan Calarco 3.12.2-2mamba - update pam patch for openmamba * Fri May 16 2014 Automatic Build System 3.12.2-1mamba - automatic version update by autodist * Mon Apr 21 2014 Automatic Build System 3.12.1-1mamba - automatic version update by autodist * Thu Apr 10 2014 Automatic Build System 3.12.0-1mamba - automatic version update by autodist * Wed Oct 16 2013 Automatic Build System 3.10.0.1-1mamba - automatic version update by autodist * Tue Oct 01 2013 Automatic Build System 3.10.0-1mamba - automatic update by autodist * Wed Jul 31 2013 Automatic Build System 3.8.4-1mamba - automatic version update by autodist * Wed Jun 19 2013 Automatic Build System 3.8.3.1-1mamba - automatic version update by autodist * Sun Jun 16 2013 Automatic Build System 3.8.3-1mamba - automatic version update by autodist * Wed Apr 17 2013 Automatic Build System 3.8.1.1-1mamba - automatic version update by autodist * Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Sat Apr 13 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Sat Mar 23 2013 Silvan Calarco 3.6.2-2mamba - rebuilt with systemd support; enable gdm service on install * Wed Nov 14 2012 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Mon Nov 05 2012 Silvan Calarco 3.6.1-3mamba - patch more pam configuration files for openmamba * Sun Oct 21 2012 Silvan Calarco 3.6.1-2mamba - configure with redhat style pam files * Tue Oct 16 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Thu Oct 04 2012 Automatic Build System 3.6.0-1mamba - automatic version update by autodist * Sun Jul 29 2012 Silvan Calarco 3.4.1-2mamba - added plymouth patch * Sat Apr 14 2012 Automatic Build System 3.4.1-1mamba - automatic version update by autodist * Sun Apr 01 2012 Automatic Build System 3.4.0.1-1mamba - automatic version update by autodist * Thu Oct 20 2011 Automatic Build System 3.2.1.1-1mamba - automatic version update by autodist * Mon Oct 03 2011 Automatic Build System 3.2.0-1mamba - automatic version update by autodist * Mon Sep 26 2011 Silvan Calarco 3.0.4-2mamba - use /var/lib/gdm as home path for gdm user * Thu Jul 21 2011 Automatic Build System 3.0.4-1mamba - update to 3.0.4 * Sun May 22 2011 Silvan Calarco 2.32.1-6mamba - register schemas using gconftool * Sat May 21 2011 Silvan Calarco 2.32.1-5mamba - remove pam_console from pam files - require ConsoleKit - added dirs /var/cache/gdm and /var/run/gdm * Sat May 21 2011 Silvan Calarco 2.32.1-4mamba - add /var/log/gdm with proper permissions * Wed May 18 2011 Silvan Calarco 2.32.1-3mamba - set gdm group permissions for /var/lib/gdm * Tue May 17 2011 Silvan Calarco 2.32.1-2mamba - create gdm user and group * Wed Mar 30 2011 Automatic Build System 2.32.1-1mamba - update to 2.32.1 * Sat Mar 05 2011 Silvan Calarco 2.32.0-1mamba - package created by autospec