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