1 | %define gtk2_version 2.22.0 |
---|
2 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
3 | |
---|
4 | Summary: A framework for managing user passwords and other secrets |
---|
5 | Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク |
---|
6 | Name: gnome-keyring |
---|
7 | Version: 2.32.0 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: GPL/LGPL |
---|
10 | Group: System Environment/Libraries |
---|
11 | Source: gnome-keyring-%{version}.tar.bz2 |
---|
12 | URL: http://www.gnome.org |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | Requires: gtk2 >= %{gtk2_version} |
---|
15 | Requires(post,pre,preun): GConf2 |
---|
16 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
17 | BuildRequires: GConf2-devel >= 1.0 |
---|
18 | BuildRequires: dbus-devel >= 1.0 |
---|
19 | BuildRequires: gettext |
---|
20 | BuildRequires: libgcrypt-devel |
---|
21 | BuildRequires: libtasn1-devel |
---|
22 | BuildRequires: pam-devel |
---|
23 | BuildRequires: autoconf, automake, libtool |
---|
24 | BuildRequires: intltool |
---|
25 | BuildRequires: perl(XML::Parser) |
---|
26 | |
---|
27 | # http://bugzilla.gnome.org/show_bug.cgi?id=484612 |
---|
28 | Patch0: gnome-keyring-2.20-selinux-pam.patch |
---|
29 | |
---|
30 | # autounlock does not currently work, see |
---|
31 | # https://bugzilla.redhat.com/show_bug.cgi?id=250147 |
---|
32 | Patch1: no-autounlock.patch |
---|
33 | |
---|
34 | # patch for vine linux |
---|
35 | Patch2: %{name}-2.31.91-configure-vine.patch |
---|
36 | |
---|
37 | %description |
---|
38 | gnome-keyring manages passwords and other types of secrets |
---|
39 | for the user, storing them encrypted with a main password. |
---|
40 | Applications can use the gnome-keyring library to integrate |
---|
41 | with the keyring. |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: The files needed for gnome-keyring application development. |
---|
45 | Group: Development/Libraries |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | Requires: glib2-devel |
---|
48 | |
---|
49 | %description devel |
---|
50 | The gnome-keyring-devel package contains the libraries and |
---|
51 | include files that you can use to develop applications that |
---|
52 | use gnome-keyring. |
---|
53 | |
---|
54 | %package pam |
---|
55 | Summary: A pam module for unlocking keyrings at login time |
---|
56 | License: LGPLv2+ |
---|
57 | Group: System Environment/Libraries |
---|
58 | Requires: %{name} = %{version}-%{release} |
---|
59 | # for /lib/security |
---|
60 | Requires: pam |
---|
61 | |
---|
62 | %description pam |
---|
63 | The gnome-keyring-pam package contains a pam module that can |
---|
64 | automatically unlock the "login" keyring when the user logs in |
---|
65 | and start the keyring daemon. |
---|
66 | |
---|
67 | # compat32 |
---|
68 | %package -n compat32-%{name} |
---|
69 | Summary: A framework for managing user passwords and other secrets |
---|
70 | Summary(ja): ユーザのパスワードや秘匿情報を管理するためのフレームワーク |
---|
71 | Group: System Environment/Libraries |
---|
72 | Requires: %{name} = %{version}-%{release} |
---|
73 | |
---|
74 | %description -n compat32-%{name} |
---|
75 | gnome-keyring manages passwords and other types of secrets |
---|
76 | for the user, storing them encrypted with a main password. |
---|
77 | Applications can use the gnome-keyring library to integrate |
---|
78 | with the keyring. |
---|
79 | |
---|
80 | %package -n compat32-%{name}-devel |
---|
81 | Summary: The files needed for gnome-keyring application development. |
---|
82 | Group: Development/Libraries |
---|
83 | Requires: %{name}-devel = %{version}-%{release} |
---|
84 | Requires: compat32-%{name} = %{version}-%{release} |
---|
85 | Requires: compat32-glib2-devel |
---|
86 | |
---|
87 | %description -n compat32-%{name}-devel |
---|
88 | The gnome-keyring-devel package contains the libraries and |
---|
89 | include files that you can use to develop applications that |
---|
90 | use gnome-keyring. |
---|
91 | |
---|
92 | %package -n compat32-%{name}-pam |
---|
93 | Summary: A pam module for unlocking keyrings at login time |
---|
94 | License: LGPLv2+ |
---|
95 | Group: System Environment/Libraries |
---|
96 | Requires: %{name}-pam = %{version}-%{release} |
---|
97 | Requires: compat32-%{name} = %{version}-%{release} |
---|
98 | # for /lib/security |
---|
99 | Requires: compat32-pam |
---|
100 | |
---|
101 | %description -n compat32-%{name}-pam |
---|
102 | The gnome-keyring-pam package contains a pam module that can |
---|
103 | automatically unlock the "login" keyring when the user logs in |
---|
104 | and start the keyring daemon. |
---|
105 | |
---|
106 | %prep |
---|
107 | %setup -q -n gnome-keyring-%{version} |
---|
108 | |
---|
109 | #patch0 -p1 -b .selinux_pam |
---|
110 | #patch1 -p1 -b .no-autounlock |
---|
111 | %patch2 -p1 -b .vine |
---|
112 | |
---|
113 | %build |
---|
114 | %configure --disable-gtk-doc --enable-pam --with-pam-dir=/%{_lib}/security |
---|
115 | make %{?_smp_mflags} |
---|
116 | |
---|
117 | %install |
---|
118 | rm -rf $RPM_BUILD_ROOT |
---|
119 | make install install-pam DESTDIR=$RPM_BUILD_ROOT |
---|
120 | |
---|
121 | rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring.so |
---|
122 | |
---|
123 | %find_lang %{name} |
---|
124 | |
---|
125 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
126 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*.la |
---|
127 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/*/*.la |
---|
128 | rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la |
---|
129 | |
---|
130 | %clean |
---|
131 | rm -rf $RPM_BUILD_ROOT |
---|
132 | |
---|
133 | %post -p /sbin/ldconfig |
---|
134 | |
---|
135 | %postun |
---|
136 | /sbin/ldconfig |
---|
137 | if [ $1 -eq 0 ]; then |
---|
138 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
139 | fi |
---|
140 | |
---|
141 | %posttrans |
---|
142 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
143 | |
---|
144 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
145 | |
---|
146 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
147 | |
---|
148 | %files -f %{name}.lang |
---|
149 | %defattr(-, root, root) |
---|
150 | %doc AUTHORS NEWS README COPYING COPYING.LIB |
---|
151 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
---|
152 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop |
---|
153 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop |
---|
154 | %{_sysconfdir}/xdg/autostart/gnome-keyring-gpg.desktop |
---|
155 | %{_bindir}/* |
---|
156 | %{_libdir}/lib*.so.* |
---|
157 | %dir %{_libdir}/gnome-keyring |
---|
158 | %{_libdir}/gnome-keyring/*.so |
---|
159 | %{_libdir}/gnome-keyring/devel/*.so |
---|
160 | %{_libdir}/gnome-keyring/standalone/*.so |
---|
161 | %{_libexecdir}/* |
---|
162 | %{_datadir}/dbus-1/services/* |
---|
163 | %{_datadir}/gnome-keyring |
---|
164 | %dir %{_datadir}/gcr |
---|
165 | %{_datadir}/gcr/ui/*.ui |
---|
166 | %{_datadir}/GConf/gsettings/* |
---|
167 | %{_datadir}/glib-2.0/schemas/* |
---|
168 | |
---|
169 | %files devel |
---|
170 | %defattr(-, root, root) |
---|
171 | %{_libdir}/lib*.so |
---|
172 | %{_libdir}/pkgconfig/* |
---|
173 | %{_includedir}/* |
---|
174 | ## %{_datadir}/gtk-doc/html/gnome-keyring |
---|
175 | %{_datadir}/gtk-doc/html/gp11 |
---|
176 | %{_datadir}/gtk-doc/html/gcr-0 |
---|
177 | |
---|
178 | %files pam |
---|
179 | %defattr(-, root, root) |
---|
180 | /%{_lib}/security/*.so |
---|
181 | |
---|
182 | # compat32 |
---|
183 | %if %{build_compat32} |
---|
184 | %files -n compat32-%{name} |
---|
185 | %defattr(-, root, root) |
---|
186 | %{_libdir}/lib*.so.* |
---|
187 | %dir %{_libdir}/gnome-keyring |
---|
188 | %{_libdir}/gnome-keyring/*.so |
---|
189 | %{_libdir}/gnome-keyring/devel/*.so |
---|
190 | %{_libdir}/gnome-keyring/standalone/*.so |
---|
191 | |
---|
192 | %files -n compat32-%{name}-devel |
---|
193 | %defattr(-, root, root) |
---|
194 | %{_libdir}/lib*.so |
---|
195 | %{_libdir}/pkgconfig/* |
---|
196 | |
---|
197 | %files -n compat32-%{name}-pam |
---|
198 | %defattr(-, root, root) |
---|
199 | /%{_lib}/security/*.so |
---|
200 | %endif |
---|
201 | |
---|
202 | %changelog |
---|
203 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
204 | - new upstream release |
---|
205 | - add configure option (--enable-pam) |
---|
206 | - remove configure option (--disable-schemas-install) |
---|
207 | - add Patch2 (%{name}-2.31.91-configure-vine.patch) |
---|
208 | |
---|
209 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.3-2 |
---|
210 | - build with rpm-4.8.1-1 for pkg-config file |
---|
211 | |
---|
212 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1 |
---|
213 | - new upstream release |
---|
214 | |
---|
215 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
216 | - new upstream release |
---|
217 | |
---|
218 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
219 | - new upstream release |
---|
220 | - remove BuildRequires: hal-devel |
---|
221 | |
---|
222 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
223 | - new upstream release |
---|
224 | - add BuildRequires: GConf2-devel |
---|
225 | |
---|
226 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1 |
---|
227 | - new upstream release |
---|
228 | |
---|
229 | * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.3-2 |
---|
230 | - added compat32 package for x86_64 arch support |
---|
231 | |
---|
232 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1 |
---|
233 | - new upstream release |
---|
234 | |
---|
235 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
236 | - new upstream release |
---|
237 | |
---|
238 | * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
239 | - new upstream release |
---|
240 | |
---|
241 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
242 | - new upstream release |
---|
243 | |
---|
244 | * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
245 | - new upstream release |
---|
246 | |
---|
247 | * Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
248 | - new upstream release |
---|
249 | |
---|
250 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
251 | - new upstream release |
---|
252 | |
---|
253 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
254 | - new upstream release |
---|
255 | - added BuildRequires: libtasn1-devel |
---|
256 | |
---|
257 | * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1 |
---|
258 | - new upstream release |
---|
259 | - added a pam subpackage |
---|
260 | |
---|
261 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-0vl1 |
---|
262 | - new upstream release |
---|
263 | |
---|
264 | * Tue May 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.9-0vl1 |
---|
265 | - new upstream release |
---|
266 | |
---|
267 | * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.8-0vl1 |
---|
268 | - new upstream release |
---|
269 | |
---|
270 | * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.5-0vl1 |
---|
271 | - new upstream release |
---|
272 | |
---|
273 | * Wed Sep 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl1 |
---|
274 | - new upstream release |
---|
275 | |
---|
276 | * Fri Mar 25 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1 |
---|
277 | - new upstream version |
---|
278 | |
---|
279 | * Sun Dec 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1 |
---|
280 | - new upstream release |
---|
281 | |
---|
282 | * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
---|
283 | - initial build for Vine Linux based on fedora's spec file. |
---|
284 | |
---|
285 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
286 | - rebuilt |
---|
287 | |
---|
288 | * Thu Apr 1 2004 Alex Larsson <alexl@redhat.com> 0.2.0-1 |
---|
289 | - update to 0.2.0 |
---|
290 | |
---|
291 | * Wed Mar 10 2004 Alexander Larsson <alexl@redhat.com> 0.1.90-1 |
---|
292 | - update to 0.1.90 |
---|
293 | |
---|
294 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
---|
295 | - rebuilt |
---|
296 | |
---|
297 | * Tue Feb 24 2004 Alexander Larsson <alexl@redhat.com> 0.1.4-1 |
---|
298 | - update to 0.1.4 |
---|
299 | |
---|
300 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
301 | - rebuilt |
---|
302 | |
---|
303 | * Fri Jan 30 2004 Alexander Larsson <alexl@redhat.com> 0.1.3-1 |
---|
304 | - update to 0.1.3 |
---|
305 | |
---|
306 | * Mon Jan 26 2004 Bill Nottingham <notting@redhat.com> |
---|
307 | - tweak summary |
---|
308 | |
---|
309 | * Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-2 |
---|
310 | - devel package only needs glib2-devel, not gtk2-devel |
---|
311 | |
---|
312 | * Fri Jan 23 2004 Alexander Larsson <alexl@redhat.com> 0.1.2-1 |
---|
313 | - First version |
---|