]> git.pld-linux.org Git - packages/gnome-keyring.git/blame - gnome-keyring.spec
Update to 3.28.0
[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
da608828 10Version: 3.28.0
9e2f78d6 11Release: 1
e17301dd 12License: LGPL v2+ (library), GPL v2+ (programs)
6bf8e86c 13Group: X11/Applications
da608828
MB
14Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.28/%{name}-%{version}.tar.xz
15# Source0-md5: b7481514065872bd1845609a2ef576c6
4040a0df 16URL: http://live.gnome.org/GnomeKeyring
975c19c5 17BuildRequires: autoconf >= 2.50
0a2579d3 18BuildRequires: automake >= 1:1.12
1d298f8d 19BuildRequires: docbook-dtd412-xml
da608828
MB
20BuildRequires: gcr-devel >= 3.28.0
21BuildRequires: gettext-tools >= 0.19.8
22BuildRequires: glib2-devel >= 1:2.44.0
56019a28 23BuildRequires: libcap-ng-devel
8e87bb0c 24BuildRequires: libgcrypt-devel >= 1.2.2
975c19c5 25BuildRequires: libselinux-devel
871a9587 26# for some test only
eb503aad 27BuildRequires: libtasn1-devel >= 0.3.4
6c24b3c6 28BuildRequires: libtool
dc752cfb 29BuildRequires: p11-kit-devel >= 0.16
975c19c5 30%{?with_p11_tests:BuildRequires: p11-tests-devel >= 0.1}
8e87bb0c 31BuildRequires: pam-devel
ca1bceba 32BuildRequires: pkgconfig
8f515912 33BuildRequires: rpmbuild(macros) >= 1.592
56019a28
ŁK
34BuildRequires: tar >= 1:1.22
35BuildRequires: xz
0a2579d3 36Requires(post,postun): glib2 >= 1:2.38.0
b45eef19 37Requires: filesystem >= 4.0-28
da608828
MB
38Requires: gcr >= 3.28.0
39Requires: glib2 >= 1:2.44.0
56019a28 40Requires: hicolor-icon-theme
dc752cfb 41Requires: p11-kit >= 0.16
f027c5e0 42Conflicts: rpm < 4.4.2-0.2
7b648fbd 43# sr@Latn vs. sr@latin
44Conflicts: glibc-misc < 6:2.7
ea8f2f57
AF
45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
4040a0df
MB
47%define _libexecdir %{_libdir}/%{name}
48
ea8f2f57 49%description
a971d564 50GNOME Keyring is a program that keeps password and other secrets for
6030d07d 51users. It is run as a daemon in the session, similar to ssh-agent, and
ea8f2f57
AF
52other applications can locate it by an environment variable.
53
997e38ba
JR
54%description -l pl.UTF-8
55GNOME Keyring to program do przechowywania haseł i innych tajnych
56danych użytkowników. Działa jako demon w sesji, podobnie do
57ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną
58środowiskową.
6bf8e86c 59
f0978796 60%package -n pam-pam_gnome_keyring
8e87bb0c
MB
61Summary: A PAM module for unlocking keyrings at login time
62Summary(pl.UTF-8): Moduł PAM do odblokowywania zbiorów kluczy w czasie logowania
e17301dd 63License: LGPL v2+
8e87bb0c
MB
64Group: Libraries
65Requires: %{name} = %{version}-%{release}
f0978796 66Obsoletes: gnome-keyring-pam
8e87bb0c 67
f0978796 68%description -n pam-pam_gnome_keyring
8e87bb0c
MB
69A PAM module that can automatically unlock the "login" keyring when
70the user logs in and start the keyring daemon.
71
f0978796 72%description -n pam-pam_gnome_keyring -l pl.UTF-8
8e87bb0c
MB
73Moduł PAM, który może automatycznie odblokowywać zbiór kluczy "login"
74w czasie logowania użytkownika i uruchamiania demona keyring.
75
ea8f2f57
AF
76%prep
77%setup -q
78
79%build
6c24b3c6 80%{__libtoolize}
81%{__aclocal}
82%{__autoconf}
4040a0df 83%{__autoheader}
6c24b3c6 84%{__automake}
ea8f2f57 85%configure \
f12ccd51 86 --disable-silent-rules \
975c19c5 87 %{!?with_p11_tests:--disable-p11-tests} \
da608828 88 --with-pam-dir=/%{_lib}/security
ea8f2f57
AF
89%{__make}
90
91%install
92rm -rf $RPM_BUILD_ROOT
ea8f2f57 93
8e87bb0c 94%{__make} install install-pam \
4040a0df 95 DESTDIR=$RPM_BUILD_ROOT
ea8f2f57 96
50453096
JB
97%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.la
98%{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.la
99%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
8e87bb0c 100
4040a0df 101%find_lang %{name}
ea8f2f57
AF
102
103%clean
104rm -rf $RPM_BUILD_ROOT
105
56019a28 106%post
8f515912 107%glib_compile_schemas
4040a0df 108
f12ccd51 109%postun
56019a28 110%glib_compile_schemas
4040a0df 111
ea8f2f57
AF
112%files -f %{name}.lang
113%defattr(644,root,root,755)
fd734cb1 114%doc AUTHORS ChangeLog NEWS README
dba49349 115%attr(755,root,root) %{_bindir}/gnome-keyring
611c437c 116%attr(755,root,root) %{_bindir}/gnome-keyring-3
e17301dd 117%attr(755,root,root) %{_bindir}/gnome-keyring-daemon
611c437c 118%attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so
d5034fae 119%dir %{_libdir}/%{name}
8fc21cf5 120%dir %{_libdir}/%{name}/devel
611c437c 121%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so
611c437c 122%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so
f12ccd51 123%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so
611c437c 124%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so
fd734cb1
MB
125%{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop
126%{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop
127%{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop
871a9587 128%{_datadir}/GConf/gsettings/org.gnome.crypto.cache.convert
f075f5fb 129%{_datadir}/dbus-1/services/org.freedesktop.secrets.service
4040a0df 130%{_datadir}/dbus-1/services/org.gnome.keyring.service
871a9587 131%{_datadir}/glib-2.0/schemas/org.gnome.crypto.cache.gschema.xml
98ba9994
MB
132%{_mandir}/man1/gnome-keyring.1*
133%{_mandir}/man1/gnome-keyring-3.1*
134%{_mandir}/man1/gnome-keyring-daemon.1*
8e87bb0c 135
f0978796 136%files -n pam-pam_gnome_keyring
8e87bb0c 137%defattr(644,root,root,755)
e17301dd 138%attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so
This page took 0.309664 seconds and 4 git commands to generate.