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