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