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