%define _hardened_build 1 Name: realmd Version: 0.16.3 Release: 20 Summary: AD integration detection License: LGPLv2+ URL: https://cgit.freedesktop.org/realmd/realmd/ Source0: https://www.freedesktop.org/software/realmd/releases/realmd-%{version}.tar.gz Patch1: 0001-LDAP-don-t-close-LDAP-socket-twice.patch Patch2: 0001-service-Add-nss-and-pam-sssd.conf-services-after-joi.patch Patch3: 0001-Kerberos-fall-back-to-tcp-SRV-lookup.patch Patch4: 0001-service-Add-pam-and-nss-services-in-realm_sssd_confi.patch Patch5: 0001-switch-to-authselect.patch Patch6: 0001-Fix-man-page-reference-in-systemd-service-file.patch Patch7: 0001-Use-current-idmap-options-for-smb.conf.patch Patch8: 0001-Find-NetBIOS-name-in-keytab-while-leaving.patch Patch9: 0001-tests-run-tests-with-python3.patch Patch10: 0001-Fix-issues-found-by-Coverity.patch Patch11: 0002-Change-qualified-names-default-for-IPA.patch Patch12: 0003-discover-try-to-get-domain-name-from-hostname.patch Patch13: 0001-IPA-do-not-call-sssd-enable-logins.patch Patch9000: fix-build-bug-with-distro-of-openeuler.patch BuildRequires: gcc automake autoconf intltool pkgconfig gettext-devel glib2-devel >= 2.32.0 BuildRequires: openldap-devel polkit-devel krb5-devel systemd-devel libxslt xmlto python3 git Requires: authselect polkit %description realmd is a dbus system service that manages discovery and enrollment in realms/domains like Active Directory or IPA. %package_help %prep %autosetup -n %{name}-%{version} -p1 -S git %build autoreconf -fi %configure --disable-silent-rules make %{?_smp_mflags} %install %make_install %check make check %files %defattr(-,root,root) %doc AUTHORS %license COPYING %{_sysconfdir}/dbus-1/system.d/org.freedesktop.realmd.conf %{_prefix}/lib/realmd/* %{_sbindir}/realm %{_unitdir}/realmd.service %{_localstatedir}/cache/realmd/ %{_datadir}/polkit-1/actions/org.freedesktop.realmd.policy %{_datadir}/dbus-1/system-services/org.freedesktop.realmd.service %{_datadir}/locale/* %files help %defattr(-,root,root) %doc ChangeLog NEWS README %doc %{_datadir}/doc/realmd/ %{_mandir}/man8/* %{_mandir}/man5/* %changelog * Sun Dec 29 2019 openEuler Buildteam - 0.16.3-20 - Modify patch information * Mon Oct 28 2019 openEuler Buildteam - 0.16.3-19 - Fix build bug with distro of openEuler * Mon Oct 21 2019 openEuler Buildteam - 0.16.3-18 - Type:enhancement - Id:NA - SUG:NA - DESC:modify the location of COPYING * Tue Sep 17 2019 openEuler Buildteam - 0.16.3-17 - Package init