diff --git a/gnome-keyring-3.36.0.tar.xz b/gnome-keyring-3.36.0.tar.xz deleted file mode 100644 index 635537a35dce624b10f52177693f777c5c00c53f..0000000000000000000000000000000000000000 Binary files a/gnome-keyring-3.36.0.tar.xz and /dev/null differ diff --git a/gnome-keyring-40.0.tar.xz b/gnome-keyring-40.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..f4ac83f5860fc47323eae791a690163af206a666 Binary files /dev/null and b/gnome-keyring-40.0.tar.xz differ diff --git a/gnome-keyring.spec b/gnome-keyring.spec index 29e5901a92e1a4ad449443e18a45c7db8ae722a9..bc62b92234218d18dde6760281894892a8061453 100644 --- a/gnome-keyring.spec +++ b/gnome-keyring.spec @@ -1,14 +1,22 @@ +%global glib2_version 2.44.0 +%global gcr_version 3.27.90 +%global gcrypt_version 1.2.2 + Name: gnome-keyring -Version: 3.36.0 +Version: 40.0 Release: 1 Summary: A program that keep password and other secrets for users License: GPLv2+ and LGPLv2+ URL: https://wiki.gnome.org/Projects/GnomeKeyring -Source0: https://download.gnome.org/sources/%{name}/3.36/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{version}.tar.xz BuildRequires: gcc docbook-dtds docbook-style-xsl gettext intltool libcap-ng-devel libselinux-devel pam-devel -BuildRequires: openssh-clients libxslt -BuildRequires: pkgconfig(p11-kit-1) pkgconfig(gcr-3) >= 3.27.90 pkgconfig(glib-2.0) >= 2.44.0 libgcrypt-devel >= 1.2.2 +BuildRequires: openssh-clients libxslt make +BuildRequires: pkgconfig(p11-kit-1) +BuildRequires: pkgconfig(gcr-3) >= %{gcr_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: libgcrypt-devel >= %{gcrypt_version} + Requires: openssh gcr %description @@ -25,27 +33,26 @@ Requires: %{name}%{?_isa} = %{version}-%{release} pam%{?_isa} The gnome-keyring-pam package contains a pam module that can automatically unlock the "login" keyring when the user logs in. -%package help -Summary: This package contains help documents - -%description help -Files for help with gnome-keyring. +%package_help %prep %autosetup -p1 %build -%configure --with-pam-dir=%{_libdir}/security --enable-pam +%configure \ + --with-pam-dir=%{_libdir}/security \ + --enable-pam \ + --without-libcap-ng sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool %make_build %install %make_install %find_lang gnome-keyring -%delete_la +%delete_la_and_a %files -f gnome-keyring.lang -%doc AUTHORS NEWS COPYING COPYING.LIB README +%license COPYING COPYING.LIB %{_libdir}/pkcs11/*.so %{_libdir}/gnome-keyring/devel/*.so %{_bindir}/* @@ -53,19 +60,22 @@ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool %{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/dbus-1/services/*.service %{_datadir}/p11-kit/modules/gnome-keyring.module -%{_datadir}/xdg-desktop-portal +%{_datadir}/xdg-desktop-portal/portals/gnome-keyring.portal %{_sysconfdir}/xdg/autostart/* -%attr(0755,root,root) %caps(cap_ipc_lock=ep) %files pam %{_libdir}/security/*.so %files help +%doc AUTHORS NEWS README %{_mandir}/man1/gnome-keyring.1* %{_mandir}/man1/gnome-keyring-3.1* %{_mandir}/man1/gnome-keyring-daemon.1* %changelog +* Mon Mar 28 2022 lin zhang - 40.0-1 +- Update to 40.0 + * Mon May 31 2021 weijin deng - 3.36.0-1 - Upgrade to 3.36.0 - Update Version, Release, Source0, stage 'files'