2019-09-30 10:39:20 -04:00
|
|
|
%ifarch %{valgrind_arches}
|
|
|
|
|
%global has_valgrind 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: gcr
|
2024-02-05 03:29:52 +00:00
|
|
|
Version: 3.41.2
|
2024-11-06 03:43:42 +00:00
|
|
|
Release: 2
|
2019-09-30 10:39:20 -04:00
|
|
|
Summary: A library for bits of crypto UI and parsing
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Projects/CryptoGlue
|
2021-12-06 15:02:47 +08:00
|
|
|
Source0: https://download-fallback.gnome.org/sources/%{name}/3.41/%{name}-%{version}.tar.xz
|
2019-09-30 10:39:20 -04:00
|
|
|
|
2023-02-13 07:58:12 +00:00
|
|
|
Patch9000: remove-sensitive-info.patch
|
|
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) pkgconfig(p11-kit-1)
|
2020-07-25 17:42:28 +08:00
|
|
|
BuildRequires: chrpath docbook-style-xsl libgcrypt-devel desktop-file-utils intltool vala gnupg2 libxslt meson
|
2022-11-12 08:35:08 +08:00
|
|
|
BuildRequires: gi-docgen gettext cmake pkgconfig(libsecret-1) pkgconfig(libsystemd)
|
2019-09-30 10:39:20 -04:00
|
|
|
%if 0%{?has_valgrind}
|
|
|
|
|
BuildRequires: valgrind-devel
|
|
|
|
|
%endif
|
2021-12-06 15:02:47 +08:00
|
|
|
BuildRequires: /usr/bin/gpg2
|
2022-11-12 08:35:08 +08:00
|
|
|
BuildRequires: openssh-clients
|
|
|
|
|
BuildRequires: openssh-clients
|
|
|
|
|
BuildRequires: libxslt
|
2023-03-02 17:24:06 +08:00
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
Requires: %{name}-base%{?_isa} = %{version}-%{release}
|
2022-11-12 08:35:08 +08:00
|
|
|
Requires: openssh-clients
|
|
|
|
|
Requires: openssh-clients
|
2022-06-20 15:00:28 +08:00
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
%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 devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The gcr-devel package includes the header files for the gcr library.
|
|
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%package base
|
|
|
|
|
Summary: Library files for gcr
|
|
|
|
|
Conflicts: %{name} < 3.28.1-3
|
2023-03-02 17:24:06 +08:00
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%description base
|
|
|
|
|
The gcr-base package includes the gcr-base library.
|
|
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
# Use system valgrind headers instead
|
|
|
|
|
%if 0%{?has_valgrind}
|
2023-03-02 17:24:06 +08:00
|
|
|
rm -rf build/valgrind/
|
2019-09-30 10:39:20 -04:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
2020-07-25 17:42:28 +08:00
|
|
|
%meson
|
|
|
|
|
%meson_build
|
2019-09-30 10:39:20 -04:00
|
|
|
|
|
|
|
|
%install
|
2020-07-25 17:42:28 +08:00
|
|
|
%meson_install
|
2019-09-30 10:39:20 -04:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop
|
|
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%post
|
2023-03-02 17:24:06 +08:00
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%preun
|
2023-03-02 17:24:06 +08:00
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%postun
|
|
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
%files -f %{name}.lang
|
2020-01-12 15:43:15 +08:00
|
|
|
%defattr(-,root,root)
|
2021-12-06 15:02:47 +08:00
|
|
|
%doc NEWS README.md
|
2019-09-30 10:39:20 -04:00
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/gcr-viewer
|
|
|
|
|
%{_datadir}/applications/gcr-viewer.desktop
|
|
|
|
|
%dir %{_datadir}/GConf
|
|
|
|
|
%dir %{_datadir}/GConf/gsettings
|
2021-12-06 15:02:47 +08:00
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
|
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
|
2019-09-30 10:39:20 -04:00
|
|
|
%{_libdir}/girepository-1.0
|
2021-12-06 15:02:47 +08:00
|
|
|
%{_libdir}/libgcr-ui-3.so.1*
|
2019-09-30 10:39:20 -04:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
|
%{_datadir}/mime/packages/gcr-crypto-types.xml
|
2021-12-06 15:02:47 +08:00
|
|
|
%{_libexecdir}/gcr-prompter
|
2023-03-02 17:24:06 +08:00
|
|
|
%exclude %{_libexecdir}/gcr-ssh-agent
|
2021-12-06 15:02:47 +08:00
|
|
|
%{_libexecdir}/gcr-ssh-askpass
|
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
|
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service
|
|
|
|
|
%{_datadir}/applications/gcr-prompter.desktop
|
2023-03-02 17:24:06 +08:00
|
|
|
%exclude %{_userunitdir}/gcr-ssh-agent.service
|
|
|
|
|
%exclude %{_userunitdir}/gcr-ssh-agent.socket
|
|
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/gck-1
|
|
|
|
|
%{_includedir}/gcr-3
|
2021-12-06 15:02:47 +08:00
|
|
|
%{_libdir}/libgck-1.so
|
|
|
|
|
%{_libdir}/libgcr-base-3.so
|
|
|
|
|
%{_libdir}/libgcr-ui-3.so
|
|
|
|
|
%{_libdir}/pkgconfig/gck-1.pc
|
|
|
|
|
%{_libdir}/pkgconfig/gcr-3.pc
|
|
|
|
|
%{_libdir}/pkgconfig/gcr-base-3.pc
|
|
|
|
|
%{_libdir}/pkgconfig/gcr-ui-3.pc
|
2019-09-30 10:39:20 -04:00
|
|
|
%{_datadir}/gir-1.0
|
2022-11-12 08:35:08 +08:00
|
|
|
%{_datadir}/doc
|
2019-09-30 10:39:20 -04:00
|
|
|
%{_datadir}/vala/
|
2023-03-02 17:24:06 +08:00
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
%files base
|
|
|
|
|
%{_libdir}/libgck-1.so.0*
|
|
|
|
|
%{_libdir}/libgcr-base-3.so.1*
|
2019-09-30 10:39:20 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2024-11-06 03:43:42 +00:00
|
|
|
* Wed Nov 06 2024 zhangpan <zhangpan103@h-partners.com> - 3.41.2-2
|
|
|
|
|
- fix changelog error
|
|
|
|
|
|
2024-02-05 03:29:52 +00:00
|
|
|
* Mon Feb 05 2024 zhangpan <zhangpan103@h-partners.com> - 3.41.2-1
|
|
|
|
|
- update to 3.41.2
|
|
|
|
|
|
2023-03-02 17:24:06 +08:00
|
|
|
* Thu Mar 02 2023 wenlong ding <wenlong.ding@turbolinux.com.cn> - 3.41.1-3
|
|
|
|
|
- Exclude confics file which already in gcr4
|
|
|
|
|
|
2023-02-13 07:58:12 +00:00
|
|
|
* Mon Feb 13 2023 zhangpan <zhangpan103@h-partners.com> - 3.41.1-2
|
|
|
|
|
- remove sensitive info
|
|
|
|
|
|
2022-11-12 08:35:08 +08:00
|
|
|
* Fri Nov 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.41.1-1
|
|
|
|
|
- update to gcr-3.41.1
|
|
|
|
|
|
2024-11-06 03:43:42 +00:00
|
|
|
* Mon Jun 20 2022 wuchaochao <wuchaochao4@h-partners.com> - 3.41.0-2
|
2022-06-20 15:00:28 +08:00
|
|
|
- Fix unknown kw argument in gnome.generate_gir
|
|
|
|
|
|
2021-12-06 15:02:47 +08:00
|
|
|
* Mon Dec 6 2021 hanhui <hanhui15@huawei.com> - 3.41.0-1
|
|
|
|
|
- update to gcr-3.41.0
|
|
|
|
|
|
2021-01-29 16:41:32 +08:00
|
|
|
* Fri Jan 29 2021 yanglu <yanglu60@huawei.com> - 3.38.1-1
|
|
|
|
|
- update to 3.38.1
|
|
|
|
|
|
2020-07-25 17:42:28 +08:00
|
|
|
* Mon Jul 20 2020 wangye <wangye70@huawei.com> - 3.36.0-1
|
|
|
|
|
- update to 3.36.0
|
|
|
|
|
|
2020-01-12 15:43:15 +08:00
|
|
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.34.0-1
|
|
|
|
|
- update to 3.34.0
|
|
|
|
|
|
2019-09-30 10:39:20 -04:00
|
|
|
* Wed Sep 11 2019 openEuler jimmy<dukaitian@huawei.com> - 3.28.0-3
|
|
|
|
|
- Package init jimmy
|