]>
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 |
01d8cb95 | 4 | Version: 2.22.2 |
b3e5e0a6 | 5 | Release: 2 |
e17301dd | 6 | License: LGPL v2+ (library), GPL v2+ (programs) |
6bf8e86c | 7 | Group: X11/Applications |
4040a0df | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.22/%{name}-%{version}.tar.bz2 |
01d8cb95 | 9 | # Source0-md5: 6957b89ad34c0e53135e66102e4db9f9 |
4040a0df MB |
10 | URL: http://live.gnome.org/GnomeKeyring |
11 | BuildRequires: GConf2-devel >= 2.22.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 |
4040a0df | 71 | Requires: glib2-devel >= 1:2.16.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 | ||
4040a0df MB |
123 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
124 | mv po/sr@{Latn,latin}.po | |
125 | ||
ea8f2f57 | 126 | %build |
ca1bceba MB |
127 | %{__glib_gettextize} |
128 | %{__intltoolize} | |
6c24b3c6 | 129 | %{__libtoolize} |
130 | %{__aclocal} | |
131 | %{__autoconf} | |
4040a0df | 132 | %{__autoheader} |
6c24b3c6 | 133 | %{__automake} |
ea8f2f57 | 134 | %configure \ |
178a609f | 135 | --enable-gtk-doc \ |
136 | --enable-static \ | |
8e87bb0c MB |
137 | --with-html-dir=%{_gtkdocdir} \ |
138 | --with-pam-dir=/%{_lib}/security | |
ea8f2f57 AF |
139 | %{__make} |
140 | ||
141 | %install | |
142 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 143 | |
8e87bb0c | 144 | %{__make} install install-pam \ |
4040a0df | 145 | DESTDIR=$RPM_BUILD_ROOT |
ea8f2f57 | 146 | |
9418c839 | 147 | rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a |
4040a0df | 148 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/gnome-keyring-pkcs11.{l,}a |
8e87bb0c | 149 | |
4040a0df | 150 | %find_lang %{name} |
ea8f2f57 AF |
151 | |
152 | %clean | |
153 | rm -rf $RPM_BUILD_ROOT | |
154 | ||
4040a0df MB |
155 | %post |
156 | %gconf_schema_install gnome-keyring.schemas | |
157 | ||
158 | %preun | |
159 | %gconf_schema_uninstall gnome-keyring.schemas | |
160 | ||
cec55ed8 | 161 | %post libs -p /sbin/ldconfig |
162 | %postun libs -p /sbin/ldconfig | |
ea8f2f57 AF |
163 | |
164 | %files -f %{name}.lang | |
165 | %defattr(644,root,root,755) | |
db68f084 | 166 | %doc AUTHORS ChangeLog NEWS README TODO |
e17301dd | 167 | %attr(755,root,root) %{_bindir}/gnome-keyring-daemon |
4040a0df | 168 | %dir %{_libdir}/%{name} |
4761618a | 169 | %attr(755,root,root) %{_libexecdir}/%{name}-ask |
4040a0df MB |
170 | %attr(755,root,root) %{_libdir}/%{name}/gnome-keyring-pkcs11.so |
171 | %{_sysconfdir}/gconf/schemas/gnome-keyring.schemas | |
172 | %{_datadir}/dbus-1/services/org.gnome.keyring.service | |
dfd31d33 | 173 | |
174 | %files libs | |
175 | %defattr(644,root,root,755) | |
e17301dd JB |
176 | %attr(755,root,root) %{_libdir}/libgnome-keyring.so.*.*.* |
177 | %attr(755,root,root) %ghost %{_libdir}/libgnome-keyring.so.0 | |
ea8f2f57 AF |
178 | |
179 | %files devel | |
180 | %defattr(644,root,root,755) | |
e17301dd JB |
181 | %attr(755,root,root) %{_libdir}/libgnome-keyring.so |
182 | %{_libdir}/libgnome-keyring.la | |
183 | %{_includedir}/gnome-keyring-1 | |
184 | %{_pkgconfigdir}/gnome-keyring-1.pc | |
ea8f2f57 AF |
185 | |
186 | %files static | |
187 | %defattr(644,root,root,755) | |
e17301dd | 188 | %{_libdir}/libgnome-keyring.a |
e826d50e | 189 | |
190 | %files apidocs | |
191 | %defattr(644,root,root,755) | |
192 | %{_gtkdocdir}/%{name} | |
8e87bb0c MB |
193 | |
194 | %files pam | |
195 | %defattr(644,root,root,755) | |
e17301dd | 196 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so |