Name: fprintd Version: 1.94.3 Release: 1%{?dist} Summary: D-Bus service for Fingerprint reader access # man page is GFDL-1.1-or-later License: GPL-2.0-or-later AND GFDL-1.1-or-later Source0: https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz Url: http://www.freedesktop.org/wiki/Software/fprint/fprintd ExcludeArch: s390 s390x BuildRequires: meson BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git BuildRequires: pam-devel BuildRequires: libfprint-devel >= 1.94.0 BuildRequires: polkit-devel #BuildRequires: gtk-doc BuildRequires: gettext BuildRequires: perl-podlators BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) BuildRequires: python3-dbusmock BuildRequires: python3-libpamtest %description D-Bus service to access fingerprint readers. %package pam Summary: PAM module for fingerprint authentication Requires: %{name} = %{version}-%{release} # Note that we obsolete pam_fprint, but as the configuration # is different, it will be mentioned in the release notes Provides: pam_fprint = %{version}-%{release} Obsoletes: pam_fprint < 0.2-3 Requires(postun): authselect >= 0.3 License: GPL-2.0-or-later %description pam PAM module that uses the fprintd D-Bus service for fingerprint authentication. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} # dbus interfaces are GPL-2.0-or-later # documentation is GFDL-1.1-or-later License: GPL-2.0-or-later AND GFDL-1.1-or-later BuildArch: noarch %description devel Development documentation for fprintd, the D-Bus service for fingerprint readers access. %prep %autosetup -S git -n %{name}-v%{version} %build %meson --prefix=%{_exec_prefix}/local \ --libdir=%{_libdir} \ --libexecdir=%{_exec_prefix}/local/libexec \ --bindir=%{_exec_prefix}/local/bin \ --sbindir=%{_sbindir} \ --includedir=%{_exec_prefix}/include \ --datadir=%{_datadir} \ --mandir=%{_mandir} \ --infodir=%{_datadir}/info \ --localedir=%{_exec_prefix}/local/share/locale \ --sysconfdir=%{_exec_prefix}/local/etc \ --localstatedir=%{_localstatedir} \ --sharedstatedir=%{_sharedstatedir} \ -Dgtk_doc=false \ -Dpam=true \ -Dpam_modules_dir=%{_libdir}/security %meson_build %install %meson_install mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint %find_lang %{name} %postun pam if [ $1 -eq 0 ]; then /bin/authselect disable-feature with-fingerprint || : fi %files -f %{name}.lang %doc README COPYING AUTHORS TODO %{_exec_prefix}/local/bin/fprintd-* %{_exec_prefix}/local/libexec/fprintd # FIXME This file should be marked as config when it does something useful %{_exec_prefix}/local/etc/fprintd.conf %{_datadir}/dbus-1/system.d/net.reactivated.Fprint.conf %{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service %{_unitdir}/fprintd.service %{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy %attr(0700, -, -) %{_localstatedir}/lib/fprint %{_mandir}/man1/fprintd.1.gz %files pam %doc pam/README %{_libdir}/security/pam_fprintd.so %{_mandir}/man8/pam_fprintd.8.gz %files devel #%{_datadir}/gtk-doc/ %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog * Sat Jul 13 2024 Stevie Galluscio - 1.94.3 - Upgrade to v1.94.3 and remove patch for v1.94.2 - Change prefix to /usr/local