]> git.pld-linux.org Git - packages/gnome-keyring.git/blame - gnome-keyring.spec
- dependencies cleanup, verbose files in common dirs
[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
26ac63c7 10Version: 3.18.0
77350ae8 11Release: 1
e17301dd 12License: LGPL v2+ (library), GPL v2+ (programs)
6bf8e86c 13Group: X11/Applications
26ac63c7
MB
14Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/3.18/%{name}-%{version}.tar.xz
15# Source0-md5: 6bdefb3f3ec851d800040c029fdf3f86
4040a0df 16URL: http://live.gnome.org/GnomeKeyring
975c19c5 17BuildRequires: autoconf >= 2.50
0a2579d3 18BuildRequires: automake >= 1:1.12
1d298f8d 19BuildRequires: docbook-dtd412-xml
a4cf7543 20BuildRequires: gcr-devel >= 3.5.3
587852c9 21BuildRequires: gettext-tools
0a2579d3 22BuildRequires: glib2-devel >= 1:2.38.0
eb503aad 23BuildRequires: intltool >= 0.40.0
56019a28 24BuildRequires: libcap-ng-devel
8e87bb0c 25BuildRequires: libgcrypt-devel >= 1.2.2
975c19c5 26BuildRequires: libselinux-devel
871a9587 27# for some test only
eb503aad 28BuildRequires: libtasn1-devel >= 0.3.4
6c24b3c6 29BuildRequires: libtool
dc752cfb 30BuildRequires: p11-kit-devel >= 0.16
975c19c5 31%{?with_p11_tests:BuildRequires: p11-tests-devel >= 0.1}
8e87bb0c 32BuildRequires: pam-devel
ca1bceba 33BuildRequires: pkgconfig
8f515912 34BuildRequires: rpmbuild(macros) >= 1.592
56019a28
ŁK
35BuildRequires: tar >= 1:1.22
36BuildRequires: xz
0a2579d3 37Requires(post,postun): glib2 >= 1:2.38.0
b45eef19 38Requires: filesystem >= 4.0-28
c3e1ec93 39Requires: gcr >= 3.5.3
0a2579d3 40Requires: glib2 >= 1:2.38.0
56019a28 41Requires: hicolor-icon-theme
dc752cfb 42Requires: p11-kit >= 0.16
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
ca1bceba
MB
81%{__glib_gettextize}
82%{__intltoolize}
6c24b3c6 83%{__libtoolize}
84%{__aclocal}
85%{__autoconf}
4040a0df 86%{__autoheader}
6c24b3c6 87%{__automake}
ea8f2f57 88%configure \
f12ccd51 89 --disable-silent-rules \
975c19c5 90 %{!?with_p11_tests:--disable-p11-tests} \
611c437c 91 --with-pam-dir=/%{_lib}/security \
d5034fae
MB
92 --with-root-certs=%{_sysconfdir}/certs \
93 --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt
ea8f2f57
AF
94%{__make}
95
96%install
97rm -rf $RPM_BUILD_ROOT
ea8f2f57 98
8e87bb0c 99%{__make} install install-pam \
4040a0df 100 DESTDIR=$RPM_BUILD_ROOT
ea8f2f57 101
50453096
JB
102%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_gnome_keyring.la
103%{__rm} $RPM_BUILD_ROOT%{_libdir}/pkcs11/gnome-keyring-pkcs11.la
104%{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
8e87bb0c 105
4040a0df 106%find_lang %{name}
ea8f2f57
AF
107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
56019a28 111%post
8f515912 112%glib_compile_schemas
4040a0df 113
f12ccd51 114%postun
56019a28 115%glib_compile_schemas
4040a0df 116
ea8f2f57
AF
117%files -f %{name}.lang
118%defattr(644,root,root,755)
fd734cb1 119%doc AUTHORS ChangeLog NEWS README
dba49349 120%attr(755,root,root) %{_bindir}/gnome-keyring
611c437c 121%attr(755,root,root) %{_bindir}/gnome-keyring-3
e17301dd 122%attr(755,root,root) %{_bindir}/gnome-keyring-daemon
611c437c 123%attr(755,root,root) %{_libdir}/pkcs11/gnome-keyring-pkcs11.so
d5034fae 124%dir %{_libdir}/%{name}
8fc21cf5 125%dir %{_libdir}/%{name}/devel
611c437c 126%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-gnome2-store-standalone.so
611c437c 127%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-secret-store-standalone.so
f12ccd51 128%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-ssh-store-standalone.so
611c437c 129%attr(755,root,root) %{_libdir}/%{name}/devel/gkm-xdg-store-standalone.so
fd734cb1
MB
130%{_sysconfdir}/xdg/autostart/gnome-keyring-pkcs11.desktop
131%{_sysconfdir}/xdg/autostart/gnome-keyring-secrets.desktop
132%{_sysconfdir}/xdg/autostart/gnome-keyring-ssh.desktop
871a9587 133%{_datadir}/GConf/gsettings/org.gnome.crypto.cache.convert
f075f5fb 134%{_datadir}/dbus-1/services/org.freedesktop.secrets.service
4040a0df 135%{_datadir}/dbus-1/services/org.gnome.keyring.service
871a9587 136%{_datadir}/glib-2.0/schemas/org.gnome.crypto.cache.gschema.xml
dc752cfb 137%{_datadir}/p11-kit/modules/gnome-keyring.module
98ba9994
MB
138%{_mandir}/man1/gnome-keyring.1*
139%{_mandir}/man1/gnome-keyring-3.1*
140%{_mandir}/man1/gnome-keyring-daemon.1*
8e87bb0c 141
f0978796 142%files -n pam-pam_gnome_keyring
8e87bb0c 143%defattr(644,root,root,755)
e17301dd 144%attr(755,root,root) /%{_lib}/security/pam_gnome_keyring.so
This page took 0.117413 seconds and 4 git commands to generate.