author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package gnome-keyring |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
1437 | 8 |
Name: gnome-keyring |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
19229 | 11 |
Version: 0.4.2 |
19438 | 12 |
Release: 2 |
19693 | 13 |
Distribution: Java Desktop System |
1437 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: GNOME Key Ring |
|
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 |
4395 | 17 |
Patch1: gnome-keyring-01-pkcs.diff |
1437 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Autoreqprov: on |
|
21 |
Prereq: /sbin/ldconfig |
|
22 |
||
3628 | 23 |
%define gtk2_version 2.4.0 |
1437 | 24 |
%define pkgconfig_version 0.15.0 |
3628 | 25 |
%define gtk_doc_version 1.1 |
1437 | 26 |
|
27 |
Requires: gtk2 >= %{gtk2_version} |
|
28 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
29 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
30 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
31 |
||
32 |
%description |
|
33 |
gnome-keyring is a program that keep password and other secrets for |
|
3859 | 34 |
users. It is run as a daemon in the session, similar to ssh-agent, and |
1437 | 35 |
other applications can locate it by an environment variable. |
36 |
||
37 |
The program can manage several keyrings, each with its own master |
|
38 |
password, and there is also a session keyring which is never stored to |
|
39 |
disk, but forgotten when the session ends. |
|
40 |
||
41 |
The library libgnome-keyring is used by applications to integrate with |
|
42 |
the gnome keyring system. |
|
43 |
||
44 |
%package devel |
|
45 |
Summary: GNOME Key Ring Library |
|
46 |
Group: Development/Libraries/GNOME |
|
47 |
Requires: %{name} = %{version} |
|
48 |
Requires: gtk2-devel >= %{gtk2_version} |
|
49 |
||
50 |
%description devel |
|
51 |
gnome-keyring is a program that keep password and other secrets for |
|
3859 | 52 |
users. It is run as a daemon in the session, similar to ssh-agent, and |
1437 | 53 |
other applications can locate it by an environment variable. |
54 |
||
55 |
The program can manage several keyrings, each with its own master |
|
56 |
password, and there is also a session keyring which is never stored to |
|
57 |
disk, but forgotten when the session ends. |
|
58 |
||
59 |
The library libgnome-keyring is used by applications to integrate with |
|
60 |
the gnome keyring system. |
|
61 |
||
62 |
%prep |
|
63 |
%setup -q |
|
4395 | 64 |
%patch1 -p1 |
1437 | 65 |
|
66 |
%build |
|
3263 | 67 |
%ifos linux |
68 |
if [ -x /usr/bin/getconf ]; then |
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
70 |
fi |
|
71 |
%else |
|
3846 | 72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 73 |
%endif |
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
75 |
CPUS=1 |
|
76 |
fi |
|
77 |
||
1554 | 78 |
libtoolize --force |
19243 | 79 |
aclocal $ACLOCAL_FLAGS -I . |
1554 | 80 |
autoheader |
81 |
automake -a -c -f |
|
82 |
autoconf |
|
83 |
||
1437 | 84 |
CFLAGS="$RPM_OPT_FLAGS" \ |
85 |
./configure --prefix=%{_prefix} \ |
|
86 |
--sysconfdir=%{_sysconfdir} \ |
|
87 |
--mandir=%{_mandir} \ |
|
3666 | 88 |
--libexecdir=%{_libexecdir} |
3263 | 89 |
make -j $CPUS |
1437 | 90 |
|
91 |
%install |
|
92 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 93 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
1437 | 94 |
|
95 |
%clean |
|
96 |
rm -rf $RPM_BUILD_ROOT |
|
97 |
||
98 |
%post |
|
99 |
/sbin/ldconfig |
|
100 |
||
101 |
%postun |
|
102 |
/sbin/ldconfig |
|
103 |
||
104 |
%files |
|
105 |
%{_datadir}/locale/*/LC_MESSAGES/* |
|
106 |
%{_bindir}/* |
|
107 |
%{_libdir}/lib*.so.* |
|
1899 | 108 |
%{_libexecdir}/gnome-keyring-ask |
1437 | 109 |
|
110 |
%files devel |
|
111 |
%{_libdir}/pkgconfig/*.pc |
|
112 |
%{_includedir}/gnome-keyring-1/* |
|
113 |
%{_libdir}/lib*.so |
|
114 |
||
115 |
%changelog |
|
19438 | 116 |
* Wed Jun 15 2005 - [email protected] |
117 |
- Add more libs to LDADD so that it builds with the new pkgconfig |
|
118 |
||
19229 | 119 |
* Fri May 06 2005 - [email protected] |
120 |
- Bump to 0.4.2 |
|
121 |
||
4395 | 122 |
* Fri Aug 29 2004 - [email protected] |
123 |
- Added patch 01 for pkcs support. |
|
124 |
||
3666 | 125 |
* Wed Aug 18 2004 - [email protected] |
126 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
127 |
configure takes. |
|
128 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
129 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
130 |
- Updated l10n content to gnome-keyring-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
131 |
|
3628 | 132 |
* Wed Jul 07 2004 - [email protected] |
133 |
- ported to rpm4 |
|
134 |
||
3263 | 135 |
* Wed Jul 07 2004 - [email protected] |
136 |
- added "-j $CPUS" to make to speed up builds |
|
137 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
138 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
139 |
- Updated l10n content to gnome-keyring-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
140 |
|
2448 | 141 |
* Tue Apr 13 2004 - [email protected] |
142 |
- upgraded tarball |
|
2355 | 143 |
* Wed Mar 31 2004 - [email protected] |
144 |
- replace tar jxf with the more solaris friendly |
|
145 |
bzcat piped through tar |
|
146 |
||
2350 | 147 |
* Mon Mar 29 2004 - [email protected] |
148 |
- Adding gnome-keyring-l10n-po-1.0.tar.bz2 l10n content |
|
149 |
||
2256 | 150 |
* Fri Mar 19 2004 - [email protected] |
151 |
- Bump to 0.1.91 and remove the uninstalled pc patch |
|
152 |
since it's upstream. |
|
153 |
||
2193 | 154 |
* Fri Mar 12 2004 - [email protected] |
155 |
- define libexecdir in configure args |
|
2256 | 156 |
|
1554 | 157 |
* Mon Feb 02 2004 - [email protected] |
158 |
- bump to 0.1.2 |
|
159 |
- Add patch to generate an -uninstalled.pc file |
|
160 |
- Add ACLOCAL_FLAGS env to aclocal invocation |
|
161 |
||
1437 | 162 |
* Mon Dec 15 2003 - [email protected] |
163 |
- Initial Sun release |