1 Star 0 Fork 11

qiaojijun/fprintd

forked from src-openEuler/fprintd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fprintd.spec 2.84 KB
一键复制 编辑 原始数据 按行查看 历史
chen-jan 提交于 2022-05-30 07:35 . update to 1.94.2
Name: fprintd
Version: 1.94.2
Release: 1
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
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
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
%autosetup -S git -n %{name}-v%{version}
%build
%meson -Dgtk_doc=true -Dpam=true -Dpam_modules_dir=%{_libdir}/security
%meson_build
%install
%meson_install
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
%find_lang %{name}
%postun
if [ $1 -eq 0 ]
then
/bin/authselect current | grep with-fingerprint >/dev/null 2>&1
if [ $? -eq 0 ]
then
/bin/authselect disable-feature with-fingerprint || :
fi
fi
%files -f %{name}.lang
%doc README pam/README COPYING AUTHORS TODO
%{_libdir}/security/pam_fprintd.so
%{_bindir}/fprintd-*
%{_libexecdir}/fprintd
%{_sysconfdir}/fprintd.conf
%{_datadir}/dbus-1/system.d/net.reactivated.Fprint.conf
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
%{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
%{_unitdir}/fprintd.service
%{_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
%{_mandir}/man8/pam_fprintd.8.gz
%changelog
* Mon May 30 2022 chenchen <[email protected]> - 1.94.2-1
- Update to 1.94.2
* Fri Jul 30 2021 linjiaxin5 <[email protected]> - 0.8.1-6
- Fix failure caused by GCC upgrade to 10
* Fri Feb 26 2021 lingsheng <[email protected]> - 0.8.1-5
- Disable with-fingerprint when with-fingerprint is enabled
* Mon Nov 04 2019 huzhiyu <[email protected]> - 0.8.1-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kylin-qiaojijun/fprintd.git
[email protected]:kylin-qiaojijun/fprintd.git
kylin-qiaojijun
fprintd
fprintd
master

搜索帮助