]> git.pld-linux.org Git - packages/gnome-keyring.git/blame - gnome-keyring.spec
- updated to 3.4.0; merged changes from DEVEL
[packages/gnome-keyring.git] / gnome-keyring.spec
CommitLineData
451fa11a
ER
1# TODO
2# Aug 14 13:19:00 haarber gnome-keyring-daemon[6524]: couldn't list keyrings at: /etc/certs: Error opening directory '/etc/certs': Permission denied
975c19c5
JB
3#
4# Conditional build:
5%bcond_with p11_tests # PKCS#11 tests
6#
dfd31d33 7Summary: Keep passwords and other user's secrets
545c4b5e 8Summary(pl.UTF-8): Przechowywanie haseł i innych tajnych danych użytkowników
ea8f2f57 9Name: gnome-keyring
d5034fae
MB
10Version: 3.4.0
11Release: 1
e17301dd 12License: LGPL v2+ (library), GPL v2+ (programs)
6bf8e86c 13Group: X11/Applications
d5034fae
MB
14Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.4/%{name}-%{version}.tar.xz
15# Source0-md5: f4e62be30e7fdd8333eeabeb74e1012d
4040a0df 16URL: http://live.gnome.org/GnomeKeyring
975c19c5 17BuildRequires: autoconf >= 2.50
6c24b3c6 18BuildRequires: automake
9a733942 19BuildRequires: cairo-devel
d550769a 20BuildRequires: dbus-devel >= 1.2.0
1d298f8d 21BuildRequires: docbook-dtd412-xml
d5034fae 22BuildRequires: gcr-devel >= 3.4.0
8e87bb0c 23BuildRequires: gettext-devel
d5034fae 24BuildRequires: glib2-devel >= 1:2.28.0
611c437c 25BuildRequires: gtk+3-devel >= 3.0.0
b19090d9 26BuildRequires: gtk-doc >= 1.9
eb503aad 27BuildRequires: intltool >= 0.40.0
56019a28 28BuildRequires: libcap-ng-devel
8e87bb0c 29BuildRequires: libgcrypt-devel >= 1.2.2
975c19c5 30BuildRequires: libselinux-devel
eb503aad 31BuildRequires: libtasn1-devel >= 0.3.4
6c24b3c6 32BuildRequires: libtool
56019a28 33BuildRequires: p11-kit-devel >= 0.6
975c19c5 34%{?with_p11_tests:BuildRequires: p11-tests-devel >= 0.1}
8e87bb0c 35BuildRequires: pam-devel
ca1bceba 36BuildRequires: pkgconfig
8f515912 37BuildRequires: rpmbuild(macros) >= 1.592
56019a28
ŁK
38BuildRequires: tar >= 1:1.22
39BuildRequires: xz
f12ccd51 40Requires(post,postun): glib2 >= 1:2.26.0
d550769a 41Requires: dbus >= 1.2.0
56019a28 42Requires: hicolor-icon-theme
f027c5e0 43Conflicts: rpm < 4.4.2-0.2
7b648fbd 44# sr@Latn vs. sr@latin
45Conflicts: glibc-misc < 6:2.7
ea8f2f57
AF
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
4040a0df
MB
48%define _libexecdir %{_libdir}/%{name}
49
ea8f2f57 50%description
a971d564 51GNOME Keyring is a program that keeps password and other secrets for
6030d07d 52users. It is run as a daemon in the session, similar to ssh-agent, and
ea8f2f57
AF
53other applications can locate it by an environment variable.
54
997e38ba
JR
55%description -l pl.UTF-8
56GNOME Keyring to program do przechowywania haseł i innych tajnych
57danych użytkowników. Działa jako demon w sesji, podobnie do
58ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną
59środowiskową.
6bf8e86c 60
f0978796 61%package -n pam-pam_gnome_keyring
8e87bb0c
MB
62Summary: A PAM module for unlocking keyrings at login time
63Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania
e17301dd 64License: LGPL v2+
8e87bb0c
MB
65Group: Libraries
66Requires: %{name} = %{version}-%{release}
f0978796 67Obsoletes: gnome-keyring-pam
8e87bb0c 68
f0978796 69%description -n pam-pam_gnome_keyring
8e87bb0c
MB
70A PAM module that can automatically unlock the "login" keyring when
71the user logs in and start the keyring daemon.
72
f0978796 73%description -n pam-pam_gnome_keyring -l pl.UTF-8
8e87bb0c
MB
74Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login"
75w czasie logowania użytkownika i uruchamiania demona keyring.
76
ea8f2f57
AF
77%prep
78%setup -q
79
80%build
1d298f8d 81%{__gtkdocize}
ca1bceba
MB
82%{__glib_gettextize}
83%{__intltoolize}
6c24b3c6 84%{__libtoolize}
85%{__aclocal}
86%{__autoconf}
4040a0df 87%{__autoheader}
6c24b3c6 88%{__automake}
ea8f2f57 89%configure \
f12ccd51 90 --disable-silent-rules \
975c19c5 91 %{!?with_p11_tests:--disable-p11-tests} \
178a609f 92 --enable-gtk-doc \
93 --enable-static \
8e87bb0c 94 --with-html-dir=%{_gtkdocdir} \
611c437c 95 --with-pam-dir=/%{_lib}/security \
d5034fae
MB
96 --with-root-certs=%{_sysconfdir}/certs \
97 --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt
ea8f2f57
AF
98%{__make}
99
100%install
101rm -rf $RPM_BUILD_ROOT
ea8f2f57 102
8e87bb0c 103%{__make} install install-pam \
4040a0df 104 DESTDIR=$RPM_BUILD_ROOT
ea8f2f57 105
4498c8a8 106%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.{l,}a
611c437c
MB
107%{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.{l,}a
108%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.{l,}a
8e87bb0c 109
4040a0df 110%find_lang %{name}
ea8f2f57
AF
111
112%clean
113rm -rf $RPM_BUILD_ROOT
114
56019a28 115%post
8f515912 116%glib_compile_schemas
4040a0df 117
f12ccd51 118%postun
56019a28 119%glib_compile_schemas
4040a0df 120
ea8f2f57
AF
121%files -f %{name}.lang
122%defattr(644,root,root,755)
fd734cb1 123%doc AUTHORS ChangeLog NEWS README
dba49349 124%attr(755,root,root) %{_bindir}/gnome-keyring
611c437c 125%attr(755,root,root) %{_bindir}/gnome-keyring-3
e17301dd 126%attr(755,root,root) %{_bindir}/gnome-keyring-daemon
83464842 127%dir %{_libdir}/pkcs11
611c437c 128%attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so
d5034fae 129%dir %{_libdir}/%{name}
8fc21cf5 130%dir %{_libdir}/%{name}/devel
611c437c
MB
131%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so
132%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-roots-store-standalone.so
133%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so
f12ccd51 134%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so
611c437c 135%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so
f12ccd51 136%{_sysconfdir}/xdg/autostart/gnome-keyring-gpg.desktop
fd734cb1
MB
137%{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop
138%{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop
139%{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop
f12ccd51 140%{_datadir}/GConf/gsettings/*.convert
f075f5fb 141%{_datadir}/dbus-1/services/org.freedesktop.secrets.service
4040a0df 142%{_datadir}/dbus-1/services/org.gnome.keyring.service
f12ccd51 143%{_datadir}/glib-2.0/schemas/*.gschema.xml
56019a28 144%{_sysconfdir}/pkcs11/modules/gnome-keyring-module
8e87bb0c 145
f0978796 146%files -n pam-pam_gnome_keyring
8e87bb0c 147%defattr(644,root,root,755)
e17301dd 148%attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so
This page took 0.051868 seconds and 4 git commands to generate.