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