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