cb3b00
Name:		fprintd
cb3b00
Version:	1.94.0
cb3b00
Release:	3%{?dist}
cb3b00
Summary:	D-Bus service for Fingerprint reader access
cb3b00
cb3b00
License:	GPLv2+
cb3b00
Source0:	https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v%{version}/fprintd-v%{version}.tar.gz
cb3b00
Url:		http://www.freedesktop.org/wiki/Software/fprint/fprintd
cb3b00
ExcludeArch:    s390 s390x
cb3b00
cb3b00
BuildRequires:	meson
cb3b00
BuildRequires:	gcc
cb3b00
BuildRequires:	gcc-c++
cb3b00
BuildRequires:	git
cb3b00
BuildRequires:	pam-devel
cb3b00
BuildRequires:	libfprint-devel >= 1.94.0
cb3b00
BuildRequires:	polkit-devel
cb3b00
BuildRequires:	gtk-doc
cb3b00
BuildRequires:	gettext
cb3b00
BuildRequires:	perl-podlators
cb3b00
BuildRequires:	systemd-devel
cb3b00
BuildRequires:	python3-dbusmock
cb3b00
BuildRequires:	python3-libpamtest
cb3b00
cb3b00
# Test fixes
cb3b00
Patch0000:      https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/157.patch
cb3b00
Patch0001:      https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/158.patch
cb3b00
cb3b00
%description
cb3b00
D-Bus service to access fingerprint readers.
cb3b00
cb3b00
%package pam
cb3b00
Summary:	PAM module for fingerprint authentication
cb3b00
Requires:	%{name} = %{version}-%{release}
cb3b00
# Note that we obsolete pam_fprint, but as the configuration
cb3b00
# is different, it will be mentioned in the release notes
cb3b00
Provides:	pam_fprint = %{version}-%{release}
cb3b00
Obsoletes:	pam_fprint < 0.2-3
cb3b00
Requires(postun): authselect >= 0.3
cb3b00
cb3b00
License:	GPLv2+
cb3b00
cb3b00
%description pam
cb3b00
PAM module that uses the fprintd D-Bus service for fingerprint
cb3b00
authentication.
cb3b00
cb3b00
%package devel
cb3b00
Summary:	Development files for %{name}
cb3b00
Requires:	%{name} = %{version}-%{release}
cb3b00
License:	GFDL
cb3b00
BuildArch:	noarch
cb3b00
cb3b00
%description devel
cb3b00
Development documentation for fprintd, the D-Bus service for
cb3b00
fingerprint readers access.
cb3b00
cb3b00
%prep
cb3b00
%autosetup -S git -n %{name}-v%{version}
cb3b00
cb3b00
%build
cb3b00
%meson -Dgtk_doc=true -Dpam=true -Dpam_modules_dir=%{_libdir}/security
cb3b00
%meson_build
cb3b00
cb3b00
%install
cb3b00
%meson_install
cb3b00
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
cb3b00
cb3b00
cb3b00
%find_lang %{name}
cb3b00
cb3b00
%postun pam
cb3b00
if [ $1 -eq 0 ]; then
cb3b00
  /bin/authselect disable-feature with-fingerprint || :
