2022-05-30 07:35:17 +00:00
|
|
|
Name: fprintd
|
|
|
|
|
Version: 1.94.2
|
2023-01-05 21:23:21 +08:00
|
|
|
Release: 7
|
2022-05-30 07:35:17 +00:00
|
|
|
Summary: D-Bus service for Fingerprint reader access
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
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
|
2023-01-05 17:32:51 +08:00
|
|
|
Patch0001: 0001-Don-t-try-to-clear-storage-on-devices-without-intern.patch
|
2023-01-05 17:58:04 +08:00
|
|
|
Patch0002: 0002-tests-Fix-dbusmock-AddDevice-calls-to-include-option.patch
|
2023-01-05 20:43:07 +08:00
|
|
|
Patch0003: 0003-meson-Do-not-hard-require-test-dependencies.patch
|
2023-01-05 20:54:52 +08:00
|
|
|
Patch0004: 0004-tests-Hide-intermediate-error-in-output-checker.patch
|
2023-01-05 21:12:39 +08:00
|
|
|
Patch0005: 0005-meson-Add-option-to-use-libelogind-for-DBus.patch
|
2023-01-05 21:23:21 +08:00
|
|
|
Patch0006: 0006-Permit-build-without-pam_wrapper.patch
|
2022-05-30 07:35:17 +00:00
|
|
|
|
|
|
|
|
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: systemd-devel
|
|
|
|
|
BuildRequires: python3-dbusmock
|
|
|
|
|
BuildRequires: python3-libpamtest
|
|
|
|
|
|
2019-11-19 11:46:38 +08:00
|
|
|
|
|
|
|
|
Provides: pam_fprint = %{version}-%{release} %{name}-pam = %{version}-%{release}
|
|
|
|
|
Obsoletes: pam_fprint < 0.2-3 %{name}-pam < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Requires(postun): authselect >= 0.3
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The fprint project aims to add support for consumer fingerprint reader devices, in Linux, as well as other free Unices.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
License: GFDLv1.1+
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains some libraries and header files for the
|
|
|
|
|
development of %{name}.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Help package for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This package contains some man help files for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-05-30 07:35:17 +00:00
|
|
|
%autosetup -S git -n %{name}-v%{version}
|
2019-11-19 11:46:38 +08:00
|
|
|
|
|
|
|
|
%build
|
2022-05-30 07:35:17 +00:00
|
|
|
%meson -Dgtk_doc=true -Dpam=true -Dpam_modules_dir=%{_libdir}/security
|
|
|
|
|
%meson_build
|
2019-11-19 11:46:38 +08:00
|
|
|
|
|
|
|
|
%install
|
2022-05-30 07:35:17 +00:00
|
|
|
%meson_install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
|
2019-11-19 11:46:38 +08:00
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
if [ $1 -eq 0 ]
|
|
|
|
|
then
|
2021-03-01 10:55:03 +08:00
|
|
|
/bin/authselect current | grep with-fingerprint >/dev/null 2>&1
|
|
|
|
|
if [ $? -eq 0 ]
|
|
|
|
|
then
|
|
|
|
|
/bin/authselect disable-feature with-fingerprint || :
|
|
|
|
|
fi
|
2019-11-19 11:46:38 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc README pam/README COPYING AUTHORS TODO
|
|
|
|
|
%{_libdir}/security/pam_fprintd.so
|
|
|
|
|
%{_bindir}/fprintd-*
|
|
|
|
|
%{_libexecdir}/fprintd
|
|
|
|
|
%{_sysconfdir}/fprintd.conf
|
2022-05-30 07:35:17 +00:00
|
|
|
%{_datadir}/dbus-1/system.d/net.reactivated.Fprint.conf
|
2019-11-19 11:46:38 +08:00
|
|
|
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
|
|
|
|
|
%{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
|
2022-05-30 07:35:17 +00:00
|
|
|
%{_unitdir}/fprintd.service
|
2019-11-19 11:46:38 +08:00
|
|
|
%{_localstatedir}/lib/fprint
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.{Device,Manager}.xml
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/fprintd.1.gz
|
2022-05-30 07:35:17 +00:00
|
|
|
%{_mandir}/man8/pam_fprintd.8.gz
|
2019-11-19 11:46:38 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-01-05 21:23:21 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-7
|
|
|
|
|
- Permit build without pam_wrapper
|
|
|
|
|
|
2023-01-05 21:12:39 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-6
|
|
|
|
|
- meson: Add option to use libelogind for DBus
|
|
|
|
|
|
2023-01-05 20:54:52 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-5
|
|
|
|
|
- tests: Hide intermediate error in output checker
|
|
|
|
|
|
2023-01-05 20:43:07 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-4
|
|
|
|
|
- meson: Do not hard-require test dependencies
|
|
|
|
|
|
2023-01-05 17:58:04 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-3
|
|
|
|
|
- tests: Fix dbusmock AddDevice calls to include optional argument
|
|
|
|
|
|
2023-01-05 17:32:51 +08:00
|
|
|
* Thu Jan 05 2023 xuxinyu <xuxinyu@xfusion.com> - 1.94.2-2
|
|
|
|
|
- Don't try to clear storage on devices without internal
|
|
|
|
|
- storage This change prevents warnings like 'Failed to clear
|
|
|
|
|
- storage before first enrollment: Device has no storage.'.
|
|
|
|
|
|
2022-05-30 07:35:17 +00:00
|
|
|
* Mon May 30 2022 chenchen <chen_aka_jan@163.com> - 1.94.2-1
|
|
|
|
|
- Update to 1.94.2
|
|
|
|
|
|
2021-07-30 06:50:54 +00:00
|
|
|
* Fri Jul 30 2021 linjiaxin5 <linjiaxin5@huawei.com> - 0.8.1-6
|
|
|
|
|
- Fix failure caused by GCC upgrade to 10
|
|
|
|
|
|
2021-03-01 10:55:03 +08:00
|
|
|
* Fri Feb 26 2021 lingsheng <lingsheng@huawei.com> - 0.8.1-5
|
|
|
|
|
- Disable with-fingerprint when with-fingerprint is enabled
|
|
|
|
|
|
2019-11-19 11:46:38 +08:00
|
|
|
* Mon Nov 04 2019 huzhiyu <huzhiyu1@huawei.com> - 0.8.1-4
|
|
|
|
|
- Package init
|