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