author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 16546 | b26d5ee6dca2 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gnome-keyring |
|
3 |
# |
|
15611 | 4 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner jefftsai |
9397 | 9 |
# |
16427 | 10 |
|
11 |
%define OSR gnome.org:0 |
|
12 |
||
9397 | 13 |
Name: gnome-keyring |
14540 | 14 |
License: GPL v2, LGPL v2 |
9397 | 15 |
Group: System/GUI/GNOME |
16229 | 16 |
Version: 2.27.90 |
9397 | 17 |
Release: 4 |
18 |
Distribution: Java Desktop System |
|
19 |
Vendor: Sun Microsystems, Inc. |
|
14547 | 20 |
URL: http://www.gnome.org |
9397 | 21 |
Summary: GNOME Key Ring |
16018 | 22 |
Source: http://download.gnome.org/sources/%{name}/2.27/%{name}-%{version}.tar.bz2 |
12031 | 23 |
%if %build_l10n |
14547 | 24 |
Source1: l10n-configure.sh |
12031 | 25 |
%endif |
15729 | 26 |
# date:2009-03-03 owner:jefftsai type:branding |
15395 | 27 |
Patch1: gnome-keyring-01-not-check-asn1parser.diff |
15729 | 28 |
# date:2009-03-03 owner:jefftsai type:bug bugzilla:572527 |
15283 | 29 |
Patch2: gnome-keyring-02-ssh-agent.diff |
16231 | 30 |
# date:2009-08-11 owner:jefftsai type:bug bugzilla:591415 doo:10488 |
31 |
Patch3: gnome-keyring-03-timer-shutdown.diff |
|
9397 | 32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
33 |
Autoreqprov: on |
|
34 |
Prereq: /sbin/ldconfig |
|
35 |
||
36 |
%define gtk2_version 2.4.0 |
|
37 |
%define pkgconfig_version 0.15.0 |
|
38 |
%define gtk_doc_version 1.1 |
|
39 |
||
40 |
Requires: gtk2 >= %{gtk2_version} |
|
41 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
42 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
43 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
44 |
||
45 |
%description |
|
46 |
gnome-keyring is a program that keep password and other secrets for |
|
47 |
users. It is run as a daemon in the session, similar to ssh-agent, and |
|
48 |
other applications can locate it by an environment variable. |
|
49 |
||
50 |
The program can manage several keyrings, each with its own master |
|
51 |
password, and there is also a session keyring which is never stored to |
|
52 |
disk, but forgotten when the session ends. |
|
53 |
||
54 |
The library libgnome-keyring is used by applications to integrate with |
|
55 |
the gnome keyring system. |
|
56 |
||
57 |
%package devel |
|
58 |
Summary: GNOME Key Ring Library |
|
59 |
Group: Development/Libraries/GNOME |
|
60 |
Requires: %{name} = %{version} |
|
61 |
Requires: gtk2-devel >= %{gtk2_version} |
|
62 |
||
63 |
%description devel |
|
64 |
gnome-keyring is a program that keep password and other secrets for |
|
65 |
users. It is run as a daemon in the session, similar to ssh-agent, and |
|
66 |
other applications can locate it by an environment variable. |
|
67 |
||
68 |
The program can manage several keyrings, each with its own master |
|
69 |
password, and there is also a session keyring which is never stored to |
|
70 |
disk, but forgotten when the session ends. |
|
71 |
||
72 |
The library libgnome-keyring is used by applications to integrate with |
|
73 |
the gnome keyring system. |
|
74 |
||
75 |
%prep |
|
76 |
%setup -q |
|
14619 | 77 |
%patch1 -p1 |
15283 | 78 |
%patch2 -p1 |
16231 | 79 |
%patch3 -p1 |
9397 | 80 |
|
81 |
%build |
|
82 |
%ifos linux |
|
83 |
if [ -x /usr/bin/getconf ]; then |
|
84 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
85 |
fi |
|
86 |
%else |
|
87 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
88 |
%endif |
|
89 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
90 |
CPUS=1 |
|
91 |
fi |
|
92 |
||
93 |
libtoolize --force |
|
94 |
intltoolize -f -c --automake |
|
12031 | 95 |
|
96 |
%if %build_l10n |
|
97 |
bash -x %SOURCE1 --enable-copyright |
|
98 |
%endif |
|
99 |
||
9397 | 100 |
aclocal $ACLOCAL_FLAGS -I . |
101 |
autoconf |
|
102 |
autoheader |
|
103 |
automake -a -c -f |
|
104 |
||
11637 | 105 |
CFLAGS="$RPM_OPT_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ |
9397 | 106 |
./configure --prefix=%{_prefix} \ |
107 |
--sysconfdir=%{_sysconfdir} \ |
|
108 |
--mandir=%{_mandir} \ |
|
10462 | 109 |
--disable-pam \ |
9397 | 110 |
--libexecdir=%{_libexecdir} |
111 |
||
112 |
# FIXME: hack: stop the build from looping |
|
113 |
touch po/stamp-it |
|
114 |
||
115 |
make -j $CPUS |
|
116 |
||
117 |
%install |
|
14547 | 118 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
119 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
120 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
121 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
122 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
15158 | 123 |
rm $RPM_BUILD_ROOT%{_bindir}/gnome-keyring |
9397 | 124 |
|
12147 | 125 |
#%check |
126 |
make check |
|
127 |
||
9397 | 128 |
%clean |
129 |
rm -rf $RPM_BUILD_ROOT |
|
130 |
||
131 |
%post |
|
132 |
/sbin/ldconfig |
|
133 |
||
134 |
%postun |
|
135 |
/sbin/ldconfig |
|
136 |
||
137 |
%files |
|
138 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
139 |
%{_bindir}/* |
|
140 |
%{_libdir}/lib*.so.* |
|
141 |
%{_libexecdir}/gnome-keyring-ask |
|
142 |
||
143 |
%files devel |
|
144 |
%{_libdir}/pkgconfig/*.pc |
|
145 |
%{_includedir}/gnome-keyring-1/* |
|
146 |
%{_libdir}/lib*.so |
|
147 |
||
148 |
%changelog |
|
16229 | 149 |
* Tue Aug 11 2009 - [email protected] |
16231 | 150 |
- Add patch -03-timer-shutdown, fix bugzilla #591415 doo #10488 |
151 |
Not join timer thread since it might already ends. |
|
152 |
* Tue Aug 11 2009 - [email protected] |
|
16229 | 153 |
- Bump to 2.27.90. |
16148 | 154 |
* Tue Jul 28 2009 - [email protected] |
155 |
- Bump to 2.27.5. |
|
16018 | 156 |
* Tue Jul 14 2009 - [email protected] |
157 |
- Bump to 2.27.4 |
|
15611 | 158 |
* Tue Apr 14 2009 - [email protected] |
159 |
- Bump to 2.26.1 |
|
15395 | 160 |
* Mon Mar 16 2009 - [email protected] |
161 |
- Bump to 2.26.0 |
|
162 |
- Remove patch -01-disable-im, upstreamed. |
|
163 |
- Add patch 01-not-check-asn1parser to disable checking |
|
164 |
asn1parser since it is not shipped by libtasn1 due to |
|
165 |
GPLv3 issue. |
|
15275 | 166 |
* Tue Mar 03 2009 - [email protected] |
15283 | 167 |
- Add patch -02-ssh-agent, if one slot is correct, not |
168 |
return error. Fix #572527 |
|
169 |
* Tue Mar 03 2009 - [email protected] |
|
15275 | 170 |
- Bump to 2.25.92 |
171 |
- Remove -02-secure-memory-union, upstreamed. |
|
15158 | 172 |
* Thu Feb 19 2009 - [email protected] |
173 |
- Remove /usr/bin/gnome-keyring since it is only a tool |
|
174 |
and not complete yet. |
|
15086 | 175 |
* Mon Feb 16 2009 - [email protected] |
176 |
- Bump to 2.25.91 |
|
177 |
- Add patch -02-secure-memory-union to fix uname union, |
|
178 |
Fix bugzilla #571951 |
|
15079 | 179 |
* Fri Feb 13 2009 - [email protected] |
180 |
- Change the owner to jeff cai. |
|
15008 | 181 |
* Wed Feb 04 2009 - [email protected] |
182 |
- Bump to 2.25.90 |
|
14941 | 183 |
* Wed Jan 20 2009 - [email protected] |
184 |
- Bump to 2.25.5 |
|
185 |
- Remove patch -02-return-void, upstreamed |
|
14886 | 186 |
* Wed Jan 09 2009 - [email protected] |
187 |
- Bump to 2.25.4.2 |
|
188 |
- Add patch -02-return-void, fix #567121. |
|
14764 | 189 |
* Fri Dec 12 2008 - [email protected] |
190 |
- Bump to 2.25.2 |
|
191 |
- Remove patch -02-hal-error.diff, upstreamed |
|
192 |
- Remove patch -03-libtasn1.diff, upstreamed |
|
14727 | 193 |
* Mon Dec 08 2008 - [email protected] |
194 |
- Add patch -03-libtasn to get building flag with pkg-config |
|
195 |
Fix #563702 |
|
14673 | 196 |
* Fri Nov 28 2008 - [email protected] |
197 |
- Add patch -02-hal-error.diff to not print null string in printf. |
|
14619 | 198 |
* Tue Nov 18 2008 - [email protected] |
199 |
- Add gnome-keyring-01-disable-im.diff to disable input method in password. |
|
14568 | 200 |
* Tue Nov 07 2008 - [email protected] |
201 |
- Bump to 2.25.1 |
|
14547 | 202 |
* Tue Nov 04 2008 - [email protected] |
203 |
- Bump to 2.24.1 |
|
204 |
- Remove upstreamed patch logout.diff |
|
14540 | 205 |
* Fri Oct 31 2008 - [email protected] |
206 |
- Change the license tag. |
|
14468 | 207 |
* Wed Oct 15 2008 - [email protected] |
208 |
- Add bugzilla bug id for -01-logout patch. |
|
13715 | 209 |
* Mon Sep 22 2008 - [email protected] |
210 |
- Bump to 2.24.0 |
|
13443 | 211 |
* Tue Sep 09 2008 - [email protected] |
212 |
- Bump to 2.23.92 |
|
13446 | 213 |
- Remove patch 02-timegm.diff |
13421 | 214 |
* Fri Sep 05 2008 - [email protected] |
215 |
- Bump to 2.23.91 |
|
216 |
- Add patch -02-timegm.diff |
|
13273 | 217 |
* Mon Aug 26 2008 - [email protected] |
218 |
- Change the bug comment. |
|
13166 | 219 |
* Mon Aug 19 2008 - [email protected] |
220 |
- Bump to 2.23.90 |
|
221 |
||
13147 | 222 |
* Mon Aug 18 2008 - [email protected] |
223 |
- Remove gnome-keyring-pkcs11.la |
|
224 |
||
13016 | 225 |
* Tue Aug 05 2008 - [email protected] |
13025 | 226 |
- Add patch -01-logout.diff |
227 |
Fix bugster 6732147. |
|
228 |
||
229 |
* Tue Aug 05 2008 - [email protected] |
|
13016 | 230 |
- Bump to 2.23.6. |
231 |
||
12882 | 232 |
* Tue Jul 22 2008 - [email protected] |
233 |
- Bump to 2.23.5. |
|
234 |
||
12697 | 235 |
* Wed Jun 18 2008 - [email protected] |
236 |
- Bump to 2.22.2. Remove -01-strsep, -02-gulong2gsize |
|
12882 | 237 |
|
12147 | 238 |
* Wed Apr 16 2008 - [email protected] |
239 |
- Add 'make check' call after %install. |
|
12882 | 240 |
|
11637 | 241 |
* Thu Feb 14 2008 - [email protected] |
242 |
- Add patch 02-gulong2gsize to sync with changes in glib 2.15.5. Also modify |
|
243 |
CFLAGS to find a glib header. |
|
244 |
||
11561 | 245 |
* Wed Jan 30 2008 - [email protected] |
246 |
- Revert to 2.20.3 because the AM_PATH_LIBTASN1 macro is unavailable. |
|
247 |
||
11552
8535125c856c
* base-specs/gnome-keyring.spec: Fix typo in download URL
pale
parents:
11546
diff
changeset
|
248 |
* Tue Jan 29 2008 - [email protected] |
8535125c856c
* base-specs/gnome-keyring.spec: Fix typo in download URL
pale
parents:
11546
diff
changeset
|
249 |
- Fix typo in download URL |
11561 | 250 |
|
11546 | 251 |
* Tue Jan 29 2008 - [email protected] |
252 |
- Bump to 2.21.90. |
|
253 |
||
11489 | 254 |
* Sun Jan 20 2008 - [email protected] |
255 |
- Version unbumped to 2.20 by damien but download directory |
|
256 |
was still 2.21. Fixed by changing to /pub/SOURCES/2.20 |
|
11546 | 257 |
|
11487 | 258 |
* Fri Jan 18 2008 - [email protected] |
259 |
- Revert to 2.20.3 because the AM_PATH_LIBTASN1 macro is unavailable. |
|
260 |
||
11477 | 261 |
* Thu Jan 17 2008 - [email protected] |
262 |
- Bump to 2.21.5. |
|
263 |
||
264 |
* Mon Jan 07 2008 - [email protected] |
|
11405 | 265 |
- Bump to 2.20.3. |
266 |
||
11340 | 267 |
* Wed Dec 19 2007 - [email protected] |
268 |
- Version unbumped to 2.20 by damien but download directory |
|
269 |
was still 2.21. Fixed by changing to /pub/SOURCES/2.20 |
|
11405 | 270 |
|
11329 | 271 |
* Tue Dec 18 2007 - [email protected] |
272 |
- Bump to 2.21.4. |
|
273 |
||
11247 | 274 |
* Tue Nov 27 2007 - [email protected] |
275 |
- Bump to 2.20.2. |
|
276 |
||
10674 | 277 |
* Fri Oct 19 2007 - [email protected] |
10675 | 278 |
- Bump to 2.20.1. Remove upstream patch, 02-new-keyring-bug. |
10674 | 279 |
|
10515 | 280 |
* Tue Sep 18 2007 - [email protected] |
281 |
- Bump to 2.20.0. Remove upstream patch, 02-export-symbols. Renumber rest. |
|
282 |
||
10492 | 283 |
* Thu Sep 13 2007 - [email protected] |
284 |
- Added patch for bugzilla bug: 476644, which presents issues when creating a |
|
285 |
new keyring where non existed before : gnome-keyring-03-new-keyring-bug.diff |
|
10515 | 286 |
|
10449 | 287 |
* Wed Sep 05 2007 - [email protected] |
288 |
- Bump to 2.19.91. |
|
289 |
- Add patch 02-export-symbols for bugzilla #473796 |
|
290 |
- Remove upstream patches, XX-err_to_g_error and XX-string_header |
|
291 |
||
10343 | 292 |
* Thu Aug 16 2007 - [email protected] |
293 |
- Unbump to 2.19.6.1 because of build error I cannot figure out. |
|
294 |
||
10324 | 295 |
* Wed Aug 15 2007 - [email protected] |
296 |
- Bump to 2.19.90. Remove upstream patches, 01-err_to_g_error and |
|
297 |
02-string_header. |
|
298 |
||
10235 | 299 |
* Mon Jul 30 2007 - [email protected] |
300 |
- Add 3 patches, 01-err_to_g_error, 02-string_header and 03-strsep to fix |
|
301 |
Solaris specific build issues. |
|
302 |
||
10233 | 303 |
* Tue Jul 31 2007 - [email protected] |
304 |
- Bump to 2.19.6.1. |
|
305 |
||
10230 | 306 |
* Mon Jul 30 2007 - [email protected] |
307 |
- Bump to 2.19.6. Remove upstream patch, 01-suncc-build-fail. |
|
308 |
||
10167 | 309 |
* Mon Jul 09 2007 - [email protected] |
310 |
- Bump to 2.19.5. |
|
311 |
- Add patch suncc-build-fail.diff to let build pass. |
|
312 |
||
10079 | 313 |
* Tue Jun 19 2007 - [email protected] |
314 |
- Bump to 2.19.4.1. |
|
315 |
||
10068 | 316 |
* Mon Jun 18 2007 - [email protected] |
317 |
- Bump to 2.19.4. |
|
318 |
||
9903 | 319 |
* Tue May 15 2007 - [email protected] |
320 |
- Bump to 2.19.2. Remove unneeded patch, 01-pkcs. gnome-keyring uses libgcrypt |
|
321 |
now. |
|
322 |
||
9693 | 323 |
* Sun Apr 08 2007 - [email protected] |
324 |
- Bump to 0.8.1. Remove upstream patch, 02-crash. |
|
325 |
||
9629
3d812abc1b50
* base-specs/gnome-keyring.spec: Add patch crash.diff.
halton
parents:
9529
diff
changeset
|
326 |
* Tue Mar 27 2007 - [email protected] |
3d812abc1b50
* base-specs/gnome-keyring.spec: Add patch crash.diff.
halton
parents:
9529
diff
changeset
|
327 |
- Add patch crash.diff. |
3d812abc1b50
* base-specs/gnome-keyring.spec: Add patch crash.diff.
halton
parents:
9529
diff
changeset
|
328 |
|
9528 | 329 |
* Mon Mar 12 2007 - [email protected] |
9529
17ccc91ef413
Correct gnome-keyring version number s/0.8.0/0.8/
dcarbery
parents:
9528
diff
changeset
|
330 |
- Bump to 0.8. |
9528 | 331 |
|
9458 | 332 |
* Tue Mar 06 2007 - [email protected] |
333 |
- Bump to 0.7.92. |
|
334 |
||
9397 | 335 |
* Tue Feb 13 2007 - [email protected] |
336 |
- Bump to 0.7.91. |
|
337 |
||
338 |
* Fri Jan 05 2007 - [email protected] |
|
339 |
- Bump to 0.7.3. |
|
340 |
||
341 |
* Tue Dec 19 2006 - [email protected] |
|
342 |
- Bump to 0.7.2. |
|
343 |
||
344 |
* Wed Dec 06 2006 - [email protected] |
|
345 |
- Add intltoolize to read LIGUAS file. Fixes 6498950 |
|
346 |
||
347 |
* Mon Sep 04 2006 - [email protected] |
|
348 |
- Bump to 0.6.0. |
|
349 |
||
350 |
* Fri Jul 20 2006 - [email protected] |
|
351 |
- Bump to 0.5.1. |
|
352 |
||
353 |
* Tue May 02 2006 - [email protected] |
|
354 |
- Remove unneeded intltoolize call. |
|
355 |
||
356 |
* Mon Mar 13 2006 - [email protected] |
|
357 |
- Bump to 0.4.9. |
|
358 |
||
359 |
* Tue Feb 28 2006 - [email protected] |
|
360 |
- Bump to 0.4.8. |
|
361 |
||
362 |
* Mon Feb 13 2006 - [email protected] |
|
363 |
- Bump to 0.4.7. |
|
364 |
- Add hack to fix infinite loop problem in po/Makefile. |
|
365 |
||
366 |
* Tue Nov 29 2005 - [email protected] |
|
367 |
- Bump to 0.4.6. |
|
368 |
||
369 |
* Thu Sep 15 2005 - [email protected] |
|
370 |
- Bump to 0.4.5. |
|
371 |
||
372 |
* Fri Sep 09 2005 - [email protected] |
|
373 |
- call intltoolize so that the correct Makefile.in.in is copied to po |
|
374 |
||
375 |
* Tue Sep 06 2005 - [email protected] |
|
376 |
- Call glib-gettextize as po/Makefile.in.in not in tarball. Add patch to |
|
377 |
skip the 'ar' locale as its files has problems #315335. |
|
378 |
||
379 |
* Mon Sep 05 2005 - [email protected] |
|
380 |
- Bump to 0.4.4. |
|
381 |
||
382 |
* Mon Aug 15 2005 - [email protected] |
|
383 |
- Bump to 0.4.3. |
|
384 |
||
385 |
* Wed Jun 15 2005 - [email protected] |
|
386 |
- Add more libs to LDADD so that it builds with the new pkgconfig |
|
387 |
||
388 |
* Fri May 06 2005 - [email protected] |
|
389 |
- Bump to 0.4.2 |
|
390 |
||
391 |
* Fri Aug 29 2004 - [email protected] |
|
392 |
- Added patch 01 for pkcs support. |
|
393 |
||
394 |
* Wed Aug 18 2004 - [email protected] |
|
395 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
396 |
configure takes. |
|
397 |
||
398 |
* Thu Jul 08 2004 - [email protected] |
|
399 |
- Updated l10n content to gnome-keyring-l10n-po-1.2.tar.bz2 |
|
400 |
||
401 |
* Wed Jul 07 2004 - [email protected] |
|
402 |
- ported to rpm4 |
|
403 |
||
404 |
* Wed Jul 07 2004 - [email protected] |
|
405 |
- added "-j $CPUS" to make to speed up builds |
|
406 |
||
407 |
* Wed May 12 2004 - [email protected] |
|
408 |
- Updated l10n content to gnome-keyring-l10n-po-1.1.tar.bz2 |
|
409 |
||
410 |
* Tue Apr 13 2004 - [email protected] |
|
411 |
- upgraded tarball |
|
412 |
* Wed Mar 31 2004 - [email protected] |
|
413 |
- replace tar jxf with the more solaris friendly |
|
414 |
bzcat piped through tar |
|
415 |
||
416 |
* Mon Mar 29 2004 - [email protected] |
|
417 |
- Adding gnome-keyring-l10n-po-1.0.tar.bz2 l10n content |
|
418 |
||
419 |
* Fri Mar 19 2004 - [email protected] |
|
420 |
- Bump to 0.1.91 and remove the uninstalled pc patch |
|
421 |
since it's upstream. |
|
422 |
||
423 |
* Fri Mar 12 2004 - [email protected] |
|
424 |
- define libexecdir in configure args |
|
425 |
||
426 |
* Mon Feb 02 2004 - [email protected] |
|
427 |
- bump to 0.1.2 |
|
428 |
- Add patch to generate an -uninstalled.pc file |
|
429 |
- Add ACLOCAL_FLAGS env to aclocal invocation |
|
430 |
||
431 |
* Mon Dec 15 2003 - [email protected] |
|
432 |
- Initial Sun release |