cb3b00
fi
cb3b00
cb3b00
%files -f %{name}.lang
cb3b00
%doc README COPYING AUTHORS TODO
cb3b00
%{_bindir}/fprintd-*
cb3b00
%{_libexecdir}/fprintd
cb3b00
# FIXME This file should be marked as config when it does something useful
cb3b00
%{_sysconfdir}/fprintd.conf
cb3b00
%{_datadir}/dbus-1/system.d/net.reactivated.Fprint.conf
cb3b00
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
cb3b00
%{_unitdir}/fprintd.service
cb3b00
%{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
cb3b00
%{_localstatedir}/lib/fprint
cb3b00
%{_mandir}/man1/fprintd.1.gz
cb3b00
cb3b00
%files pam
cb3b00
%doc pam/README
cb3b00
%{_libdir}/security/pam_fprintd.so
cb3b00
%{_mandir}/man8/pam_fprintd.8.gz
cb3b00
cb3b00
%files devel
cb3b00
%{_datadir}/gtk-doc/
cb3b00
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
cb3b00
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
cb3b00
cb3b00
%changelog
cb3b00
* Thu Aug 26 2021 Benjamin Berg <bberg@redhat.com> - 1.94.0-3
cb3b00
- Use GFDL abbreviation as GFDLv1.1+ is not listed
cb3b00
- Install PAM module into /usr
cb3b00
- Pull in further test fixes
cb3b00
cb3b00
* Wed Aug 25 2021 Benjamin Berg <bberg@redhat.com> - 1.94.0-2
cb3b00
- Pull in build/test fixes from upstream
cb3b00
  Related: #1996636
cb3b00
cb3b00
* Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 1.94.0-1
cb3b00
- Update to 1.94.0
cb3b00
  Resolves: #1996636
cb3b00
cb3b00
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.90.9-4
cb3b00
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cb3b00
  Related: rhbz#1991688
cb3b00
cb3b00
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.90.9-3
cb3b00
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cb3b00
cb3b00
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.90.9-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cb3b00
cb3b00
* Wed Jan 13 13:33:37 CET 2021 Benjamin Berg <bberg@redhat.com> - 1.90.9-1
cb3b00
- Update to 1.90.9 (#1915788)
cb3b00
  Resolves: #1909669
cb3b00
  Resolves: #1909559
cb3b00
cb3b00
* Fri Dec 18 2020 Adam Williamson <awilliam@redhat.com> - 1.90.8-2
cb3b00
- Rebuild for libnss dependency issue
cb3b00
cb3b00
* Fri Dec 11 2020 Benjamin Berg <bberg@redhat.com> - 1.90.8-1
cb3b00
- Update to 1.90.8 (#1902255)
cb3b00
  This fixes PAM not working when fprintd was just started
cb3b00
cb3b00
* Wed Dec 09 2020 Benjamin Berg <bberg@redhat.com> - 1.90.7-1
cb3b00
- Update to 1.90.7 (#1902255)
cb3b00
  Resolves: #1905667
cb3b00
  Resolves: #1905964
cb3b00
cb3b00
* Mon Dec 07 2020 Benjamin Berg <bberg@redhat.com> - 1.90.6-1
cb3b00
- Update to 1.90.6 (#1902255)
cb3b00
  Resolves: #1904370
cb3b00
cb3b00
* Tue Dec 01 2020 Benjamin Berg <bberg@redhat.com> - 1.90.5-1
cb3b00
- Update to 1.90.5 (#1902255)
cb3b00
cb3b00
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.90.1-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cb3b00
cb3b00
* Mon Feb 10 2020 Bastien Nocera <bnocera@redhat.com> - 1.90.1-1
cb3b00
+ fprintd-1.90.1-1
cb3b00
- Update to 1.90.1
cb3b00
cb3b00
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cb3b00
cb3b00
* Wed Aug 14 2019 Benjamin Berg <bberg@redhat.com> - 0.9.0-1
cb3b00
+ fprintd-0.9.0-1
cb3b00
- Update to 0.9.0
cb3b00
- Add patch to fix length check of rhost
cb3b00
cb3b00
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cb3b00
cb3b00
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cb3b00
cb3b00
* Fri Jul 20 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-3
cb3b00
+ fprintd-0.8.1-3
cb3b00
- Fix missing .service file in files by installing systemd
cb3b00
cb3b00
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cb3b00
cb3b00
* Fri Jun 15 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-1
cb3b00
+ fprintd-0.8.1-1
cb3b00
- Update to 0.8.1
cb3b00
- Fixes a possible crash on exit (#1515720)
cb3b00
cb3b00
* Wed May 30 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.0-4
cb3b00
+ fprintd-0.8.0-4
cb3b00
- Rebuild
cb3b00
cb3b00
* Tue Feb 20 2018 Pavel Březina <pbrezina@redhat.com> - 0.8.0-3
cb3b00
+ fprintd-0.8.0-3
cb3b00
- Switch from authconfig to authselect
cb3b00
cb3b00
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cb3b00
cb3b00
* Wed Sep 13 2017 Bastien Nocera <bnocera@redhat.com> - 0.8.0-1
cb3b00
+ fprintd-0.8.0-1
cb3b00
- Update to 0.8.0
cb3b00
cb3b00
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cb3b00
cb3b00
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cb3b00
cb3b00
* Thu Feb 09 2017 Bastien Nocera <bnocera@redhat.com> - 0.7.0-2
cb3b00
+ fprintd-0.7.0-2
cb3b00
- Fix fprintd-pam being disabled after upgrade (#1398371)
cb3b00
cb3b00
* Wed Oct 12 2016 Bastien Nocera <bnocera@redhat.com> - 0.7.0-1
cb3b00
+ fprintd-0.7.0-1
cb3b00
- Update to 0.7.0
cb3b00
cb3b00
* Thu Sep 22 2016 Bastien Nocera <bnocera@redhat.com> - 0.6.0-5
cb3b00
- Fix warning when uninstalling fprintd-pam (#1203671)
cb3b00
cb3b00
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cb3b00
cb3b00
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cb3b00
cb3b00
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.6.0-2
cb3b00
- Rebuilt for Fedora 23 Change
cb3b00
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
cb3b00
cb3b00
* Tue Feb 03 2015 Bastien Nocera <bnocera@redhat.com> 0.6.0-1
cb3b00
- Update to 0.6.0
cb3b00
cb3b00
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cb3b00
cb3b00
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cb3b00
cb3b00
* Sun Aug 11 2013 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
cb3b00
- Update to 0.5.1
cb3b00
cb3b00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cb3b00
cb3b00
* Tue Mar 05 2013 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
cb3b00
- Update to 0.5.0
cb3b00
cb3b00
* Tue Feb 19 2013 Bastien Nocera <bnocera@redhat.com> 0.4.1-5
cb3b00
- Co-own the gtk-doc directory (#604351)
cb3b00
cb3b00
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cb3b00
cb3b00
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cb3b00
cb3b00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cb3b00
cb3b00
* Thu Nov 10 2011 Bastien Nocera <bnocera@redhat.com> 0.4.1-1
cb3b00
- Update to 0.4.1
cb3b00
cb3b00
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cb3b00
cb3b00
* Tue Nov 09 2010 Ray Strode <rstrode@redhat.com> 0.2.0-2
cb3b00
- Don't allow pam module to ever get unmapped, since that causes
cb3b00
  crashes in dbus-glib, gobject, etc.
cb3b00
cb3b00
* Thu Aug 19 2010 Bastien Nocera <bnocera@redhat.com> 0.2.0-1
cb3b00
- Update to 0.2.0
cb3b00
cb3b00
* Wed Dec 09 2009 Bastien Nocera <bnocera@redhat.com> 0.1-16.git04fd09cfa
cb3b00
- Remove use of g_error(), or people think that it crashes when we actually
cb3b00
  abort() (#543194)
cb3b00
cb3b00
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-15.git04fd09cfa
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cb3b00
cb3b00
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-14.git04fd09cfa
cb3b00
- Merge polkit patch and fix for polkit patch
cb3b00
cb3b00
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-13.git04fd09cfa
cb3b00
- Make the -devel package noarch (#507698)
cb3b00
cb3b00
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-12.git04fd09cfa
cb3b00
- Fix the pam module (#510152)
cb3b00
cb3b00
* Sat Jun 20 2009 Bastien Nocera <bnocera@redhat.com> 0.1-11.git04fd09cfa
cb3b00
- Remove obsolete patch
cb3b00
cb3b00
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-10.git04fd09cfa
cb3b00
- Port to PolicyKit 1
cb3b00
cb3b00
* Thu May 07 2009 Bastien Nocera <bnocera@redhat.com> 0.1-9.git04fd09cfa
cb3b00
- Add /var/lib/fprint to the RPM to avoid SELinux errors (#499513)
cb3b00
cb3b00
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 0.1-8.git04fd09cfa.1
cb3b00
- Excludearch s390 s390x, as we don't have libusb1 on mainframe, we can't build
cb3b00
  the required libfprint package
cb3b00
cb3b00
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git04fd09cfa
cb3b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cb3b00
cb3b00
* Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-7.git04fd09cfa
cb3b00
- Add a patch to handle device disconnects
cb3b00
cb3b00
* Mon Jan 26 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-6.git04fd09cfa
cb3b00
- Update to latest git, fixes some run-time warnings
cb3b00
cb3b00
* Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-5.git43fe72a2aa
cb3b00
- Add patch to stop leaking a D-Bus connection on failure
cb3b00
cb3b00
* Tue Dec 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-4.git43fe72a2aa
cb3b00
- Update D-Bus config file for recent D-Bus changes
cb3b00
cb3b00
* Thu Dec 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-3.git43fe72a2aa
cb3b00
- Update following comments in the review
cb3b00
cb3b00
* Sun Nov 23 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-2.gitaf42ec70f3
cb3b00
- Update to current git master, and add documentation
cb3b00
cb3b00
* Tue Nov 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-1
cb3b00
- First package
cb3b00