]> git.pld-linux.org Git - packages/gnome-keyring.git/blob - gnome-keyring.spec
- updated to 2.20.3
[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+/GPL v2+
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 Group:          Libraries
50
51 %description libs
52 GNOME keyring library.
53
54 %description libs -l pl.UTF-8
55 Biblioteka GNOME keyring.
56
57 %package devel
58 Summary:        Headers for GNOME keyring library
59 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki GNOME keyring
60 Group:          Development/Libraries
61 Requires:       %{name}-libs = %{version}-%{release}
62 Requires:       dbus-devel >= 1.1.2
63 Requires:       glib2-devel >= 1:2.14.1
64
65 %description devel
66 Headers for GNOME keyring library.
67
68 %description devel -l pl.UTF-8
69 Pliki nagłówkowe biblioteki GNOME keyring.
70
71 %package static
72 Summary:        Static GNOME keyring libraries
73 Summary(pl.UTF-8):      Statyczne biblioteki GNOME keyring
74 Group:          Development/Libraries
75 Requires:       %{name}-devel = %{version}-%{release}
76
77 %description static
78 Static versions of GNOME keyring libraries.
79
80 %description static -l pl.UTF-8
81 Statyczne biblioteki GNOME keyring.
82
83 %package apidocs
84 Summary:        GNOME keyring API documentation
85 Summary(pl.UTF-8):      Dokumentacja API GNOME keyring
86 Group:          Documentation
87 Requires:       gtk-doc-common
88
89 %description apidocs
90 GNOME keyring API documentation.
91
92 %description apidocs -l pl.UTF-8
93 Dokumentacja API GNOME keyring.
94
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
109 %prep
110 %setup -q
111
112 %build
113 %{__glib_gettextize}
114 %{__intltoolize}
115 %{__libtoolize}
116 %{__aclocal}
117 %{__autoconf}
118 %{__automake}
119 %configure \
120         --enable-gtk-doc \
121         --enable-static \
122         --with-html-dir=%{_gtkdocdir} \
123         --with-pam-dir=/%{_lib}/security
124 %{__make}
125
126 %install
127 rm -rf $RPM_BUILD_ROOT
128
129 %{__make} install install-pam \
130         DESTDIR=$RPM_BUILD_ROOT \
131         pkgconfigdir=%{_pkgconfigdir}
132
133 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a
134 rm -f $RPM_BUILD_ROOT%{_libdir}/pam_gnome_keyring*
135
136 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
137         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
138 %find_lang %{name} --with-gnome --all-name
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %post   libs -p /sbin/ldconfig
144 %postun libs -p /sbin/ldconfig
145
146 %files -f %{name}.lang
147 %defattr(644,root,root,755)
148 %doc AUTHORS ChangeLog NEWS README TODO
149 %attr(755,root,root) %{_bindir}/*
150 %attr(755,root,root) %{_libexecdir}/%{name}-ask
151
152 %files libs
153 %defattr(644,root,root,755)
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
160 %{_includedir}/*
161 %{_pkgconfigdir}/*.pc
162
163 %files static
164 %defattr(644,root,root,755)
165 %{_libdir}/lib*.a
166
167 %files apidocs
168 %defattr(644,root,root,755)
169 %{_gtkdocdir}/%{name}
170
171 %files pam
172 %defattr(644,root,root,755)
173 %attr(755,root,root) /%{_lib}/security/pam_gnome_keyring*.so
This page took 0.158653 seconds and 3 git commands to generate.