- Update following comments in the review
This commit is contained in:
parent
6f2ce3d462
commit
487ae1a500
@ -0,0 +1 @@
|
||||
fprintd-0.1-43fe72a2aa.tar.bz2
|
||||
103
fprintd.spec
Normal file
103
fprintd.spec
Normal file
@ -0,0 +1,103 @@
|
||||
%define long_hash 43fe72a2aad91576e16b418cf31fcbe886c1de60
|
||||
%define short_hash 43fe72a2aa
|
||||
|
||||
Name: fprintd
|
||||
Version: 0.1
|
||||
Release: 3.git%{short_hash}%{?dist}
|
||||
Summary: D-Bus service for Fingerprint reader access
|
||||
|
||||
Group: System Environment/Daemons
|
||||
License: GPLv2+
|
||||
# git clone git://projects.reactivated.net/~dsd/fprintd.git
|
||||
# cd fprintd
|
||||
# git reset --hard %{long_hash}
|
||||
# ./autogen.sh && make distcheck
|
||||
# mv fprintd-0.1.tar.bz2 fprintd-0.1-%{short_hash}.tar.bz2
|
||||
Source0: fprintd-0.1-%{short_hash}.tar.bz2
|
||||
# FIXME remove when we have a newer libfprint
|
||||
Patch0: old-libfprint.patch
|
||||
Url: http://www.reactivated.net/fprint/wiki/Fprintd
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: libfprint-devel >= 0.1.0
|
||||
BuildRequires: PolicyKit-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: perl(XML::Parser) intltool
|
||||
|
||||
%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
|
||||
|
||||
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}
|
||||
Requires: gtk-doc
|
||||
Group: Development/Libraries
|
||||
License: GFDLv1.1+
|
||||
|
||||
%description devel
|
||||
Development documentation for fprintd, the D-Bus service for
|
||||
fingerprint readers access.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --libdir=/%{_lib}/ --enable-gtk-doc --enable-pam
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%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
|
||||
%{_sysconfdir}/dbus-1/system.d/net.reactivated.Fprint.conf
|
||||
%{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
|
||||
%{_datadir}/PolicyKit/policy/net.reactivated.fprint.device.policy
|
||||
|
||||
%files pam
|
||||
%defattr(-,root,root,-)
|
||||
%doc pam/README
|
||||
/%{_lib}/security/pam_fprintd.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/gtk-doc/html/fprintd
|
||||
|
||||
%changelog
|
||||
* Thu Dec 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-3.git43fe72a2aa
|
||||
- Update following comments in the review
|
||||
|
||||
* Sun Nov 23 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-2.gitaf42ec70f3
|
||||
- Update to current git master, and add documentation
|
||||
|
||||
* Tue Nov 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-1
|
||||
- First package
|
||||
|
||||
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
fprintd-0_1-3_git43fe72a2aa_fc10:HEAD:fprintd-0.1-3.git43fe72a2aa.fc10.src.rpm:1228470389
|
||||
20
old-libfprint.patch
Normal file
20
old-libfprint.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/src/device.c b/src/device.c
|
||||
index e3f7c3b..c1fc1c3 100644
|
||||
--- a/src/device.c
|
||||
+++ b/src/device.c
|
||||
@@ -184,11 +184,14 @@ static void fprint_device_get_property(GObject *object, guint property_id,
|
||||
case FPRINT_DEVICE_SCAN_TYPE: {
|
||||
const char *type;
|
||||
|
||||
+ //FIXME until we get a newer libfprint
|
||||
+ type = "press";
|
||||
+#if 0
|
||||
if (fp_driver_get_scan_type (fp_dscv_dev_get_driver (priv->ddev)) == FP_SCAN_TYPE_PRESS)
|
||||
type = "press";
|
||||
else
|
||||
type = "swipe";
|
||||
-
|
||||
+#endif
|
||||
g_value_set_static_string (value, type);
|
||||
break;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user