]> git.pld-linux.org Git - packages/gnome-keyring.git/blob - gnome-keyring.spec
- release 2
[packages/gnome-keyring.git] / gnome-keyring.spec
1 Summary:        Keep passwords and other user's secrets
2 Summary(pl.UTF-8):      Przechowywanie haseł i innych tajnych danych użytkowników
3 Name:           gnome-keyring
4 Version:        2.22.2
5 Release:        2
6 License:        LGPL v2+ (library), GPL v2+ (programs)
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6957b89ad34c0e53135e66102e4db9f9
10 URL:            http://live.gnome.org/GnomeKeyring
11 BuildRequires:  GConf2-devel >= 2.22.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  dbus-devel >= 1.2.0
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2:2.12.8
17 BuildRequires:  gtk-doc >= 1.8
18 BuildRequires:  hal-devel >= 0.5.10
19 BuildRequires:  intltool >= 0.37.0
20 BuildRequires:  libgcrypt-devel >= 1.2.2
21 BuildRequires:  libtasn1-devel
22 BuildRequires:  libtool
23 BuildRequires:  pam-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.197
26 BuildRequires:  sed >= 4.0
27 Requires(post,preun):   GConf2
28 Requires:       dbus >= 1.2.0
29 # sr@Latn vs. sr@latin
30 Conflicts:      glibc-misc < 6:2.7
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _libexecdir     %{_libdir}/%{name}
34
35 %description
36 GNOME Keyring is a program that keeps password and other secrets for
37 users. It is run as a daemon in the session, similar to ssh-agent, and
38 other applications can locate it by an environment variable.
39
40 The library libgnome-keyring is used by applications to integrate with
41 the GNOME keyring system.
42
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ą.
48
49 Biblioteka libgnome-keyring jest używana przez aplikacje do integracji
50 z systemem kluczy GNOME.
51
52 %package libs
53 Summary:        GNOME keyring library
54 Summary(pl.UTF-8):      Biblioteka GNOME keyring
55 License:        LGPL v2+
56 Group:          Libraries
57
58 %description libs
59 GNOME keyring library.
60
61 %description libs -l pl.UTF-8
62 Biblioteka GNOME keyring.
63
64 %package devel
65 Summary:        Headers for GNOME keyring library
66 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki GNOME keyring
67 License:        LGPL v2+
68 Group:          Development/Libraries
69 Requires:       %{name}-libs = %{version}-%{release}
70 Requires:       dbus-devel >= 1.2.0
71 Requires:       glib2-devel >= 1:2.16.0
72
73 %description devel
74 Headers for GNOME keyring library.
75
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe biblioteki GNOME keyring.
78
79 %package static
80 Summary:        Static GNOME keyring libraries
81 Summary(pl.UTF-8):      Statyczne biblioteki GNOME keyring
82 License:        LGPL v2+
83 Group:          Development/Libraries
84 Requires:       %{name}-devel = %{version}-%{release}
85
86 %description static
87 Static versions of GNOME keyring libraries.
88
89 %description static -l pl.UTF-8
90 Statyczne biblioteki GNOME keyring.
91
92 %package apidocs
93 Summary:        GNOME keyring API documentation
94 Summary(pl.UTF-8):      Dokumentacja API GNOME keyring
95 License:        LGPL v2+
96 Group:          Documentation
97 Requires:       gtk-doc-common
98
99 %description apidocs
100 GNOME keyring API documentation.
101
102 %description apidocs -l pl.UTF-8
103 Dokumentacja API GNOME keyring.
104
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
108 License:        LGPL v2+
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
120 %prep
121 %setup -q
122
123 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
124 mv po/sr@{Latn,latin}.po
125
126 %build
127 %{__glib_gettextize}
128 %{__intltoolize}
129 %{__libtoolize}
130 %{__aclocal}
131 %{__autoconf}
132 %{__autoheader}
133 %{__automake}
134 %configure \
135         --enable-gtk-doc \
136         --enable-static \
137         --with-html-dir=%{_gtkdocdir} \
138         --with-pam-dir=/%{_lib}/security
139 %{__make}
140
141 %install
142 rm -rf $RPM_BUILD_ROOT
143
144 %{__make} install install-pam \
145         DESTDIR=$RPM_BUILD_ROOT
146
147 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a
148 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/gnome-keyring-pkcs11.{l,}a
149
150 %find_lang %{name}
151
152 %clean
153 rm -rf $RPM_BUILD_ROOT
154
155 %post
156 %gconf_schema_install gnome-keyring.schemas
157
158 %preun
159 %gconf_schema_uninstall gnome-keyring.schemas
160
161 %post   libs -p /sbin/ldconfig
162 %postun libs -p /sbin/ldconfig
163
164 %files -f %{name}.lang
165 %defattr(644,root,root,755)
166 %doc AUTHORS ChangeLog NEWS README TODO
167 %attr(755,root,root) %{_bindir}/gnome-keyring-daemon
168 %dir %{_libdir}/%{name}
169 %attr(755,root,root) %{_libexecdir}/%{name}-ask
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
173
174 %files libs
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_libdir}/libgnome-keyring.so.*.*.*
177 %attr(755,root,root) %ghost %{_libdir}/libgnome-keyring.so.0
178
179 %files devel
180 %defattr(644,root,root,755)
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
185
186 %files static
187 %defattr(644,root,root,755)
188 %{_libdir}/libgnome-keyring.a
189
190 %files apidocs
191 %defattr(644,root,root,755)
192 %{_gtkdocdir}/%{name}
193
194 %files pam
195 %defattr(644,root,root,755)
196 %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so
This page took 0.036914 seconds and 3 git commands to generate.