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