]>
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 |
05c50277 | 4 | Version: 2.30.3 |
7ff6a5f6 | 5 | Release: 1 |
e17301dd | 6 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 7 | Group: X11/Applications |
fd734cb1 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.30/%{name}-%{version}.tar.bz2 |
05c50277 | 9 | # Source0-md5: 54cb1835c02a40f27fda73e58da17cc6 |
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 |
fd734cb1 | 17 | BuildRequires: gtk+2-devel >= 2:2.18.0 |
b19090d9 | 18 | BuildRequires: gtk-doc >= 1.9 |
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 |
fd734cb1 | 71 | Requires: gtk+2-devel >= 2:2.18.0 |
8fc21cf5 | 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 | ||
f0978796 | 106 | %package -n pam-pam_gnome_keyring |
8e87bb0c MB |
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} | |
f0978796 | 112 | Obsoletes: gnome-keyring-pam |
8e87bb0c | 113 | |
f0978796 | 114 | %description -n pam-pam_gnome_keyring |
8e87bb0c MB |
115 | A PAM module that can automatically unlock the "login" keyring when |
116 | the user logs in and start the keyring daemon. | |
117 | ||
f0978796 | 118 | %description -n pam-pam_gnome_keyring -l pl.UTF-8 |
8e87bb0c MB |
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) | |
fd734cb1 | 171 | %doc AUTHORS ChangeLog NEWS README |
dba49349 | 172 | %attr(755,root,root) %{_bindir}/gnome-keyring |
e17301dd | 173 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
4040a0df | 174 | %dir %{_libdir}/%{name} |
fd734cb1 | 175 | %attr(755,root,root) %{_libexecdir}/gnome-keyring-prompt |
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 | |
fd734cb1 | 182 | %attr(755,root,root) %{_libdir}/%{name}/standalone/gck-secret-store-standalone.so |
4040a0df | 183 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas |
fd734cb1 MB |
184 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
185 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop | |
186 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop | |
f075f5fb | 187 | %{_datadir}/dbus-1/services/org.freedesktop.secrets.service |
4040a0df | 188 | %{_datadir}/dbus-1/services/org.gnome.keyring.service |
8fc21cf5 | 189 | %{_datadir}/gcr |
fd734cb1 | 190 | %{_datadir}/gnome-keyring |
dfd31d33 | 191 | |
192 | %files libs | |
193 | %defattr(644,root,root,755) | |
8fc21cf5 | 194 | %attr(755,root,root) %{_libdir}/libgcr.so.*.*.* |
dba49349 | 195 | %attr(755,root,root) %{_libdir}/libgp11.so.*.*.* |
8fc21cf5 | 196 | %attr(755,root,root) %ghost %{_libdir}/libgcr.so.0 |
dba49349 | 197 | %attr(755,root,root) %ghost %{_libdir}/libgp11.so.0 |
ea8f2f57 AF |
198 | |
199 | %files devel | |
200 | %defattr(644,root,root,755) | |
8fc21cf5 | 201 | %attr(755,root,root) %{_libdir}/libgcr.so |
dba49349 | 202 | %attr(755,root,root) %{_libdir}/libgp11.so |
8fc21cf5 | 203 | %{_libdir}/libgcr.la |
dba49349 | 204 | %{_libdir}/libgp11.la |
8fc21cf5 | 205 | %{_includedir}/gcr |
dba49349 | 206 | %{_includedir}/gp11 |
8fc21cf5 | 207 | %{_pkgconfigdir}/gcr-0.pc |
dba49349 | 208 | %{_pkgconfigdir}/gp11-0.pc |
ea8f2f57 AF |
209 | |
210 | %files static | |
211 | %defattr(644,root,root,755) | |
8fc21cf5 | 212 | %{_libdir}/libgcr.a |
dba49349 | 213 | %{_libdir}/libgp11.a |
e826d50e | 214 | |
215 | %files apidocs | |
216 | %defattr(644,root,root,755) | |
d78bd42c | 217 | %{_gtkdocdir}/gcr |
dba49349 | 218 | %{_gtkdocdir}/gp11 |
8e87bb0c | 219 | |
f0978796 | 220 | %files -n pam-pam_gnome_keyring |
8e87bb0c | 221 | %defattr(644,root,root,755) |
e17301dd | 222 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |