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