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