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