]>
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 |
2721bd8e | 10 | Version: 42.1 |
a6859c9d | 11 | Release: 1 |
e17301dd | 12 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 13 | Group: X11/Applications |
a6859c9d | 14 | Source0: https://download.gnome.org/sources/gnome-keyring/42/%{name}-%{version}.tar.xz |
2721bd8e | 15 | # Source0-md5: 8728a6d344f29c545d9d31cb5c708f14 |
332d4b10 | 16 | URL: https://wiki.gnome.org/Projects/GnomeKeyring |
975c19c5 | 17 | BuildRequires: autoconf >= 2.50 |
0a2579d3 | 18 | BuildRequires: automake >= 1:1.12 |
1d298f8d | 19 | BuildRequires: docbook-dtd412-xml |
da608828 | 20 | BuildRequires: gcr-devel >= 3.28.0 |
1dd2fa1e | 21 | BuildRequires: gcr-ui-devel >= 3.28.0 |
da608828 MB |
22 | BuildRequires: gettext-tools >= 0.19.8 |
23 | BuildRequires: glib2-devel >= 1:2.44.0 | |
56019a28 | 24 | BuildRequires: libcap-ng-devel |
8e87bb0c | 25 | BuildRequires: libgcrypt-devel >= 1.2.2 |
975c19c5 | 26 | BuildRequires: libselinux-devel |
871a9587 | 27 | # for some test only |
eb503aad | 28 | BuildRequires: libtasn1-devel >= 0.3.4 |
6c24b3c6 | 29 | BuildRequires: libtool |
7e059d21 | 30 | BuildRequires: libxslt-progs |
dc752cfb | 31 | BuildRequires: p11-kit-devel >= 0.16 |
975c19c5 | 32 | %{?with_p11_tests:BuildRequires: p11-tests-devel >= 0.1} |
8e87bb0c | 33 | BuildRequires: pam-devel |
ca1bceba | 34 | BuildRequires: pkgconfig |
8f515912 | 35 | BuildRequires: rpmbuild(macros) >= 1.592 |
a6859c9d | 36 | BuildRequires: systemd-devel >= 1:209 |
56019a28 ŁK |
37 | BuildRequires: tar >= 1:1.22 |
38 | BuildRequires: xz | |
332d4b10 | 39 | Requires(post,postun): glib2 >= 1:2.44.0 |
b45eef19 | 40 | Requires: filesystem >= 4.0-28 |
da608828 MB |
41 | Requires: gcr >= 3.28.0 |
42 | Requires: glib2 >= 1:2.44.0 | |
56019a28 | 43 | Requires: hicolor-icon-theme |
332d4b10 | 44 | Requires: libgcrypt >= 1.2.2 |
dc752cfb | 45 | Requires: p11-kit >= 0.16 |
f027c5e0 | 46 | Conflicts: rpm < 4.4.2-0.2 |
ea8f2f57 AF |
47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
49 | %description | |
a971d564 | 50 | GNOME Keyring is a program that keeps password and other secrets for |
6030d07d | 51 | users. It is run as a daemon in the session, similar to ssh-agent, and |
ea8f2f57 AF |
52 | other applications can locate it by an environment variable. |
53 | ||
997e38ba JR |
54 | %description -l pl.UTF-8 |
55 | GNOME Keyring to program do przechowywania haseł i innych tajnych | |
56 | danych użytkowników. Działa jako demon w sesji, podobnie do | |
57 | ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną | |
58 | środowiskową. | |
6bf8e86c | 59 | |
f0978796 | 60 | %package -n pam-pam_gnome_keyring |
8e87bb0c MB |
61 | Summary: A PAM module for unlocking keyrings at login time |
62 | Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania | |
e17301dd | 63 | License: LGPL v2+ |
8e87bb0c MB |
64 | Group: Libraries |
65 | Requires: %{name} = %{version}-%{release} | |
7e059d21 | 66 | Obsoletes: gnome-keyring-pam < 2.30.1-2 |
8e87bb0c | 67 | |
f0978796 | 68 | %description -n pam-pam_gnome_keyring |
8e87bb0c MB |
69 | A PAM module that can automatically unlock the "login" keyring when |
70 | the user logs in and start the keyring daemon. | |
71 | ||
f0978796 | 72 | %description -n pam-pam_gnome_keyring -l pl.UTF-8 |
8e87bb0c MB |
73 | Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login" |
74 | w czasie logowania użytkownika i uruchamiania demona keyring. | |
75 | ||
ea8f2f57 AF |
76 | %prep |
77 | %setup -q | |
78 | ||
79 | %build | |
6c24b3c6 | 80 | %{__libtoolize} |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
4040a0df | 83 | %{__autoheader} |
6c24b3c6 | 84 | %{__automake} |
ea8f2f57 | 85 | %configure \ |
7cbfd88b JB |
86 | SSH_ADD="/usr/bin/ssh-add" \ |
87 | SSH_AGENT="/usr/bin/ssh-agent" \ | |
f12ccd51 | 88 | --disable-silent-rules \ |
975c19c5 | 89 | %{!?with_p11_tests:--disable-p11-tests} \ |
da608828 | 90 | --with-pam-dir=/%{_lib}/security |
ea8f2f57 AF |
91 | %{__make} |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 95 | |
8e87bb0c | 96 | %{__make} install install-pam \ |
4040a0df | 97 | DESTDIR=$RPM_BUILD_ROOT |
ea8f2f57 | 98 | |
50453096 JB |
99 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.la |
100 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.la | |
101 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la | |
8e87bb0c | 102 | |
4040a0df | 103 | %find_lang %{name} |
ea8f2f57 AF |
104 | |
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
56019a28 | 108 | %post |
8f515912 | 109 | %glib_compile_schemas |
4040a0df | 110 | |
f12ccd51 | 111 | %postun |
56019a28 | 112 | %glib_compile_schemas |
4040a0df | 113 | |
ea8f2f57 AF |
114 | %files -f %{name}.lang |
115 | %defattr(644,root,root,755) | |
fd734cb1 | 116 | %doc AUTHORS ChangeLog NEWS README |
dba49349 | 117 | %attr(755,root,root) %{_bindir}/gnome-keyring |
611c437c | 118 | %attr(755,root,root) %{_bindir}/gnome-keyring-3 |
e17301dd | 119 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
611c437c | 120 | %attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so |
d5034fae | 121 | %dir %{_libdir}/%{name} |
8fc21cf5 | 122 | %dir %{_libdir}/%{name}/devel |
611c437c | 123 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so |
611c437c | 124 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so |
f12ccd51 | 125 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so |
611c437c | 126 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so |
fd734cb1 MB |
127 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
128 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop | |
129 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop | |
871a9587 | 130 | %{_datadir}/GConf/gsettings/org.gnome.crypto.cache.convert |
170a492b | 131 | %{_datadir}/dbus-1/services/org.freedesktop.impl.portal.Secret.service |
f075f5fb | 132 | %{_datadir}/dbus-1/services/org.freedesktop.secrets.service |
4040a0df | 133 | %{_datadir}/dbus-1/services/org.gnome.keyring.service |
871a9587 | 134 | %{_datadir}/glib-2.0/schemas/org.gnome.crypto.cache.gschema.xml |
a6859c9d JB |
135 | %{_datadir}/p11-kit/modules/gnome-keyring.module |
136 | %{_datadir}/xdg-desktop-portal/portals/gnome-keyring.portal | |
137 | %{systemduserunitdir}/gnome-keyring-daemon.service | |
138 | %{systemduserunitdir}/gnome-keyring-daemon.socket | |
98ba9994 MB |
139 | %{_mandir}/man1/gnome-keyring.1* |
140 | %{_mandir}/man1/gnome-keyring-3.1* | |
141 | %{_mandir}/man1/gnome-keyring-daemon.1* | |
8e87bb0c | 142 | |
f0978796 | 143 | %files -n pam-pam_gnome_keyring |
8e87bb0c | 144 | %defattr(644,root,root,755) |
e17301dd | 145 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |