c4c95b
Name:		fprintd
a402b2
411606
Version:	1.90.9
411606
Release:	2%{?dist}
c4c95b
Summary:	D-Bus service for Fingerprint reader access
c4c95b
c4c95b
Group:		System Environment/Daemons
c4c95b
License:	GPLv2+
411606
Source0:	https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz
c4c95b
Url:		http://www.freedesktop.org/wiki/Software/fprint/fprintd
c4c95b
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c4c95b
ExcludeArch:    s390 s390x
c4c95b
411606
BuildRequires:  rpm-build
411606
BuildRequires:	meson
411606
BuildRequires:	gcc
411606
BuildRequires:	gcc-c++
411606
BuildRequires:	git
c4c95b
BuildRequires:	pam-devel
411606
BuildRequires:	libfprint-devel >= 1.90.1
c4c95b
BuildRequires:	polkit-devel
c4c95b
BuildRequires:	gtk-doc
411606
BuildRequires:	gettext
c4c95b
BuildRequires:	perl-podlators
411606
BuildRequires:	systemd-devel
411606
BuildRequires:	pam_wrapper
c4c95b
411606
# We cannot run the tests as python3-dbusmock and python3-libpamtest are missing
411606
Patch0001:	0001-disable-test-dependencies.patch
a402b2
c4c95b
%description
c4c95b
D-Bus service to access fingerprint readers.
c4c95b
c4c95b
%package pam
c4c95b
Summary:	PAM module for fingerprint authentication
c4c95b
Requires:	%{name} = %{version}-%{release}
c4c95b
# Note that we obsolete pam_fprint, but as the configuration
c4c95b
# is different, it will be mentioned in the release notes
c4c95b
Provides:	pam_fprint = %{version}-%{release}
c4c95b
Obsoletes:	pam_fprint < 0.2-3
c4c95b
Requires(postun): authconfig
c4c95b
c4c95b
Group:		System Environment/Base
c4c95b
License:	GPLv2+
c4c95b
c4c95b
%description pam
c4c95b
PAM module that uses the fprintd D-Bus service for fingerprint
c4c95b
authentication.
c4c95b
c4c95b
%package devel
c4c95b
Summary:	Development files for %{name}
c4c95b
Requires:	%{name} = %{version}-%{release}
c4c95b
Group:		Development/Libraries
c4c95b
License:	GFDLv1.1+
c4c95b
BuildArch:	noarch
c4c95b
c4c95b
%description devel
c4c95b
Development documentation for fprintd, the D-Bus service for
c4c95b
fingerprint readers access.
c4c95b
c4c95b
%prep
411606
%autosetup -S git -n %{name}-v%{version}
c4c95b
c4c95b
%build
411606
%meson -Dgtk_doc=true -Dpam=true
411606
%meson_build
c4c95b
c4c95b
%install
411606
%meson_install
c4c95b
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
c4c95b
c4c95b
rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*}
c4c95b
c4c95b
%find_lang %{name}
c4c95b
411606
%check
411606
# The test suite will just throw errors due to missing dependencies
411606
c4c95b
%postun pam
c4c95b
if [ $1 -eq 0 ]; then
c4c95b
  /sbin/authconfig --disablefingerprint --update || :
