]>
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 |
ea8f2f57 | 6 | License: LGPL v2+/GPL v2+ |
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 |
6bf8e86c | 49 | Group: Libraries |
dfd31d33 | 50 | |
51 | %description libs | |
a971d564 | 52 | GNOME keyring library. |
dfd31d33 | 53 | |
997e38ba | 54 | %description libs -l pl.UTF-8 |
a971d564 | 55 | Biblioteka GNOME keyring. |
ea8f2f57 AF |
56 | |
57 | %package devel | |
a971d564 | 58 | Summary: Headers for GNOME keyring library |
545c4b5e | 59 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME keyring |
6bf8e86c | 60 | Group: Development/Libraries |
6c24b3c6 | 61 | Requires: %{name}-libs = %{version}-%{release} |
789037fe | 62 | Requires: dbus-devel >= 1.1.2 |
8e87bb0c | 63 | Requires: glib2-devel >= 1:2.14.1 |
ea8f2f57 AF |
64 | |
65 | %description devel | |
a971d564 | 66 | Headers for GNOME keyring library. |
ea8f2f57 | 67 | |
997e38ba JR |
68 | %description devel -l pl.UTF-8 |
69 | Pliki nagłówkowe biblioteki GNOME keyring. | |
ea8f2f57 AF |
70 | |
71 | %package static | |
a971d564 | 72 | Summary: Static GNOME keyring libraries |
545c4b5e | 73 | Summary(pl.UTF-8): Statyczne biblioteki GNOME keyring |
6bf8e86c | 74 | Group: Development/Libraries |
6c24b3c6 | 75 | Requires: %{name}-devel = %{version}-%{release} |
ea8f2f57 AF |
76 | |
77 | %description static | |
a971d564 | 78 | Static versions of GNOME keyring libraries. |
dfd31d33 | 79 | |
997e38ba | 80 | %description static -l pl.UTF-8 |
a971d564 | 81 | Statyczne biblioteki GNOME keyring. |
ea8f2f57 | 82 | |
e826d50e | 83 | %package apidocs |
84 | Summary: GNOME keyring API documentation | |
545c4b5e | 85 | Summary(pl.UTF-8): Dokumentacja API GNOME keyring |
e826d50e | 86 | Group: Documentation |
87 | Requires: gtk-doc-common | |
88 | ||
89 | %description apidocs | |
90 | GNOME keyring API documentation. | |
91 | ||
997e38ba | 92 | %description apidocs -l pl.UTF-8 |
e826d50e | 93 | Dokumentacja API GNOME keyring. |
94 | ||
8e87bb0c MB |
95 | %package pam |
96 | Summary: A PAM module for unlocking keyrings at login time | |
97 | Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania | |
98 | Group: Libraries | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | ||
101 | %description pam | |
102 | A PAM module that can automatically unlock the "login" keyring when | |
103 | the user logs in and start the keyring daemon. | |
104 | ||
105 | %description pam -l pl.UTF-8 | |
106 | Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login" | |
107 | w czasie logowania użytkownika i uruchamiania demona keyring. | |
108 | ||
ea8f2f57 AF |
109 | %prep |
110 | %setup -q | |
111 | ||
112 | %build | |
ca1bceba MB |
113 | %{__glib_gettextize} |
114 | %{__intltoolize} | |
6c24b3c6 | 115 | %{__libtoolize} |
116 | %{__aclocal} | |
117 | %{__autoconf} | |
118 | %{__automake} | |
ea8f2f57 | 119 | %configure \ |
178a609f | 120 | --enable-gtk-doc \ |
121 | --enable-static \ | |
8e87bb0c MB |
122 | --with-html-dir=%{_gtkdocdir} \ |
123 | --with-pam-dir=/%{_lib}/security | |
ea8f2f57 AF |
124 | %{__make} |
125 | ||
126 | %install | |
127 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 | 128 | |
8e87bb0c | 129 | %{__make} install install-pam \ |
ea8f2f57 AF |
130 | DESTDIR=$RPM_BUILD_ROOT \ |
131 | pkgconfigdir=%{_pkgconfigdir} | |
132 | ||
9418c839 | 133 | rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a |
8e87bb0c MB |
134 | rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring* |
135 | ||
7b648fbd | 136 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
137 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
ea8f2f57 AF |
138 | %find_lang %{name} --with-gnome --all-name |
139 | ||
140 | %clean | |
141 | rm -rf $RPM_BUILD_ROOT | |
142 | ||
cec55ed8 | 143 | %post libs -p /sbin/ldconfig |
144 | %postun libs -p /sbin/ldconfig | |
ea8f2f57 AF |
145 | |
146 | %files -f %{name}.lang | |
147 | %defattr(644,root,root,755) | |
db68f084 | 148 | %doc AUTHORS ChangeLog NEWS README TODO |
ea8f2f57 | 149 | %attr(755,root,root) %{_bindir}/* |
4761618a | 150 | %attr(755,root,root) %{_libexecdir}/%{name}-ask |
dfd31d33 | 151 | |
152 | %files libs | |
153 | %defattr(644,root,root,755) | |
ea8f2f57 AF |
154 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
155 | ||
156 | %files devel | |
157 | %defattr(644,root,root,755) | |
158 | %attr(755,root,root) %{_libdir}/lib*.so | |
159 | %{_libdir}/lib*.la | |
ea8f2f57 | 160 | %{_includedir}/* |
178a609f | 161 | %{_pkgconfigdir}/*.pc |
ea8f2f57 AF |
162 | |
163 | %files static | |
164 | %defattr(644,root,root,755) | |
165 | %{_libdir}/lib*.a | |
e826d50e | 166 | |
167 | %files apidocs | |
168 | %defattr(644,root,root,755) | |
169 | %{_gtkdocdir}/%{name} | |
8e87bb0c MB |
170 | |
171 | %files pam | |
172 | %defattr(644,root,root,755) | |
173 | %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring*.so |