]>
Commit | Line | Data |
---|---|---|
451fa11a ER |
1 | # TODO |
2 | # Aug 14 13:19:00 haarber gnome-keyring-daemon[6524]: couldn't list keyrings at: /etc/certs: Error opening directory '/etc/certs': Permission denied | |
dfd31d33 | 3 | Summary: Keep passwords and other user's secrets |
545c4b5e | 4 | Summary(pl.UTF-8): Przechowywanie haseł i innych tajnych danych użytkowników |
ea8f2f57 | 5 | Name: gnome-keyring |
571fb679 | 6 | Version: 3.2.1 |
611c437c | 7 | Release: 1 |
e17301dd | 8 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 9 | Group: X11/Applications |
56019a28 | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.2/%{name}-%{version}.tar.xz |
571fb679 | 11 | # Source0-md5: ec1abc290c7a04415c6ad7675ba5de0c |
4040a0df | 12 | URL: http://live.gnome.org/GnomeKeyring |
6c24b3c6 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
9a733942 | 15 | BuildRequires: cairo-devel |
d550769a | 16 | BuildRequires: dbus-devel >= 1.2.0 |
1d298f8d | 17 | BuildRequires: docbook-dtd412-xml |
8e87bb0c | 18 | BuildRequires: gettext-devel |
f12ccd51 | 19 | BuildRequires: glib2-devel >= 1:2.26.0 |
611c437c | 20 | BuildRequires: gtk+3-devel >= 3.0.0 |
b19090d9 | 21 | BuildRequires: gtk-doc >= 1.9 |
eb503aad | 22 | BuildRequires: intltool >= 0.40.0 |
56019a28 | 23 | BuildRequires: libcap-ng-devel |
8e87bb0c | 24 | BuildRequires: libgcrypt-devel >= 1.2.2 |
eb503aad | 25 | BuildRequires: libtasn1-devel >= 0.3.4 |
6c24b3c6 | 26 | BuildRequires: libtool |
56019a28 | 27 | BuildRequires: p11-kit-devel >= 0.6 |
8e87bb0c | 28 | BuildRequires: pam-devel |
ca1bceba | 29 | BuildRequires: pkgconfig |
8f515912 | 30 | BuildRequires: rpmbuild(macros) >= 1.592 |
56019a28 ŁK |
31 | BuildRequires: tar >= 1:1.22 |
32 | BuildRequires: xz | |
33 | Requires(post,postun): desktop-file-utils | |
f12ccd51 | 34 | Requires(post,postun): glib2 >= 1:2.26.0 |
56019a28 ŁK |
35 | Requires(post,postun): gtk-update-icon-cache |
36 | Requires(post,postun): hicolor-icon-theme | |
37 | Requires(post,postun): shared-mime-info | |
d550769a | 38 | Requires: dbus >= 1.2.0 |
56019a28 | 39 | Requires: hicolor-icon-theme |
f027c5e0 | 40 | Conflicts: rpm < 4.4.2-0.2 |
7b648fbd | 41 | # sr@Latn vs. sr@latin |
42 | Conflicts: glibc-misc < 6:2.7 | |
ea8f2f57 AF |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
4040a0df MB |
45 | %define _libexecdir %{_libdir}/%{name} |
46 | ||
ea8f2f57 | 47 | %description |
a971d564 | 48 | GNOME Keyring is a program that keeps password and other secrets for |
6030d07d | 49 | users. It is run as a daemon in the session, similar to ssh-agent, and |
ea8f2f57 AF |
50 | other applications can locate it by an environment variable. |
51 | ||
52 | The library libgnome-keyring is used by applications to integrate with | |
6bf8e86c JB |
53 | the GNOME keyring system. |
54 | ||
997e38ba JR |
55 | %description -l pl.UTF-8 |
56 | GNOME Keyring to program do przechowywania haseł i innych tajnych | |
57 | danych użytkowników. Działa jako demon w sesji, podobnie do | |
58 | ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną | |
59 | środowiskową. | |
6bf8e86c | 60 | |
997e38ba | 61 | Biblioteka libgnome-keyring jest używana przez aplikacje do integracji |
6bf8e86c | 62 | z systemem kluczy GNOME. |
ea8f2f57 | 63 | |
dfd31d33 | 64 | %package libs |
a971d564 | 65 | Summary: GNOME keyring library |
545c4b5e | 66 | Summary(pl.UTF-8): Biblioteka GNOME keyring |
e17301dd | 67 | License: LGPL v2+ |
8fc21cf5 | 68 | Group: X11/Libraries |
dfd31d33 | 69 | |
70 | %description libs | |
a971d564 | 71 | GNOME keyring library. |
dfd31d33 | 72 | |
997e38ba | 73 | %description libs -l pl.UTF-8 |
a971d564 | 74 | Biblioteka GNOME keyring. |
ea8f2f57 AF |
75 | |
76 | %package devel | |
a971d564 | 77 | Summary: Headers for GNOME keyring library |
545c4b5e | 78 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME keyring |
e17301dd | 79 | License: LGPL v2+ |
8fc21cf5 | 80 | Group: X11/Development/Libraries |
6c24b3c6 | 81 | Requires: %{name}-libs = %{version}-%{release} |
d550769a | 82 | Requires: dbus-devel >= 1.2.0 |
f12ccd51 | 83 | Requires: glib2-devel >= 1:2.26.0 |
611c437c | 84 | Requires: gtk+3-devel >= 3.0.0 |
8fc21cf5 | 85 | Requires: libtasn1-devel >= 0.3.4 |
ea8f2f57 AF |
86 | |
87 | %description devel | |
a971d564 | 88 | Headers for GNOME keyring library. |
ea8f2f57 | 89 | |
997e38ba JR |
90 | %description devel -l pl.UTF-8 |
91 | Pliki nagłówkowe biblioteki GNOME keyring. | |
ea8f2f57 AF |
92 | |
93 | %package static | |
a971d564 | 94 | Summary: Static GNOME keyring libraries |
545c4b5e | 95 | Summary(pl.UTF-8): Statyczne biblioteki GNOME keyring |
e17301dd | 96 | License: LGPL v2+ |
8fc21cf5 | 97 | Group: X11/Development/Libraries |
6c24b3c6 | 98 | Requires: %{name}-devel = %{version}-%{release} |
ea8f2f57 AF |
99 | |
100 | %description static | |
a971d564 | 101 | Static versions of GNOME keyring libraries. |
dfd31d33 | 102 | |
997e38ba | 103 | %description static -l pl.UTF-8 |
a971d564 | 104 | Statyczne biblioteki GNOME keyring. |
ea8f2f57 | 105 | |
e826d50e | 106 | %package apidocs |
107 | Summary: GNOME keyring API documentation | |
545c4b5e | 108 | Summary(pl.UTF-8): Dokumentacja API GNOME keyring |
e17301dd | 109 | License: LGPL v2+ |
e826d50e | 110 | Group: Documentation |
111 | Requires: gtk-doc-common | |
112 | ||
113 | %description apidocs | |
114 | GNOME keyring API documentation. | |
115 | ||
997e38ba | 116 | %description apidocs -l pl.UTF-8 |
e826d50e | 117 | Dokumentacja API GNOME keyring. |
118 | ||
f0978796 | 119 | %package -n pam-pam_gnome_keyring |
8e87bb0c MB |
120 | Summary: A PAM module for unlocking keyrings at login time |
121 | Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania | |
e17301dd | 122 | License: LGPL v2+ |
8e87bb0c MB |
123 | Group: Libraries |
124 | Requires: %{name} = %{version}-%{release} | |
f0978796 | 125 | Obsoletes: gnome-keyring-pam |
8e87bb0c | 126 | |
f0978796 | 127 | %description -n pam-pam_gnome_keyring |
8e87bb0c MB |
128 | A PAM module that can automatically unlock the "login" keyring when |
129 | the user logs in and start the keyring daemon. | |
130 | ||
f0978796 | 131 | %description -n pam-pam_gnome_keyring -l pl.UTF-8 |
8e87bb0c MB |
132 | Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login" |
133 | w czasie logowania użytkownika i uruchamiania demona keyring. | |
134 | ||
ea8f2f57 AF |
135 | %prep |
136 | %setup -q | |
137 | ||
138 | %build | |
1d298f8d | 139 | %{__gtkdocize} |
ca1bceba MB |
140 | %{__glib_gettextize} |
141 | %{__intltoolize} | |
6c24b3c6 | 142 | %{__libtoolize} |
143 | %{__aclocal} | |
144 | %{__autoconf} | |
4040a0df | 145 | %{__autoheader} |
6c24b3c6 | 146 | %{__automake} |
ea8f2f57 | 147 | %configure \ |
f12ccd51 | 148 | --disable-silent-rules \ |
f1b55e71 | 149 | --disable-tests \ |
178a609f | 150 | --enable-gtk-doc \ |
151 | --enable-static \ | |
8e87bb0c | 152 | --with-html-dir=%{_gtkdocdir} \ |
611c437c MB |
153 | --with-pam-dir=/%{_lib}/security \ |
154 | --with-root-certs=%{_sysconfdir}/certs | |
ea8f2f57 AF |
155 | %{__make} |
156 | ||
157 | %install | |
158 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 159 | |
8e87bb0c | 160 | %{__make} install install-pam \ |
4040a0df | 161 | DESTDIR=$RPM_BUILD_ROOT |
ea8f2f57 | 162 | |
4498c8a8 | 163 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a |
611c437c MB |
164 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
165 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.{l,}a | |
166 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.{l,}a | |
8e87bb0c | 167 | |
4040a0df | 168 | %find_lang %{name} |
ea8f2f57 AF |
169 | |
170 | %clean | |
171 | rm -rf $RPM_BUILD_ROOT | |
172 | ||
56019a28 ŁK |
173 | %post |
174 | %update_mime_database | |
175 | %update_desktop_database_post | |
176 | %update_icon_cache hicolor | |
8f515912 | 177 | %glib_compile_schemas |
4040a0df | 178 | |
f12ccd51 | 179 | %postun |
56019a28 ŁK |
180 | %update_mime_database |
181 | %update_desktop_database_postun | |
182 | %update_icon_cache hicolor | |
183 | %glib_compile_schemas | |
4040a0df | 184 | |
cec55ed8 | 185 | %post libs -p /sbin/ldconfig |
186 | %postun libs -p /sbin/ldconfig | |
ea8f2f57 AF |
187 | |
188 | %files -f %{name}.lang | |
189 | %defattr(644,root,root,755) | |
fd734cb1 | 190 | %doc AUTHORS ChangeLog NEWS README |
56019a28 | 191 | %attr(755,root,root) %{_bindir}/gcr-viewer |
dba49349 | 192 | %attr(755,root,root) %{_bindir}/gnome-keyring |
611c437c | 193 | %attr(755,root,root) %{_bindir}/gnome-keyring-3 |
e17301dd | 194 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
4040a0df | 195 | %dir %{_libdir}/%{name} |
fd734cb1 | 196 | %attr(755,root,root) %{_libexecdir}/gnome-keyring-prompt |
611c437c MB |
197 | %attr(755,root,root) %{_libexecdir}/gnome-keyring-prompt-3 |
198 | %attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so | |
8fc21cf5 | 199 | %dir %{_libdir}/%{name}/devel |
611c437c MB |
200 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so |
201 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-roots-store-standalone.so | |
202 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so | |
f12ccd51 | 203 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so |
611c437c | 204 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so |
f12ccd51 | 205 | %{_sysconfdir}/xdg/autostart/gnome-keyring-gpg.desktop |
fd734cb1 MB |
206 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
207 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop | |
208 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop | |
f12ccd51 | 209 | %{_datadir}/GConf/gsettings/*.convert |
f075f5fb | 210 | %{_datadir}/dbus-1/services/org.freedesktop.secrets.service |
4040a0df | 211 | %{_datadir}/dbus-1/services/org.gnome.keyring.service |
611c437c | 212 | %{_datadir}/gcr-3 |
f12ccd51 | 213 | %{_datadir}/glib-2.0/schemas/*.gschema.xml |
611c437c | 214 | %{_datadir}/gnome-keyring-3 |
56019a28 | 215 | %{_desktopdir}/gcr-viewer.desktop |
611c437c | 216 | %{_desktopdir}/gnome-keyring-prompt.desktop |
56019a28 ŁK |
217 | %{_sysconfdir}/pkcs11/modules/gnome-keyring-module |
218 | %{_iconsdir}/hicolor/*/apps/*.png | |
219 | %{_datadir}/mime/packages/gcr-crypto-types.xml | |
dfd31d33 | 220 | |
221 | %files libs | |
222 | %defattr(644,root,root,755) | |
611c437c | 223 | %attr(755,root,root) %{_libdir}/libgcr-3.so.*.*.* |
56019a28 ŁK |
224 | %attr(755,root,root) %ghost %{_libdir}/libgcr-3.so.1 |
225 | %attr(755,root,root) %{_libdir}/libgck-1.so.*.*.* | |
226 | %attr(755,root,root) %ghost %{_libdir}/libgck-1.so.0 | |
ea8f2f57 AF |
227 | |
228 | %files devel | |
229 | %defattr(644,root,root,755) | |
611c437c | 230 | %attr(755,root,root) %{_libdir}/libgcr-3.so |
56019a28 | 231 | %attr(755,root,root) %{_libdir}/libgck-1.so |
611c437c | 232 | %{_includedir}/gcr-3 |
56019a28 | 233 | %{_includedir}/gck-1 |
611c437c | 234 | %{_pkgconfigdir}/gcr-3.pc |
56019a28 | 235 | %{_pkgconfigdir}/gck-1.pc |
ea8f2f57 AF |
236 | |
237 | %files static | |
238 | %defattr(644,root,root,755) | |
611c437c | 239 | %{_libdir}/libgcr-3.a |
56019a28 | 240 | %{_libdir}/libgck-1.a |
e826d50e | 241 | |
242 | %files apidocs | |
243 | %defattr(644,root,root,755) | |
611c437c MB |
244 | %{_gtkdocdir}/gcr-3 |
245 | %{_gtkdocdir}/gck | |
8e87bb0c | 246 | |
f0978796 | 247 | %files -n pam-pam_gnome_keyring |
8e87bb0c | 248 | %defattr(644,root,root,755) |
e17301dd | 249 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |