56bb42
%ifarch %{valgrind_arches}
56bb42
%global has_valgrind 1
56bb42
%endif
56bb42
56bb42
Name:           gcr
56bb42
Version:        3.40.0
56bb42
Release:        3%{?dist}
56bb42
Summary:        A library for bits of crypto UI and parsing
56bb42
56bb42
License:        LGPLv2+
56bb42
URL:            https://wiki.gnome.org/Projects/CryptoGlue
56bb42
Source0:        https://download.gnome.org/sources/%{name}/3.40/%{name}-%{version}.tar.xz
56bb42
56bb42
BuildRequires:  gettext
56bb42
BuildRequires:  gtk-doc
56bb42
BuildRequires:  meson
56bb42
BuildRequires:  pkgconfig(gio-unix-2.0)
56bb42
BuildRequires:  pkgconfig(gobject-introspection-1.0)
56bb42
BuildRequires:  pkgconfig(gtk+-3.0)
56bb42
BuildRequires:  pkgconfig(p11-kit-1)
56bb42
BuildRequires:  docbook-style-xsl
56bb42
BuildRequires:  libgcrypt-devel
56bb42
BuildRequires:  desktop-file-utils
56bb42
BuildRequires:  vala
56bb42
%if 0%{?has_valgrind}
56bb42
BuildRequires:  valgrind-devel
56bb42
%endif
56bb42
BuildRequires:  /usr/bin/gpg2
56bb42
BuildRequires:  /usr/bin/xsltproc
56bb42
Requires: %{name}-base%{?_isa} = %{version}-%{release}
56bb42
56bb42
%description
56bb42
gcr is a library for displaying certificates, and crypto UI, accessing
56bb42
key stores. It also provides a viewer for crypto files on the GNOME
56bb42
desktop.
56bb42
56bb42
gck is a library for accessing PKCS#11 modules like smart cards.
56bb42
56bb42
%package devel
56bb42
Summary: Development files for gcr
56bb42
Requires: %{name}%{?_isa} = %{version}-%{release}
56bb42
56bb42
%description devel
56bb42
The gcr-devel package includes the header files for the gcr library.
56bb42
56bb42
%package base
56bb42
Summary: Library files for gcr
56bb42
Conflicts: %{name} < 3.28.1-3
56bb42
56bb42
%description base
56bb42
The gcr-base package includes the gcr-base library.
56bb42
56bb42
%prep
56bb42
%autosetup -p1
56bb42
56bb42
%build
56bb42
%meson
56bb42
%meson_build
56bb42
56bb42
56bb42
%install
56bb42
%meson_install
56bb42
%find_lang %{name}
56bb42
56bb42
56bb42
%check
56bb42
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop
56bb42
56bb42
56bb42
%files -f %{name}.lang
56bb42
%doc NEWS README.md
56bb42
%license COPYING
56bb42
%{_bindir}/gcr-viewer
56bb42
%{_datadir}/applications/gcr-viewer.desktop
56bb42
%dir %{_datadir}/GConf
56bb42
%dir %{_datadir}/GConf/gsettings
56bb42
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
56bb42
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
56bb42
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
56bb42
%{_libdir}/girepository-1.0
56bb42
%{_libdir}/libgcr-ui-3.so.1*
56bb42
%{_datadir}/icons/hicolor/*/apps/*
56bb42
%{_datadir}/mime/packages/gcr-crypto-types.xml
56bb42
%{_libexecdir}/gcr-prompter
56bb42
%{_libexecdir}/gcr-ssh-askpass
56bb42
%{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
56bb42
%{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service
56bb42
%{_datadir}/applications/gcr-prompter.desktop
56bb42
56bb42
%files devel
56bb42
%{_includedir}/gck-1
56bb42
%{_includedir}/gcr-3
56bb42
%{_libdir}/libgck-1.so
56bb42
%{_libdir}/libgcr-base-3.so
56bb42
%{_libdir}/libgcr-ui-3.so
56bb42
%{_libdir}/pkgconfig/gck-1.pc
56bb42
%{_libdir}/pkgconfig/gcr-3.pc
56bb42
%{_libdir}/pkgconfig/gcr-base-3.pc
56bb42
%{_libdir}/pkgconfig/gcr-ui-3.pc
56bb42
%{_datadir}/gir-1.0
56bb42
%dir %{_datadir}/gtk-doc
56bb42
%dir %{_datadir}/gtk-doc/html
56bb42
%{_datadir}/gtk-doc/html/gck
56bb42
%{_datadir}/gtk-doc/html/gcr
56bb42
%{_datadir}/vala/
56bb42
56bb42
%files base
56bb42
%{_libdir}/libgck-1.so.0*
56bb42
%{_libdir}/libgcr-base-3.so.1*
56bb42
56bb42
%changelog
56bb42
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.40.0-3
56bb42
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
56bb42
  Related: rhbz#1991688
56bb42
56bb42
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.40.0-2
56bb42
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
56bb42
56bb42
* Sat Mar 27 2021 Kalev Lember <klember@redhat.com> - 3.40.0-1
56bb42
- Update to 3.40.0
56bb42
- Tighten soname globs
56bb42
56bb42
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.1-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
56bb42
56bb42
* Sat Jan 16 2021 Kalev Lember <klember@redhat.com> - 3.38.1-1
56bb42
- Update to 3.38.1
56bb42
56bb42
* Mon Sep 28 2020 Kalev Lember <klember@redhat.com> - 3.38.0-2
56bb42
- Avoid BuildRequiring vala twice
56bb42
56bb42
* Mon Sep 28 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
56bb42
- Update to 3.38.0
56bb42
56bb42
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 3.37.91-1
56bb42
- Update to 3.37.91
56bb42
56bb42
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
56bb42
56bb42
* Wed Mar 11 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
56bb42
- Update to 3.36.0
56bb42
56bb42
* Tue Feb 18 2020 Kalev Lember <klember@redhat.com> - 3.35.91-1
56bb42
- Update to 3.35.91
56bb42
56bb42
* Mon Feb 03 2020 Kalev Lember <klember@redhat.com> - 3.35.90-1
56bb42
- Update to 3.35.90
56bb42
56bb42
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.35.1-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
56bb42
56bb42
* Mon Jan 20 2020 Kalev Lember <klember@redhat.com> - 3.35.1-1
56bb42
- Update to 3.35.1
56bb42
- Switch to the meson build system
56bb42
56bb42
* Mon Oct 14 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
56bb42
- Update to 3.34.0
56bb42
56bb42
* Mon Aug 19 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1
56bb42
- Update to 3.33.4
56bb42
56bb42
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-5
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
56bb42
56bb42
* Sun Jun 02 2019 Dan Horák <dan[at]danny.cz> - 3.28.1-4
56bb42
- fix gcr-prompter crash (rhbz#1631759)
56bb42
56bb42
* Thu Apr 11 2019 Fabiano Fidêncio <fidencio@redhat.com> - 3.28.1-3
56bb42
- Split gcr-base into a new package
56bb42
56bb42
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
56bb42
56bb42
* Mon Jan 21 2019 Kalev Lember <klember@redhat.com> - 3.28.1-1
56bb42
- Update to 3.28.1
56bb42
56bb42
* Fri Jan 04 2019 Kalev Lember <klember@redhat.com> - 3.28.0-3
56bb42
- Backport a patch to fix gnome-shell crashes with glib 2.59
56bb42
- Use make_build and make_install macros
56bb42
56bb42
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
56bb42
56bb42
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
56bb42
- Update to 3.28.0
56bb42
56bb42
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.27.92-1
56bb42
- Update to 3.27.92
56bb42
- Use valgrind_arches macro instead of hardcoding valgrind arch list
56bb42
- Drop group tags
56bb42
- Drop ldconfig scriptlets
56bb42
- Move desktop file validation to check section
56bb42
- Drop ancient conflicts
56bb42
56bb42
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-7
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
56bb42
56bb42
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-6
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
56bb42
56bb42
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-5
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
56bb42
56bb42
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-4
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
56bb42
56bb42
* Wed Jan 25 2017 Kalev Lember <klember@redhat.com> - 3.20.0-3
56bb42
- Build with gpg2 support to match seahorse (#1005916)
56bb42
56bb42
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-2
56bb42
- BR vala instead of obsolete vala-tools subpackage
56bb42
56bb42
* Fri Mar 25 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
56bb42
- Update to 3.20.0
56bb42
56bb42
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.4-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
56bb42
56bb42
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 3.19.4-1
56bb42
- Update to 3.19.4
56bb42
56bb42
* Mon Sep 28 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
56bb42
- Update to 3.18.0
56bb42
56bb42
* Tue Sep 15 2015 Kalev Lember <klember@redhat.com> - 3.17.4-1
56bb42
- Update to 3.17.4
56bb42
56bb42
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.0-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
56bb42
56bb42
* Tue May 12 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
56bb42
- Update to 3.16.0
56bb42
56bb42
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
56bb42
- Update to 3.15.92
56bb42
56bb42
* Fri Feb 27 2015 David King <amigadave@amigadave.com> - 3.15.90-1
56bb42
- Update to 3.15.90
56bb42
- Update URL
56bb42
- Add more documentation and use license macro for COPYING
56bb42
- Use pkgconfig for BuildRequires
56bb42
- Preserve timestamps during install
56bb42
56bb42
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.14.0-3
56bb42
- Rebuilt for Fedora 23 Change
56bb42
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
56bb42
56bb42
* Mon Sep 29 2014 Dan Horák <dan[at]danny.cz> - 3.14.0-2
56bb42
- valgrind available only on selected arches
56bb42
56bb42
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
56bb42
- Update to 3.14.0
56bb42
56bb42
* Sat Sep 20 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-4
56bb42
- Update mime scriptlets
56bb42
56bb42
* Sun Sep 14 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-2
56bb42
- Use system valgrind headers (#1141470)
56bb42
56bb42
* Thu Sep 11 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-1
56bb42
- Update to 3.13.91
56bb42
56bb42
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2-4
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
56bb42
56bb42
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.2-3
56bb42
- Rebuilt for gobject-introspection 1.41.4
56bb42
56bb42
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.2-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
56bb42
56bb42
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.2-1
56bb42
- Update to 3.12.2
56bb42
56bb42
* Sat Apr 05 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-2
56bb42
- Tighten -devel deps
56bb42
56bb42
* Sun Mar 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
56bb42
- Update to 3.12.0
56bb42
56bb42
* Sat Mar 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
56bb42
- Update to 3.11.91
56bb42
56bb42
* Mon Oct 28 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
56bb42
- Update to 3.10.1
56bb42
56bb42
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
56bb42
- Update to 3.10.0
56bb42
56bb42
* Tue Sep  3 2013 Matthias Clasen <mclasen@redhat.com> - 3.9.91-1
56bb42
- Update to 3.9.91
56bb42
56bb42
* Wed Aug 28 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
56bb42
- Update to 3.9.90
56bb42
56bb42
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-3
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
56bb42
56bb42
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com> - 3.9.1-2
56bb42
- use current guidelines for mimeinfo, desktop-database, gsettings
56bb42
  schema and icon cache scriptlets
56bb42
56bb42
* Sat May 04 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.1-1
56bb42
- Update to 3.9.1
56bb42
56bb42
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
56bb42
- Update to 3.8.1
56bb42
56bb42
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
56bb42
- Update to 3.8.0
56bb42
56bb42
* Mon Mar 18 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
56bb42
- Update to 3.7.92
56bb42
56bb42
* Thu Mar  7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
56bb42
- Update to 3.7.91
56bb42
56bb42
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-1
56bb42
- Update to 3.7.5
56bb42
56bb42
* Mon Jan 14 2013 Tomas Bzatek <tbzatek@redhat.com> - 3.7.2-2
56bb42
- Fix crash on parsing some certificates (#894157)
56bb42
56bb42
* Wed Jan 09 2013 Richard Hughes <hughsient@gmail.com> - 3.7.2-1
56bb42
- Update to 3.7.2
56bb42
56bb42
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.1-1
56bb42
- Update to 3.7.1
56bb42
56bb42
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
56bb42
- Update to 3.6.1
56bb42
56bb42
* Tue Sep 25 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-1
56bb42
- Update to 3.6.0
56bb42
56bb42
* Wed Sep 19 2012 Richard Hughes <hughsient@gmail.com> - 3.5.92-1
56bb42
- Update to 3.5.92
56bb42
56bb42
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
56bb42
- Update to 3.5.90
56bb42
56bb42
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
56bb42
- Update to 3.5.5
56bb42
56bb42
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.4-2
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
56bb42
56bb42
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 3.5.4-1
56bb42
- Update to 3.5.4
56bb42
56bb42
* Mon Jun 25 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
56bb42
- Update to 3.5.3
56bb42
56bb42
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
56bb42
- Silence glib-compile-schemas output
56bb42
56bb42
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
56bb42
- Update to 3.4.1
56bb42
56bb42
* Mon Mar 26 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.4.0-1
56bb42
- Update to 3.4.0
56bb42
56bb42
* Wed Mar 21 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.92-2
56bb42
- Enable introspection, needed for gnome-shell now
56bb42
56bb42
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.3.92-1
56bb42
- Update to 3.3.92
56bb42
56bb42
* Fri Mar 09 2012 Rex Dieter <rdieter@fedoraproject.org> 3.3.90-2
56bb42
- suppress scriptlet output
56bb42
56bb42
* Mon Mar  5 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.90-1
56bb42
- Update to 3.3.90
56bb42
56bb42
* Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.5-1
56bb42
- Update to 3.3.5
56bb42
56bb42
* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.4-1
56bb42
- Update to 3.3.4
56bb42
56bb42
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3.1-5
56bb42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
56bb42
56bb42
* Tue Jan  3 2012 Tomas Bzatek <tbzatek@redhat.com> 3.3.3.1-4
56bb42
- Add a Conflicts directive for older gnome-keyring packages (#771299)
56bb42
56bb42
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-3
56bb42
- Own some directories
56bb42
56bb42
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-2
56bb42
- Delete rpaths
56bb42
56bb42
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-1
56bb42
- Update to 3.3.3.1
56bb42
56bb42
* Fri Dec 16 2011 Matthias Clasen <mclasen@redhat.com> 3.3.2.1-1
56bb42
- Update to 3.3.2.1
56bb42
56bb42
* Thu Nov 10 2011 Matthias Clasen <mclasen@redhat.com> 3.3.1-1
56bb42
- Initial packaging
56bb42