fprintd-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. %define long_hash 04fd09cfa88718838e02f4419befc1a0dd4b5a0e
  2. %define short_hash 04fd09cfa
  3. Summary: D-Bus service for Fingerprint reader access
  4. Summary(ja): 指紋リーダにアクセスするための D-Bus サービス
  5. Name: fprintd
  6. Version: 0.5.1
  7. Release: 1%{?_dist_release}
  8. Group: System Environment/Daemons
  9. License: GPLv2+
  10. # git clone git://projects.reactivated.net/~dsd/fprintd.git
  11. # cd fprintd
  12. # git reset --hard %{long_hash}
  13. # ./autogen.sh && make distcheck
  14. # mv fprintd-0.1.tar.bz2 fprintd-0.1-%{short_hash}.tar.bz2
  15. URL: http://www.reactivated.net/fprint/wiki/Fprintd
  16. Source0: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: dbus-glib-devel
  19. BuildRequires: pam-devel
  20. BuildRequires: libfprint-devel >= 0.1.0
  21. BuildRequires: polkit-devel
  22. BuildRequires: gtk-doc
  23. BuildRequires: perl(XML::Parser) intltool
  24. %description
  25. D-Bus service to access fingerprint readers.
  26. %package pam
  27. Summary: PAM module for fingerprint authentication
  28. Summary(ja): 指紋認証のための PAM モジュール
  29. Requires: %{name} = %{version}-%{release}
  30. Group: System Environment/Base
  31. License: GPLv2+
  32. %description pam
  33. PAM module that uses the fprintd D-Bus service for fingerprint
  34. authentication.
  35. %package devel
  36. Summary: Development files for %{name}
  37. Summary(ja): %{name} の開発ファイル
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: gtk-doc
  40. Group: Development/Libraries
  41. License: GFDLv1.1+
  42. %description devel
  43. Development documentation for fprintd, the D-Bus service for
  44. fingerprint readers access.
  45. %prep
  46. %setup -q -n %{name}-%{version}
  47. %build
  48. %configure --libdir=/%{_lib}/ --enable-gtk-doc --enable-pam
  49. make %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/fprint
  54. rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_fprintd.{a,la}
  55. %find_lang %{name}
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc README COPYING AUTHORS TODO
  61. %{_bindir}/fprintd-*
  62. %{_libexecdir}/fprintd
  63. # FIXME This file should be marked as config when it does something useful
  64. %{_sysconfdir}/fprintd.conf
  65. %{_sysconfdir}/dbus-1/system.d/net.reactivated.Fprint.conf
  66. %{_datadir}/dbus-1/system-services/net.reactivated.Fprint.service
  67. %{_datadir}/polkit-1/actions/net.reactivated.fprint.device.policy
  68. %{_localstatedir}/lib/fprint
  69. %{_mandir}/man1/fprintd.1.gz
  70. %files pam
  71. %defattr(-,root,root,-)
  72. %doc pam/README
  73. /%{_lib}/security/pam_fprintd.so
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_datadir}/gtk-doc/html/fprintd
  77. %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
  78. %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml
  79. %changelog
  80. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.1-1
  81. - new upstream release
  82. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  83. - update to 0.4.1
  84. - change BuildRequires: polkit-devel instead of PolicyKit-devel
  85. - remove old patches
  86. * Tue May 3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1-2.git04fd09cfa
  87. - rebuilt with current VineSeed
  88. * Wed May 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1-1.git04fd09cfa
  89. - initial build for Vine Linux
  90. * Thu May 07 2009 Bastien Nocera <bnocera@redhat.com> 0.1-9.git04fd09cfa
  91. - Add /var/lib/fprint to the RPM to avoid SELinux errors (#499513)
  92. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8.git04fd09cfa
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  94. * Tue Jan 27 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-7.git04fd09cfa
  95. - Add a patch to handle device disconnects
  96. * Mon Jan 26 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1-6.git04fd09cfa
  97. - Update to latest git, fixes some run-time warnings
  98. * Wed Dec 17 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-5.git43fe72a2aa
  99. - Add patch to stop leaking a D-Bus connection on failure
  100. * Tue Dec 09 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-4.git43fe72a2aa
  101. - Update D-Bus config file for recent D-Bus changes
  102. * Thu Dec 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-3.git43fe72a2aa
  103. - Update following comments in the review
  104. * Sun Nov 23 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-2.gitaf42ec70f3
  105. - Update to current git master, and add documentation
  106. * Tue Nov 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.1-1
  107. - First package