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