]> git.pld-linux.org Git - packages/gnome-keyring.git/blob - gnome-keyring.spec
- ghost soname symlink
[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.20.3
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.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2205177a168e745fa803c96a4fb62102
10 URL:            http://www.gnome.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  dbus-devel >= 1.1.2
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+2-devel >= 2:2.12.0
16 BuildRequires:  gtk-doc >= 1.8
17 BuildRequires:  hal-devel >= 0.5.9
18 BuildRequires:  intltool >= 0.36.2
19 BuildRequires:  libgcrypt-devel >= 1.2.2
20 BuildRequires:  libtool
21 BuildRequires:  pam-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.197
24 Requires:       dbus >= 1.1.2
25 # sr@Latn vs. sr@latin
26 Conflicts:      glibc-misc < 6:2.7
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 GNOME Keyring is a program that keeps password and other secrets for
31 users. It is run as a daemon in the session, similar to ssh-agent, and
32 other applications can locate it by an environment variable.
33
34 The library libgnome-keyring is used by applications to integrate with
35 the GNOME keyring system.
36
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ą.
42
43 Biblioteka libgnome-keyring jest używana przez aplikacje do integracji
44 z systemem kluczy GNOME.
45
46 %package libs
47 Summary:        GNOME keyring library
48 Summary(pl.UTF-8):      Biblioteka GNOME keyring
49 License:        LGPL v2+
50 Group:          Libraries
51
52 %description libs
53 GNOME keyring library.
54
55 %description libs -l pl.UTF-8
56 Biblioteka GNOME keyring.
57
58 %package devel
59 Summary:        Headers for GNOME keyring library
60 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki GNOME keyring
61 License:        LGPL v2+
62 Group:          Development/Libraries
63 Requires:       %{name}-libs = %{version}-%{release}
64 Requires:       dbus-devel >= 1.1.2
65 Requires:       glib2-devel >= 1:2.14.1
66
67 %description devel
68 Headers for GNOME keyring library.
69
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe biblioteki GNOME keyring.
72
73 %package static
74 Summary:        Static GNOME keyring libraries
75 Summary(pl.UTF-8):      Statyczne biblioteki GNOME keyring
76 License:        LGPL v2+
77 Group:          Development/Libraries
78 Requires:       %{name}-devel = %{version}-%{release}
79
80 %description static
81 Static versions of GNOME keyring libraries.
82
83 %description static -l pl.UTF-8
84 Statyczne biblioteki GNOME keyring.
85
86 %package apidocs
87 Summary:        GNOME keyring API documentation
88 Summary(pl.UTF-8):      Dokumentacja API GNOME keyring
89 License:        LGPL v2+
90 Group:          Documentation
91 Requires:       gtk-doc-common
92
93 %description apidocs
94 GNOME keyring API documentation.
95
96 %description apidocs -l pl.UTF-8
97 Dokumentacja API GNOME keyring.
98
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
102 License:        LGPL v2+
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
114 %prep
115 %setup -q
116
117 %build
118 %{__glib_gettextize}
119 %{__intltoolize}
120 %{__libtoolize}
121 %{__aclocal}
122 %{__autoconf}
123 %{__automake}
124 %configure \
125         --enable-gtk-doc \
126         --enable-static \
127         --with-html-dir=%{_gtkdocdir} \
128         --with-pam-dir=/%{_lib}/security
129 %{__make}
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install install-pam \
135         DESTDIR=$RPM_BUILD_ROOT \
136         pkgconfigdir=%{_pkgconfigdir}
137
138 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a
139 rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring*
140
141 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
142         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
143 %find_lang %{name} --with-gnome --all-name
144
145 %clean
146 rm -rf $RPM_BUILD_ROOT
147
148 %post   libs -p /sbin/ldconfig
149 %postun libs -p /sbin/ldconfig
150
151 %files -f %{name}.lang
152 %defattr(644,root,root,755)
153 %doc AUTHORS ChangeLog NEWS README TODO
154 %attr(755,root,root) %{_bindir}/gnome-keyring-daemon
155 %attr(755,root,root) %{_libexecdir}/%{name}-ask
156
157 %files libs
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/libgnome-keyring.so.*.*.*
160 %attr(755,root,root) %ghost %{_libdir}/libgnome-keyring.so.0
161
162 %files devel
163 %defattr(644,root,root,755)
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
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/libgnome-keyring.a
172
173 %files apidocs
174 %defattr(644,root,root,755)
175 %{_gtkdocdir}/%{name}
176
177 %files pam
178 %defattr(644,root,root,755)
179 %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so
This page took 0.067075 seconds and 3 git commands to generate.