c4c95b
fi
c4c95b
c4c95b
%files -f %{name}.lang
c4c95b
%defattr(-,root,root,-)
c4c95b
%doc README COPYING AUTHORS TODO
c4c95b
%{_bindir}/fprintd-*
c4c95b
%{_libexecdir}/fprintd
c4c95b
# FIXME This file should be marked as config when it does something useful
c4c95b
%{_sysconfdir}/fprintd.conf
a402b2
%{_datadir}/dbus-1/system.d/net.reactivated.Fprint.conf
c4c95b
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
c4c95b
/usr/lib/systemd/system/fprintd.service
c4c95b
%{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
c4c95b
%{_localstatedir}/lib/fprint
c4c95b
%{_mandir}/man1/fprintd.1.gz
c4c95b
c4c95b
%files pam
c4c95b
%defattr(-,root,root,-)
c4c95b
%doc pam/README
c4c95b
/%{_lib}/security/pam_fprintd.so
411606
%{_mandir}/man8/pam_fprintd.8.gz
c4c95b
c4c95b
%files devel
c4c95b
%defattr(-,root,root,-)
c4c95b
%{_datadir}/gtk-doc/
c4c95b
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
c4c95b
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
c4c95b
c4c95b
%changelog
411606
* Wed Jan 20 17:47:44 CET 2021 Benjamin Berg <bberg@redhat.com> - 1.90.9-2
411606
- Fix build with --nocheck
411606
  The earlier fix was accidentally reverted again.
411606
  Resolves: #1907766
411606
411606
* Wed Jan 20 14:13:55 CET 2021 Benjamin Berg <bberg@redhat.com> - 1.90.9-1
411606
- Update to fprintd 1.90.9
411606
  Fixes: #1907766
411606
  Fixes: #1907954
411606
  Related: #1888181
411606
411606
* Tue Dec 15 2020 Benjamin Berg <bberg@redhat.com> - 1.90.8-2
411606
- Fix build with --nocheck
411606
  Resolves: #1907766
411606
411606
* Mon Dec 14 2020 Benjamin Berg <bberg@redhat.com> - 1.90.8-1
411606
- Update to fprintd 1.90.8
411606
  Related: #1888181
411606
a402b2
* Thu Nov 21 2019 Benjamin Berg <bberg@redhat.com> - 1.90.0-0.20191121git%{shortcommit}
a402b2
- git snapshot build of fprintd 1.90.0
a402b2
- Resolves: rhbz1740752
a402b2
c4c95b
* Wed Aug 08 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-2
c4c95b
+ fprintd-0.8.1-2
c4c95b
- Require systemd for the .service installation location
c4c95b
- Resolves: #1611717
c4c95b
c4c95b
* Mon Jun 18 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-1
c4c95b
+ fprintd-0.8.1-1
c4c95b
- Update to 0.8.1
c4c95b
c4c95b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4c95b
c4c95b
* Wed Sep 13 2017 Bastien Nocera <bnocera@redhat.com> - 0.8.0-1
c4c95b
+ fprintd-0.8.0-1
c4c95b
- Update to 0.8.0
c4c95b
c4c95b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c4c95b
c4c95b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4c95b
c4c95b
* Thu Feb 09 2017 Bastien Nocera <bnocera@redhat.com> - 0.7.0-2
c4c95b
+ fprintd-0.7.0-2
c4c95b
- Fix fprintd-pam being disabled after upgrade (#1398371)
c4c95b
c4c95b
* Wed Oct 12 2016 Bastien Nocera <bnocera@redhat.com> - 0.7.0-1
c4c95b
+ fprintd-0.7.0-1
c4c95b
- Update to 0.7.0
c4c95b
c4c95b
* Thu Sep 22 2016 Bastien Nocera <bnocera@redhat.com> - 0.6.0-5
c4c95b
- Fix warning when uninstalling fprintd-pam (#1203671)
c4c95b
c4c95b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c4c95b
c4c95b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c4c95b
c4c95b
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.6.0-2
c4c95b
- Rebuilt for Fedora 23 Change
c4c95b
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
c4c95b
c4c95b
* Tue Feb 03 2015 Bastien Nocera <bnocera@redhat.com> 0.6.0-1
c4c95b
- Update to 0.6.0
c4c95b
c4c95b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c4c95b
c4c95b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c4c95b
c4c95b
* Sun Aug 11 2013 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
c4c95b
- Update to 0.5.1
c4c95b
c4c95b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c4c95b
c4c95b
* Tue Mar 05 2013 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
c4c95b
- Update to 0.5.0
c4c95b
c4c95b
* Tue Feb 19 2013 Bastien Nocera <bnocera@redhat.com> 0.4.1-5
c4c95b
- Co-own the gtk-doc directory (#604351)
c4c95b
c4c95b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c4c95b
c4c95b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c4c95b
c4c95b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4c95b
c4c95b
* Thu Nov 10 2011 Bastien Nocera <bnocera@redhat.com> 0.4.1-1
c4c95b
- Update to 0.4.1
c4c95b
c4c95b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c4c95b
c4c95b
* Tue Nov 09 2010 Ray Strode <rstrode@redhat.com> 0.2.0-2
c4c95b
- Don't allow pam module to ever get unmapped, since that causes
c4c95b
  crashes in dbus-glib, gobject, etc.
c4c95b
c4c95b
* Thu Aug 19 2010 Bastien Nocera <bnocera@redhat.com> 0.2.0-1
c4c95b
- Update to 0.2.0
c4c95b
c4c95b
* Wed Dec 09 2009 Bastien Nocera <bnocera@redhat.com> 0.1-16.git04fd09cfa
c4c95b
- Remove use of g_error(), or people think that it crashes when we actually
c4c95b
  abort() (#543194)
c4c95b
c4c95b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-15.git04fd09cfa
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c4c95b
c4c95b
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-14.git04fd09cfa
c4c95b
- Merge polkit patch and fix for polkit patch
c4c95b
c4c95b
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-13.git04fd09cfa
c4c95b
- Make the -devel package noarch (#507698)
c4c95b
c4c95b
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-12.git04fd09cfa
c4c95b
- Fix the pam module (#510152)
c4c95b
c4c95b
* Sat Jun 20 2009 Bastien Nocera <bnocera@redhat.com> 0.1-11.git04fd09cfa
c4c95b
- Remove obsolete patch
c4c95b
c4c95b
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-10.git04fd09cfa
c4c95b
- Port to PolicyKit 1
c4c95b
c4c95b
* Thu May 07 2009 Bastien Nocera <bnocera@redhat.com> 0.1-9.git04fd09cfa
c4c95b
- Add /var/lib/fprint to the RPM to avoid SELinux errors (#499513)
c4c95b
c4c95b
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 0.1-8.git04fd09cfa.1
c4c95b
- Excludearch s390 s390x, as we don't have libusb1 on mainframe, we can't build
c4c95b
  the required libfprint package
c4c95b
c4c95b
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git04fd09cfa
c4c95b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c4c95b
c4c95b
* Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-7.git04fd09cfa
c4c95b
- Add a patch to handle device disconnects
c4c95b
c4c95b
* Mon Jan 26 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-6.git04fd09cfa
c4c95b
- Update to latest git, fixes some run-time warnings
c4c95b
c4c95b
* Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-5.git43fe72a2aa
c4c95b
- Add patch to stop leaking a D-Bus connection on failure
c4c95b
c4c95b
* Tue Dec 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-4.git43fe72a2aa
c4c95b
- Update D-Bus config file for recent D-Bus changes
c4c95b
c4c95b
* Thu Dec 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-3.git43fe72a2aa
c4c95b
- Update following comments in the review
c4c95b
c4c95b
* Sun Nov 23 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-2.gitaf42ec70f3
c4c95b
- Update to current git master, and add documentation
c4c95b
c4c95b
* Tue Nov 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-1
c4c95b
- First package
c4c95b