%ifarch %{valgrind_arches} %global has_valgrind 1 %endif Name: gcr Version: 4.3.0 Release: 1%{?dist} Summary: A library for bits of crypto UI and parsing # gck/pkcs11n.h is MPL 1.1/GPL 2.0/LGPL 2.1 # gck/pkcs11x.h is FSFULLRWD # ui/icons/render-icons.py is LGPL-3.0-or-later OR CC-BY-SA-3.0 # docs/COPYING is GCR-docs License: LGPL-2.1-or-later AND FSFULLRWD AND (LGPL-3.0-or-later OR CC-BY-SA-3.0) AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND GCR-docs URL: https://gitlab.gnome.org/GNOME/gcr Source0: https://download.gnome.org/sources/%{name}/4.1/%{name}-%{version}.tar.xz # https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/145 Patch0: gcr-4.3.0-fips.patch BuildRequires: gettext BuildRequires: meson BuildRequires: pkgconfig(gi-docgen) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(p11-kit-1) BuildRequires: pkgconfig(systemd) BuildRequires: systemd-rpm-macros BuildRequires: vala %if 0%{?has_valgrind} BuildRequires: valgrind-devel %endif BuildRequires: /usr/bin/gpg2 BuildRequires: /usr/bin/ssh-add BuildRequires: /usr/bin/ssh-agent BuildRequires: /usr/bin/xsltproc Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: /usr/bin/gpg2 Requires: /usr/bin/ssh-add Requires: /usr/bin/ssh-agent %description gcr is a library for displaying certificates, and crypto UI, accessing key stores. It also provides a viewer for crypto files on the GNOME desktop. gck is a library for accessing PKCS#11 modules like smart cards. %package libs Summary: gcr and gck libraries # Renamed in F37 Obsoletes: %{name}-base < 3.92.0-1 Provides: %{name}-base = %{version}-%{release} Provides: %{name}-base%{?_isa} = %{version}-%{release} # Dropped in F37 Obsoletes: %{name}-gtk3 < 3.92.0-1 Obsoletes: %{name}-gtk4 < 3.92.0-1 %description libs The %{name}-libs package contains the gcr and gck shared libraries. %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} # Dropped in F37 Obsoletes: %{name}-gtk3-devel < 3.92.0-1 Obsoletes: %{name}-gtk4-devel < 3.92.0-1 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %meson -Dcrypto=gnutls %meson_build %install %meson_install %find_lang gcr-4 %post %systemd_user_post gcr-ssh-agent.service %preun %systemd_user_preun gcr-ssh-agent.service %postun %systemd_user_postun_with_restart gcr-ssh-agent.service %files %doc NEWS README.md %{_bindir}/gcr-viewer-gtk4 %{_libexecdir}/gcr-ssh-agent %{_libexecdir}/gcr4-ssh-askpass %{_userunitdir}/gcr-ssh-agent.service %{_userunitdir}/gcr-ssh-agent.socket %files libs -f gcr-4.lang %license COPYING %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/Gck-2.typelib %{_libdir}/girepository-1.0/Gcr-4.typelib %{_libdir}/libgck-2.so.2* %{_libdir}/libgcr-4.so.4* %files devel %{_includedir}/gck-2/ %{_includedir}/gcr-4/ %{_libdir}/libgck-2.so %{_libdir}/libgcr-4.so %{_libdir}/pkgconfig/gck-2.pc %{_libdir}/pkgconfig/gcr-4.pc %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/Gck-2.gir %{_datadir}/gir-1.0/Gcr-4.gir %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/gck-2.deps %{_datadir}/vala/vapi/gck-2.vapi %{_datadir}/vala/vapi/gcr-4.deps %{_datadir}/vala/vapi/gcr-4.vapi %doc %{_datadir}/doc/gck-2/ %doc %{_datadir}/doc/gcr-4/ %changelog * Tue Nov 19 2024 David King - 4.3.0-1 - Use gnutls instead of gcrypt (RHEL-49434) * Tue Oct 29 2024 Troy Dawson - 4.1.0-6 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018 * Mon Jun 24 2024 Troy Dawson - 4.1.0-5 - Bump release for June 2024 mass rebuild * Wed Jan 24 2024 Fedora Release Engineering - 4.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 4.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 4.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 19 2023 Kalev Lember - 4.1.0-1 - Update to 4.1.0 * Thu Jan 19 2023 Fedora Release Engineering - 3.92.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 26 2022 Kalev Lember - 3.92.0-1 - Update to 3.92.0 - Remove gtk3 and gtk4 subpackages as the gcr gtk3 and gtk4 libraries are gone - Rename gcr-base to gcr-libs - Fix gir and vala directory ownership - Misc packaging cleanup * Thu Jul 21 2022 Fedora Release Engineering - 3.90.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Milan Crha - 3.90.0-1 - Update to 3.90.0 - Split subpackages for gtk3 and gtk4 * Thu Jan 20 2022 Fedora Release Engineering - 3.41.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 30 2021 Kalev Lember - 3.41.0-1 - Update to 3.41.0 * Wed Jul 21 2021 Fedora Release Engineering - 3.40.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Mar 27 2021 Kalev Lember - 3.40.0-1 - Update to 3.40.0 - Tighten soname globs * Tue Jan 26 2021 Fedora Release Engineering - 3.38.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 16 2021 Kalev Lember - 3.38.1-1 - Update to 3.38.1 * Mon Sep 28 2020 Kalev Lember - 3.38.0-2 - Avoid BuildRequiring vala twice * Mon Sep 28 2020 Kalev Lember - 3.38.0-1 - Update to 3.38.0 * Sun Sep 20 2020 Kalev Lember - 3.37.91-1 - Update to 3.37.91 * Mon Jul 27 2020 Fedora Release Engineering - 3.36.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Mar 11 2020 Kalev Lember - 3.36.0-1 - Update to 3.36.0 * Tue Feb 18 2020 Kalev Lember - 3.35.91-1 - Update to 3.35.91 * Mon Feb 03 2020 Kalev Lember - 3.35.90-1 - Update to 3.35.90 * Tue Jan 28 2020 Fedora Release Engineering - 3.35.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 20 2020 Kalev Lember - 3.35.1-1 - Update to 3.35.1 - Switch to the meson build system * Mon Oct 14 2019 Kalev Lember - 3.34.0-1 - Update to 3.34.0 * Mon Aug 19 2019 Kalev Lember - 3.33.4-1 - Update to 3.33.4 * Thu Jul 25 2019 Fedora Release Engineering - 3.28.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 02 2019 Dan Horák - 3.28.1-4 - fix gcr-prompter crash (rhbz#1631759) * Thu Apr 11 2019 Fabiano Fidêncio - 3.28.1-3 - Split gcr-base into a new package * Thu Jan 31 2019 Fedora Release Engineering - 3.28.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 21 2019 Kalev Lember - 3.28.1-1 - Update to 3.28.1 * Fri Jan 04 2019 Kalev Lember - 3.28.0-3 - Backport a patch to fix gnome-shell crashes with glib 2.59 - Use make_build and make_install macros * Fri Jul 13 2018 Fedora Release Engineering - 3.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 12 2018 Kalev Lember - 3.28.0-1 - Update to 3.28.0 * Mon Mar 05 2018 Kalev Lember - 3.27.92-1 - Update to 3.27.92 - Use valgrind_arches macro instead of hardcoding valgrind arch list - Drop group tags - Drop ldconfig scriptlets - Move desktop file validation to check section - Drop ancient conflicts * Wed Feb 07 2018 Fedora Release Engineering - 3.20.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 3.20.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.20.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 3.20.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jan 25 2017 Kalev Lember - 3.20.0-3 - Build with gpg2 support to match seahorse (#1005916) * Thu Sep 22 2016 Kalev Lember - 3.20.0-2 - BR vala instead of obsolete vala-tools subpackage * Fri Mar 25 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0 * Wed Feb 03 2016 Fedora Release Engineering - 3.19.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 20 2016 Kalev Lember - 3.19.4-1 - Update to 3.19.4 * Mon Sep 28 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0 * Tue Sep 15 2015 Kalev Lember - 3.17.4-1 - Update to 3.17.4 * Wed Jun 17 2015 Fedora Release Engineering - 3.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 12 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0 * Tue Mar 17 2015 Kalev Lember - 3.15.92-1 - Update to 3.15.92 * Fri Feb 27 2015 David King - 3.15.90-1 - Update to 3.15.90 - Update URL - Add more documentation and use license macro for COPYING - Use pkgconfig for BuildRequires - Preserve timestamps during install * Sat Feb 21 2015 Till Maas - 3.14.0-3 - Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code * Mon Sep 29 2014 Dan Horák - 3.14.0-2 - valgrind available only on selected arches * Tue Sep 23 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 * Sat Sep 20 2014 Kalev Lember - 3.13.91-4 - Update mime scriptlets * Sun Sep 14 2014 Kalev Lember - 3.13.91-2 - Use system valgrind headers (#1141470) * Thu Sep 11 2014 Kalev Lember - 3.13.91-1 - Update to 3.13.91 * Sat Aug 16 2014 Fedora Release Engineering - 3.12.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jul 22 2014 Kalev Lember - 3.12.2-3 - Rebuilt for gobject-introspection 1.41.4 * Sat Jun 07 2014 Fedora Release Engineering - 3.12.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu May 15 2014 Kalev Lember - 3.12.2-1 - Update to 3.12.2 * Sat Apr 05 2014 Kalev Lember - 3.12.0-2 - Tighten -devel deps * Sun Mar 23 2014 Kalev Lember - 3.12.0-1 - Update to 3.12.0 * Sat Mar 08 2014 Richard Hughes - 3.11.91-1 - Update to 3.11.91 * Mon Oct 28 2013 Richard Hughes - 3.10.1-1 - Update to 3.10.1 * Wed Sep 25 2013 Kalev Lember - 3.10.0-1 - Update to 3.10.0 * Tue Sep 3 2013 Matthias Clasen - 3.9.91-1 - Update to 3.9.91 * Wed Aug 28 2013 Kalev Lember - 3.9.90-1 - Update to 3.9.90 * Sat Aug 03 2013 Fedora Release Engineering - 3.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri May 10 2013 Adam Williamson - 3.9.1-2 - use current guidelines for mimeinfo, desktop-database, gsettings schema and icon cache scriptlets * Sat May 04 2013 Kalev Lember - 3.9.1-1 - Update to 3.9.1 * Tue Apr 16 2013 Richard Hughes - 3.8.1-1 - Update to 3.8.1 * Tue Mar 26 2013 Kalev Lember - 3.8.0-1 - Update to 3.8.0 * Mon Mar 18 2013 Richard Hughes - 3.7.92-1 - Update to 3.7.92 * Thu Mar 7 2013 Matthias Clasen - 3.7.91-1 - Update to 3.7.91 * Wed Feb 06 2013 Kalev Lember - 3.7.5-1 - Update to 3.7.5 * Mon Jan 14 2013 Tomas Bzatek - 3.7.2-2 - Fix crash on parsing some certificates (#894157) * Wed Jan 09 2013 Richard Hughes - 3.7.2-1 - Update to 3.7.2 * Fri Nov 09 2012 Kalev Lember - 3.7.1-1 - Update to 3.7.1 * Tue Oct 16 2012 Kalev Lember - 3.6.1-1 - Update to 3.6.1 * Tue Sep 25 2012 Kalev Lember - 3.6.0-1 - Update to 3.6.0 * Wed Sep 19 2012 Richard Hughes - 3.5.92-1 - Update to 3.5.92 * Tue Aug 21 2012 Richard Hughes - 3.5.90-1 - Update to 3.5.90 * Tue Aug 07 2012 Richard Hughes - 3.5.5-1 - Update to 3.5.5 * Thu Jul 19 2012 Fedora Release Engineering - 3.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jul 17 2012 Richard Hughes - 3.5.4-1 - Update to 3.5.4 * Mon Jun 25 2012 Richard Hughes - 3.5.3-1 - Update to 3.5.3 * Tue Apr 24 2012 Kalev Lember - 3.4.1-2 - Silence glib-compile-schemas output * Mon Apr 16 2012 Richard Hughes - 3.4.1-1 - Update to 3.4.1 * Mon Mar 26 2012 Debarshi Ray - 3.4.0-1 - Update to 3.4.0 * Wed Mar 21 2012 Matthias Clasen - 3.3.92-2 - Enable introspection, needed for gnome-shell now * Wed Mar 21 2012 Kalev Lember - 3.3.92-1 - Update to 3.3.92 * Fri Mar 09 2012 Rex Dieter 3.3.90-2 - suppress scriptlet output * Mon Mar 5 2012 Matthias Clasen - 3.3.90-1 - Update to 3.3.90 * Mon Feb 13 2012 Matthias Clasen - 3.3.5-1 - Update to 3.3.5 * Tue Jan 17 2012 Matthias Clasen - 3.3.4-1 - Update to 3.3.4 * Fri Jan 13 2012 Fedora Release Engineering - 3.3.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jan 3 2012 Tomas Bzatek 3.3.3.1-4 - Add a Conflicts directive for older gnome-keyring packages (#771299) * Wed Dec 21 2011 Matthias Clasen 3.3.3.1-3 - Own some directories * Wed Dec 21 2011 Matthias Clasen 3.3.3.1-2 - Delete rpaths * Wed Dec 21 2011 Matthias Clasen 3.3.3.1-1 - Update to 3.3.3.1 * Fri Dec 16 2011 Matthias Clasen 3.3.2.1-1 - Update to 3.3.2.1 * Thu Nov 10 2011 Matthias Clasen 3.3.1-1 - Initial packaging