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