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