]>
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 |
dd563adf | 10 | Version: 3.10.1 |
fa618749 | 11 | Release: 2 |
e17301dd | 12 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 13 | Group: X11/Applications |
1d00f7e4 | 14 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.10/%{name}-%{version}.tar.xz |
dd563adf | 15 | # Source0-md5: a0fedbeb11a654975abed45865d3f82d |
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 |
a4cf7543 | 22 | BuildRequires: gcr-devel >= 3.5.3 |
8e87bb0c | 23 | BuildRequires: gettext-devel |
a4cf7543 | 24 | BuildRequires: glib2-devel >= 1:2.32.0 |
611c437c | 25 | BuildRequires: gtk+3-devel >= 3.0.0 |
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 |
dc752cfb | 32 | BuildRequires: p11-kit-devel >= 0.16 |
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 | |
c3e1ec93 | 39 | Requires(post,postun): glib2 >= 1:2.32.0 |
d550769a | 40 | Requires: dbus >= 1.2.0 |
c3e1ec93 JB |
41 | Requires: gcr >= 3.5.3 |
42 | Requires: glib2 >= 1:2.32.0 | |
56019a28 | 43 | Requires: hicolor-icon-theme |
c3e1ec93 | 44 | Requires: libtasn1 >= 0.3.4 |
dc752cfb | 45 | Requires: p11-kit >= 0.16 |
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 | |
f0978796 | 64 | %package -n pam-pam_gnome_keyring |
8e87bb0c MB |
65 | Summary: A PAM module for unlocking keyrings at login time |
66 | Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania | |
e17301dd | 67 | License: LGPL v2+ |
8e87bb0c MB |
68 | Group: Libraries |
69 | Requires: %{name} = %{version}-%{release} | |
f0978796 | 70 | Obsoletes: gnome-keyring-pam |
8e87bb0c | 71 | |
f0978796 | 72 | %description -n pam-pam_gnome_keyring |
8e87bb0c MB |
73 | A PAM module that can automatically unlock the "login" keyring when |
74 | the user logs in and start the keyring daemon. | |
75 | ||
f0978796 | 76 | %description -n pam-pam_gnome_keyring -l pl.UTF-8 |
8e87bb0c MB |
77 | Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login" |
78 | w czasie logowania użytkownika i uruchamiania demona keyring. | |
79 | ||
ea8f2f57 AF |
80 | %prep |
81 | %setup -q | |
82 | ||
83 | %build | |
ca1bceba MB |
84 | %{__glib_gettextize} |
85 | %{__intltoolize} | |
6c24b3c6 | 86 | %{__libtoolize} |
87 | %{__aclocal} | |
88 | %{__autoconf} | |
4040a0df | 89 | %{__autoheader} |
6c24b3c6 | 90 | %{__automake} |
ea8f2f57 | 91 | %configure \ |
f12ccd51 | 92 | --disable-silent-rules \ |
975c19c5 | 93 | %{!?with_p11_tests:--disable-p11-tests} \ |
611c437c | 94 | --with-pam-dir=/%{_lib}/security \ |
d5034fae MB |
95 | --with-root-certs=%{_sysconfdir}/certs \ |
96 | --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt | |
ea8f2f57 AF |
97 | %{__make} |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 101 | |
8e87bb0c | 102 | %{__make} install install-pam \ |
4040a0df | 103 | DESTDIR=$RPM_BUILD_ROOT |
ea8f2f57 | 104 | |
50453096 JB |
105 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.la |
106 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.la | |
107 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la | |
8e87bb0c | 108 | |
4040a0df | 109 | %find_lang %{name} |
ea8f2f57 AF |
110 | |
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
56019a28 | 114 | %post |
8f515912 | 115 | %glib_compile_schemas |
4040a0df | 116 | |
f12ccd51 | 117 | %postun |
56019a28 | 118 | %glib_compile_schemas |
4040a0df | 119 | |
ea8f2f57 AF |
120 | %files -f %{name}.lang |
121 | %defattr(644,root,root,755) | |
fd734cb1 | 122 | %doc AUTHORS ChangeLog NEWS README |
dba49349 | 123 | %attr(755,root,root) %{_bindir}/gnome-keyring |
611c437c | 124 | %attr(755,root,root) %{_bindir}/gnome-keyring-3 |
e17301dd | 125 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
83464842 | 126 | %dir %{_libdir}/pkcs11 |
611c437c | 127 | %attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so |
d5034fae | 128 | %dir %{_libdir}/%{name} |
8fc21cf5 | 129 | %dir %{_libdir}/%{name}/devel |
611c437c | 130 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so |
611c437c | 131 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so |
f12ccd51 | 132 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so |
611c437c | 133 | %attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so |
f12ccd51 | 134 | %{_sysconfdir}/xdg/autostart/gnome-keyring-gpg.desktop |
fd734cb1 MB |
135 | %{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop |
136 | %{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop | |
137 | %{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop | |
f12ccd51 | 138 | %{_datadir}/GConf/gsettings/*.convert |
f075f5fb | 139 | %{_datadir}/dbus-1/services/org.freedesktop.secrets.service |
4040a0df | 140 | %{_datadir}/dbus-1/services/org.gnome.keyring.service |
f12ccd51 | 141 | %{_datadir}/glib-2.0/schemas/*.gschema.xml |
dc752cfb | 142 | %{_datadir}/p11-kit/modules/gnome-keyring.module |
dd563adf | 143 | %{_mandir}/man1/gnome-keyring-daemon.1* |
8e87bb0c | 144 | |
f0978796 | 145 | %files -n pam-pam_gnome_keyring |
8e87bb0c | 146 | %defattr(644,root,root,755) |
e17301dd | 147 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |