123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- %define long_hash 04fd09cfa88718838e02f4419befc1a0dd4b5a0e
- %define short_hash 04fd09cfa
- Summary: D-Bus service for Fingerprint reader access
- Summary(ja): 指紋リーダにアクセスするための D-Bus サービス
- Name: fprintd
- Version: 0.1
- Release: 1.git%{short_hash}%{?_dist_release}
- 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
- Patch1: 0001-Detect-when-a-device-is-disconnected.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
- Summary(ja): 指紋認証のための PAM モジュール
- Requires: %{name} = %{version}-%{release}
- 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}
- Summary(ja): %{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
- %patch1 -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
- mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
- %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
- %{_localstatedir}/lib/fprint
- %files pam
- %defattr(-,root,root,-)
- %doc pam/README
- /%{_lib}/security/pam_fprintd.so
- %files devel
- %defattr(-,root,root,-)
- %{_datadir}/gtk-doc/html/fprintd
- %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
- %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
- %changelog
- * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1-1.git04fd09cfa
- - initial build for Vine Linux
- * Thu May 07 2009 Bastien Nocera <bnocera@redhat.com> 0.1-9.git04fd09cfa
- - Add /var/lib/fprint to the RPM to avoid SELinux errors (#499513)
- * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git04fd09cfa
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-7.git04fd09cfa
- - Add a patch to handle device disconnects
- * Mon Jan 26 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-6.git04fd09cfa
- - Update to latest git, fixes some run-time warnings
- * Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-5.git43fe72a2aa
- - Add patch to stop leaking a D-Bus connection on failure
- * Tue Dec 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-4.git43fe72a2aa
- - Update D-Bus config file for recent D-Bus changes
- * 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
|