]>
Commit | Line | Data |
---|---|---|
dfd31d33 | 1 | Summary: Keep passwords and other user's secrets |
545c4b5e | 2 | Summary(pl.UTF-8): Przechowywanie haseł i innych tajnych danych użytkowników |
ea8f2f57 | 3 | Name: gnome-keyring |
eb503aad | 4 | Version: 2.24.1 |
a0d341ce | 5 | Release: 1 |
e17301dd | 6 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 7 | Group: X11/Applications |
dba49349 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.24/%{name}-%{version}.tar.bz2 |
eb503aad | 9 | # Source0-md5: aa5552dc129f3509ee39145b7f0bf977 |
4040a0df | 10 | URL: http://live.gnome.org/GnomeKeyring |
dba49349 | 11 | BuildRequires: GConf2-devel >= 2.24.0 |
6c24b3c6 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
d550769a | 14 | BuildRequires: dbus-devel >= 1.2.0 |
8e87bb0c | 15 | BuildRequires: gettext-devel |
eb503aad | 16 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
ca1bceba | 17 | BuildRequires: gtk-doc >= 1.8 |
4040a0df | 18 | BuildRequires: hal-devel >= 0.5.10 |
eb503aad | 19 | BuildRequires: intltool >= 0.40.0 |
8e87bb0c | 20 | BuildRequires: libgcrypt-devel >= 1.2.2 |
eb503aad | 21 | BuildRequires: libtasn1-devel >= 0.3.4 |
6c24b3c6 | 22 | BuildRequires: libtool |
8e87bb0c | 23 | BuildRequires: pam-devel |
ca1bceba | 24 | BuildRequires: pkgconfig |
ced6b4d1 | 25 | BuildRequires: rpmbuild(macros) >= 1.197 |
4040a0df | 26 | Requires(post,preun): GConf2 |
d550769a | 27 | Requires: dbus >= 1.2.0 |
7b648fbd | 28 | # sr@Latn vs. sr@latin |
29 | Conflicts: glibc-misc < 6:2.7 | |
ea8f2f57 AF |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
4040a0df MB |
32 | %define _libexecdir %{_libdir}/%{name} |
33 | ||
ea8f2f57 | 34 | %description |
a971d564 | 35 | GNOME Keyring is a program that keeps password and other secrets for |
6030d07d | 36 | users. It is run as a daemon in the session, similar to ssh-agent, and |
ea8f2f57 AF |
37 | other applications can locate it by an environment variable. |
38 | ||
39 | The library libgnome-keyring is used by applications to integrate with | |
6bf8e86c JB |
40 | the GNOME keyring system. |
41 | ||
997e38ba JR |
42 | %description -l pl.UTF-8 |
43 | GNOME Keyring to program do przechowywania haseł i innych tajnych | |
44 | danych użytkowników. Działa jako demon w sesji, podobnie do | |
45 | ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną | |
46 | środowiskową. | |
6bf8e86c | 47 | |
997e38ba | 48 | Biblioteka libgnome-keyring jest używana przez aplikacje do integracji |
6bf8e86c | 49 | z systemem kluczy GNOME. |
ea8f2f57 | 50 | |
dfd31d33 | 51 | %package libs |
a971d564 | 52 | Summary: GNOME keyring library |
545c4b5e | 53 | Summary(pl.UTF-8): Biblioteka GNOME keyring |
e17301dd | 54 | License: LGPL v2+ |
6bf8e86c | 55 | Group: Libraries |
dfd31d33 | 56 | |
57 | %description libs | |
a971d564 | 58 | GNOME keyring library. |
dfd31d33 | 59 | |
997e38ba | 60 | %description libs -l pl.UTF-8 |
a971d564 | 61 | Biblioteka GNOME keyring. |
ea8f2f57 AF |
62 | |
63 | %package devel | |
a971d564 | 64 | Summary: Headers for GNOME keyring library |
545c4b5e | 65 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME keyring |
e17301dd | 66 | License: LGPL v2+ |
6bf8e86c | 67 | Group: Development/Libraries |
6c24b3c6 | 68 | Requires: %{name}-libs = %{version}-%{release} |
d550769a | 69 | Requires: dbus-devel >= 1.2.0 |
dba49349 | 70 | Requires: glib2-devel >= 1:2.18.0 |
ea8f2f57 AF |
71 | |
72 | %description devel | |
a971d564 | 73 | Headers for GNOME keyring library. |
ea8f2f57 | 74 | |
997e38ba JR |
75 | %description devel -l pl.UTF-8 |
76 | Pliki nagłówkowe biblioteki GNOME keyring. | |
ea8f2f57 AF |
77 | |
78 | %package static | |
a971d564 | 79 | Summary: Static GNOME keyring libraries |
545c4b5e | 80 | Summary(pl.UTF-8): Statyczne biblioteki GNOME keyring |
e17301dd | 81 | License: LGPL v2+ |
6bf8e86c | 82 | Group: Development/Libraries |
6c24b3c6 | 83 | Requires: %{name}-devel = %{version}-%{release} |
ea8f2f57 AF |
84 | |
85 | %description static | |
a971d564 | 86 | Static versions of GNOME keyring libraries. |
dfd31d33 | 87 | |
997e38ba | 88 | %description static -l pl.UTF-8 |
a971d564 | 89 | Statyczne biblioteki GNOME keyring. |
ea8f2f57 | 90 | |
e826d50e | 91 | %package apidocs |
92 | Summary: GNOME keyring API documentation | |
545c4b5e | 93 | Summary(pl.UTF-8): Dokumentacja API GNOME keyring |
e17301dd | 94 | License: LGPL v2+ |
e826d50e | 95 | Group: Documentation |
96 | Requires: gtk-doc-common | |
97 | ||
98 | %description apidocs | |
99 | GNOME keyring API documentation. | |
100 | ||
997e38ba | 101 | %description apidocs -l pl.UTF-8 |
e826d50e | 102 | Dokumentacja API GNOME keyring. |
103 | ||
8e87bb0c MB |
104 | %package pam |
105 | Summary: A PAM module for unlocking keyrings at login time | |
106 | Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania | |
e17301dd | 107 | License: LGPL v2+ |
8e87bb0c MB |
108 | Group: Libraries |
109 | Requires: %{name} = %{version}-%{release} | |
110 | ||
111 | %description pam | |
112 | A PAM module that can automatically unlock the "login" keyring when | |
113 | the user logs in and start the keyring daemon. | |
114 | ||
115 | %description pam -l pl.UTF-8 | |
116 | Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login" | |
117 | w czasie logowania użytkownika i uruchamiania demona keyring. | |
118 | ||
ea8f2f57 AF |
119 | %prep |
120 | %setup -q | |
121 | ||
4498c8a8 JB |
122 | # no longer provided by libtasn1, waiting for this package to switch to pkgconfig |
123 | sed -ne '/AM_PATH_LIBTASN1/,/^])$/p' aclocal.m4 >> acinclude.m4 | |
124 | ||
ea8f2f57 | 125 | %build |
ca1bceba MB |
126 | %{__glib_gettextize} |
127 | %{__intltoolize} | |
6c24b3c6 | 128 | %{__libtoolize} |
129 | %{__aclocal} | |
130 | %{__autoconf} | |
4040a0df | 131 | %{__autoheader} |
6c24b3c6 | 132 | %{__automake} |
ea8f2f57 | 133 | %configure \ |
178a609f | 134 | --enable-gtk-doc \ |
135 | --enable-static \ | |
8e87bb0c MB |
136 | --with-html-dir=%{_gtkdocdir} \ |
137 | --with-pam-dir=/%{_lib}/security | |
ea8f2f57 AF |
138 | %{__make} |
139 | ||
140 | %install | |
141 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 142 | |
8e87bb0c | 143 | %{__make} install install-pam \ |
4040a0df | 144 | DESTDIR=$RPM_BUILD_ROOT |
ea8f2f57 | 145 | |
4498c8a8 JB |
146 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a |
147 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/gnome-keyring-pkcs11.{l,}a | |
8e87bb0c | 148 | |
4040a0df | 149 | %find_lang %{name} |
ea8f2f57 AF |
150 | |
151 | %clean | |
152 | rm -rf $RPM_BUILD_ROOT | |
153 | ||
4040a0df MB |
154 | %post |
155 | %gconf_schema_install gnome-keyring.schemas | |
156 | ||
157 | %preun | |
158 | %gconf_schema_uninstall gnome-keyring.schemas | |
159 | ||
cec55ed8 | 160 | %post libs -p /sbin/ldconfig |
161 | %postun libs -p /sbin/ldconfig | |
ea8f2f57 AF |
162 | |
163 | %files -f %{name}.lang | |
164 | %defattr(644,root,root,755) | |
db68f084 | 165 | %doc AUTHORS ChangeLog NEWS README TODO |
dba49349 | 166 | %attr(755,root,root) %{_bindir}/gnome-keyring |
e17301dd | 167 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
4040a0df | 168 | %dir %{_libdir}/%{name} |
4761618a | 169 | %attr(755,root,root) %{_libexecdir}/%{name}-ask |
4040a0df MB |
170 | %attr(755,root,root) %{_libdir}/%{name}/gnome-keyring-pkcs11.so |
171 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas | |
172 | %{_datadir}/dbus-1/services/org.gnome.keyring.service | |
dfd31d33 | 173 | |
174 | %files libs | |
175 | %defattr(644,root,root,755) | |
e17301dd | 176 | %attr(755,root,root) %{_libdir}/libgnome-keyring.so.*.*.* |
dba49349 | 177 | %attr(755,root,root) %{_libdir}/libgp11.so.*.*.* |
e17301dd | 178 | %attr(755,root,root) %ghost %{_libdir}/libgnome-keyring.so.0 |
dba49349 | 179 | %attr(755,root,root) %ghost %{_libdir}/libgp11.so.0 |
ea8f2f57 AF |
180 | |
181 | %files devel | |
182 | %defattr(644,root,root,755) | |
e17301dd | 183 | %attr(755,root,root) %{_libdir}/libgnome-keyring.so |
dba49349 | 184 | %attr(755,root,root) %{_libdir}/libgp11.so |
e17301dd | 185 | %{_libdir}/libgnome-keyring.la |
dba49349 | 186 | %{_libdir}/libgp11.la |
e17301dd | 187 | %{_includedir}/gnome-keyring-1 |
dba49349 | 188 | %{_includedir}/gp11 |
e17301dd | 189 | %{_pkgconfigdir}/gnome-keyring-1.pc |
dba49349 | 190 | %{_pkgconfigdir}/gp11-0.pc |
ea8f2f57 AF |
191 | |
192 | %files static | |
193 | %defattr(644,root,root,755) | |
e17301dd | 194 | %{_libdir}/libgnome-keyring.a |
dba49349 | 195 | %{_libdir}/libgp11.a |
e826d50e | 196 | |
197 | %files apidocs | |
198 | %defattr(644,root,root,755) | |
199 | %{_gtkdocdir}/%{name} | |
dba49349 | 200 | %{_gtkdocdir}/gp11 |
8e87bb0c MB |
201 | |
202 | %files pam | |
203 | %defattr(644,root,root,755) | |
e17301dd | 204 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |