884c0d
Name:		fprintd
8244b9
Version:	0.8.1
8244b9
Release:	2%{?dist}
884c0d
Summary:	D-Bus service for Fingerprint reader access
884c0d
884c0d
Group:		System Environment/Daemons
884c0d
License:	GPLv2+
8244b9
Source0:	https://gitlab.freedesktop.org/libfprint/fprintd/uploads/bdd9f91909f535368b7c21f72311704a/%{name}-%{version}.tar.xz
884c0d
Url:		http://www.freedesktop.org/wiki/Software/fprint/fprintd
884c0d
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
884c0d
ExcludeArch:    s390 s390x
884c0d
884c0d
BuildRequires:	dbus-glib-devel
884c0d
BuildRequires:	pam-devel
884c0d
BuildRequires:	libfprint-devel >= 0.1.0
884c0d
BuildRequires:	polkit-devel
884c0d
BuildRequires:	gtk-doc
884c0d
BuildRequires:	intltool
884c0d
BuildRequires:  autoconf automake libtool
884c0d
BuildRequires:	perl-podlators
884c0d
8244b9
# https://bugzilla.redhat.com/show_bug.cgi?id=1630309
8244b9
Patch0: 0001-Remove-sandboxing-that-s-unsupported-in-RHEL7-s-syst.patch
09bfdb
884c0d
%description
884c0d
D-Bus service to access fingerprint readers.
884c0d
884c0d
%package pam
884c0d
Summary:	PAM module for fingerprint authentication
884c0d
Requires:	%{name} = %{version}-%{release}
884c0d
# Note that we obsolete pam_fprint, but as the configuration
884c0d
# is different, it will be mentioned in the release notes
884c0d
Provides:	pam_fprint = %{version}-%{release}
884c0d
Obsoletes:	pam_fprint < 0.2-3
884c0d
884c0d
Group:		System Environment/Base
884c0d
License:	GPLv2+
884c0d
884c0d
%description pam
884c0d
PAM module that uses the fprintd D-Bus service for fingerprint
884c0d
authentication.
884c0d
884c0d
%package devel
884c0d
Summary:	Development files for %{name}
884c0d
Requires:	%{name} = %{version}-%{release}
884c0d
Group:		Development/Libraries
884c0d
License:	GFDLv1.1+
884c0d
BuildArch:	noarch
884c0d
884c0d
%description devel
884c0d
Development documentation for fprintd, the D-Bus service for
884c0d
fingerprint readers access.
884c0d
884c0d
%prep
8244b9
%autosetup -p1
884c0d
884c0d
%build
884c0d
%configure --libdir=/%{_lib}/ --enable-gtk-doc --enable-pam
884c0d
884c0d
make %{?_smp_mflags}
884c0d
884c0d
%install
884c0d
rm -rf $RPM_BUILD_ROOT
884c0d
make install DESTDIR=$RPM_BUILD_ROOT
884c0d
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
884c0d
884c0d
rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la,so.*}
884c0d
884c0d
%find_lang %{name}
884c0d
884c0d
%clean
884c0d
rm -rf $RPM_BUILD_ROOT
884c0d
884c0d
%files -f %{name}.lang
884c0d
%defattr(-,root,root,-)
884c0d
%doc README COPYING AUTHORS TODO
884c0d
%{_bindir}/fprintd-*
884c0d
%{_libexecdir}/fprintd
884c0d
# FIXME This file should be marked as config when it does something useful
884c0d
%{_sysconfdir}/fprintd.conf
884c0d
%{_sysconfdir}/dbus-1/system.d/net.reactivated.Fprint.conf
884c0d
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
884c0d
/usr/lib/systemd/system/fprintd.service
884c0d
%{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
884c0d
%{_localstatedir}/lib/fprint
884c0d
%{_mandir}/man1/fprintd.1.gz
884c0d
884c0d
%files pam
884c0d
%defattr(-,root,root,-)
884c0d
%doc pam/README
884c0d
/%{_lib}/security/pam_fprintd.so
884c0d
884c0d
%files devel
884c0d
%defattr(-,root,root,-)
884c0d
%{_datadir}/gtk-doc/
884c0d
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
884c0d
%{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
884c0d
884c0d
%changelog
8244b9
* Fri Sep 21 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-2
8244b9
+ fprintd-0.8.1-2
8244b9
- Fix systemd warnings
8244b9
- Resolves: #1630309
8244b9
8244b9
* Mon Jun 18 2018 Bastien Nocera <bnocera@redhat.com> - 0.8.1-1
8244b9
+ fprintd-0.8.1-1
8244b9
- Update to 0.8.1
8244b9
- Resolves: #1591757
d7c4bc
d7c4bc
* Mon May 12 2014 Bastien Nocera <bnocera@redhat.com> 0.5.0-4
d7c4bc
- Fix single eventfd leak for each iteration
d7c4bc
Resolves: #1050827
d7c4bc
09bfdb
* Mon Jan 06 2014 Bastien Nocera <bnocera@redhat.com> 0.5.0-3
09bfdb
- Fix build with strict pod2man
09bfdb
Resolves: #1048858
09bfdb
09bfdb
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.5.0-2
09bfdb
- Mass rebuild 2013-12-27
09bfdb
884c0d
* Tue Mar 05 2013 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
884c0d
- Update to 0.5.0
884c0d
884c0d
* Tue Feb 19 2013 Bastien Nocera <bnocera@redhat.com> 0.4.1-5
884c0d
- Co-own the gtk-doc directory (#604351)
884c0d
884c0d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
884c0d
884c0d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
884c0d
884c0d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
884c0d
884c0d
* Thu Nov 10 2011 Bastien Nocera <bnocera@redhat.com> 0.4.1-1
884c0d
- Update to 0.4.1
884c0d
884c0d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
884c0d
884c0d
* Tue Nov 09 2010 Ray Strode <rstrode@redhat.com> 0.2.0-2
884c0d
- Don't allow pam module to ever get unmapped, since that causes
884c0d
  crashes in dbus-glib, gobject, etc.
884c0d
884c0d
* Thu Aug 19 2010 Bastien Nocera <bnocera@redhat.com> 0.2.0-1
884c0d
- Update to 0.2.0
884c0d
884c0d
* Wed Dec 09 2009 Bastien Nocera <bnocera@redhat.com> 0.1-16.git04fd09cfa
884c0d
- Remove use of g_error(), or people think that it crashes when we actually
884c0d
  abort() (#543194)
884c0d
884c0d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-15.git04fd09cfa
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
884c0d
884c0d
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-14.git04fd09cfa
884c0d
- Merge polkit patch and fix for polkit patch
884c0d
884c0d
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.1-13.git04fd09cfa
884c0d
- Make the -devel package noarch (#507698)
884c0d
884c0d
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-12.git04fd09cfa
884c0d
- Fix the pam module (#510152)
884c0d
884c0d
* Sat Jun 20 2009 Bastien Nocera <bnocera@redhat.com> 0.1-11.git04fd09cfa
884c0d
- Remove obsolete patch
884c0d
884c0d
* Tue Jun 9 2009 Matthias Clasen <mclasen@redhat.com> 0.1-10.git04fd09cfa
884c0d
- Port to PolicyKit 1
884c0d
884c0d
* Thu May 07 2009 Bastien Nocera <bnocera@redhat.com> 0.1-9.git04fd09cfa
884c0d
- Add /var/lib/fprint to the RPM to avoid SELinux errors (#499513)
884c0d
884c0d
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 0.1-8.git04fd09cfa.1
884c0d
- Excludearch s390 s390x, as we don't have libusb1 on mainframe, we can't build
884c0d
  the required libfprint package
884c0d
884c0d
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git04fd09cfa
884c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
884c0d
884c0d
* Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-7.git04fd09cfa
884c0d
- Add a patch to handle device disconnects
884c0d
884c0d
* Mon Jan 26 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-6.git04fd09cfa
884c0d
- Update to latest git, fixes some run-time warnings
884c0d
884c0d
* Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-5.git43fe72a2aa
884c0d
- Add patch to stop leaking a D-Bus connection on failure
884c0d
884c0d
* Tue Dec 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-4.git43fe72a2aa
884c0d
- Update D-Bus config file for recent D-Bus changes
884c0d
884c0d
* Thu Dec 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-3.git43fe72a2aa
884c0d
- Update following comments in the review
884c0d
884c0d
* Sun Nov 23 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-2.gitaf42ec70f3
884c0d
- Update to current git master, and add documentation
884c0d
884c0d
* Tue Nov 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-1
884c0d
- First package
884c0d