|
|
013aa6 |
%global glib2_version 2.45.8
|
|
|
013aa6 |
%global json_glib_version 1.1.1
|
|
|
013aa6 |
|
|
|
013aa6 |
Summary: Library for reading Jcat files
|
|
|
013aa6 |
Name: libjcat
|
|
|
013aa6 |
Version: 0.1.6
|
|
|
013aa6 |
Release: 3%{?dist}
|
|
|
013aa6 |
License: LGPLv2+
|
|
|
013aa6 |
URL: https://github.com/hughsie/libjcat
|
|
|
013aa6 |
Source0: https://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
013aa6 |
|
|
|
013aa6 |
BuildRequires: gtk-doc
|
|
|
013aa6 |
BuildRequires: meson
|
|
|
013aa6 |
BuildRequires: gobject-introspection-devel
|
|
|
013aa6 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
013aa6 |
BuildRequires: json-glib-devel >= %{json_glib_version}
|
|
|
013aa6 |
BuildRequires: gnutls-devel
|
|
|
013aa6 |
BuildRequires: gnutls-utils
|
|
|
013aa6 |
BuildRequires: gpgme-devel
|
|
|
013aa6 |
BuildRequires: vala
|
|
|
013aa6 |
BuildRequires: help2man
|
|
|
013aa6 |
|
|
|
013aa6 |
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
|
013aa6 |
|
|
|
013aa6 |
%description
|
|
|
013aa6 |
This library allows reading and writing gzip-compressed JSON catalog files,
|
|
|
013aa6 |
which can be used to store GPG, PKCS-7 and SHA-256 checksums for each file.
|
|
|
013aa6 |
|
|
|
013aa6 |
This provides equivalent functionality to the catalog files supported in
|
|
|
013aa6 |
Microsoft Windows.
|
|
|
013aa6 |
|
|
|
013aa6 |
%package devel
|
|
|
013aa6 |
Summary: Development package for %{name}
|
|
|
013aa6 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
013aa6 |
|
|
|
013aa6 |
%description devel
|
|
|
013aa6 |
Files for development with %{name}.
|
|
|
013aa6 |
|
|
|
013aa6 |
%package tests
|
|
|
013aa6 |
Summary: Files for installed tests
|
|
|
013aa6 |
|
|
|
013aa6 |
%description tests
|
|
|
013aa6 |
Executable and data files for installed tests.
|
|
|
013aa6 |
|
|
|
013aa6 |
%prep
|
|
|
013aa6 |
%autosetup -p0
|
|
|
013aa6 |
|
|
|
013aa6 |
%build
|
|
|
013aa6 |
|
|
|
013aa6 |
%meson \
|
|
|
013aa6 |
-Dgtkdoc=true \
|
|
|
013aa6 |
-Dtests=true
|
|
|
013aa6 |
|
|
|
013aa6 |
%meson_build
|
|
|
013aa6 |
|
|
|
013aa6 |
%install
|
|
|
013aa6 |
%meson_install
|
|
|
013aa6 |
|
|
|
013aa6 |
%check
|
|
|
013aa6 |
%meson_test
|
|
|
013aa6 |
|
|
|
013aa6 |
%files
|
|
|
013aa6 |
%doc README.md
|
|
|
013aa6 |
%license LICENSE
|
|
|
013aa6 |
%{_bindir}/jcat-tool
|
|
|
013aa6 |
%{_datadir}/man/man1/*.1*
|
|
|
013aa6 |
%dir %{_libdir}/girepository-1.0
|
|
|
013aa6 |
%{_libdir}/girepository-1.0/*.typelib
|
|
|
013aa6 |
%{_libdir}/libjcat.so.1*
|
|
|
013aa6 |
|
|
|
013aa6 |
%files devel
|
|
|
013aa6 |
%dir %{_datadir}/gir-1.0
|
|
|
013aa6 |
%{_datadir}/gir-1.0/*.gir
|
|
|
013aa6 |
%dir %{_datadir}/gtk-doc
|
|
|
013aa6 |
%dir %{_datadir}/gtk-doc/html
|
|
|
013aa6 |
%{_datadir}/gtk-doc/html/libjcat
|
|
|
013aa6 |
%{_includedir}/libjcat-1
|
|
|
013aa6 |
%{_libdir}/libjcat.so
|
|
|
013aa6 |
%{_libdir}/pkgconfig/jcat.pc
|
|
|
013aa6 |
%dir %{_datadir}/vala
|
|
|
013aa6 |
%dir %{_datadir}/vala/vapi
|
|
|
013aa6 |
%{_datadir}/vala/vapi/jcat.deps
|
|
|
013aa6 |
%{_datadir}/vala/vapi/jcat.vapi
|
|
|
013aa6 |
|
|
|
013aa6 |
%files tests
|
|
|
013aa6 |
%doc README.md
|
|
|
013aa6 |
%{_libexecdir}/installed-tests/libjcat/*
|
|
|
013aa6 |
%{_datadir}/installed-tests/libjcat/*
|
|
|
013aa6 |
%dir %{_datadir}/installed-tests/libjcat
|
|
|
013aa6 |
|
|
|
013aa6 |
%changelog
|
|
|
013aa6 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.6-3
|
|
|
013aa6 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
013aa6 |
Related: rhbz#1991688
|
|
|
013aa6 |
|
|
|
013aa6 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.6-2
|
|
|
013aa6 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
013aa6 |
|
|
|
013aa6 |
* Mon Feb 08 2021 Richard Hughes <richard@hughsie.com> 0.1.6-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Fall back to the AliasId for validation
|
|
|
013aa6 |
- Fix jcat_context_verify_blob() to use self verify for checksums
|
|
|
013aa6 |
|
|
|
013aa6 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-2
|
|
|
013aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
013aa6 |
|
|
|
013aa6 |
* Fri Jan 08 2021 Richard Hughes <richard@hughsie.com> 0.1.5-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Allow verifying expired certificates with an additional argument
|
|
|
013aa6 |
|
|
|
013aa6 |
* Fri Oct 23 2020 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Export the old JCatEngine property to preserve internal ABI
|
|
|
013aa6 |
|
|
|
013aa6 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
|
|
|
013aa6 |
- Second attempt - Rebuilt for
|
|
|
013aa6 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
013aa6 |
|
|
|
013aa6 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
|
|
|
013aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
013aa6 |
|
|
|
013aa6 |
* Tue Jun 16 2020 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Export the JcatBlobKind and JcatBlobMethod on the result
|
|
|
013aa6 |
|
|
|
013aa6 |
* Fri Jun 05 2020 Richard Hughes <richard@hughsie.com> 0.1.2-2
|
|
|
013aa6 |
- Fix for CVE-2020-10759
|
|
|
013aa6 |
|
|
|
013aa6 |
* Mon Apr 27 2020 Richard Hughes <richard@hughsie.com> 0.1.2-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Build fixes mostly for RHEL
|
|
|
013aa6 |
|
|
|
013aa6 |
* Tue Apr 14 2020 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
|
013aa6 |
- New upstream release
|
|
|
013aa6 |
- Allow adding an item ID 'alias'
|
|
|
013aa6 |
- Make the installed tests actually work
|
|
|
013aa6 |
|
|
|
013aa6 |
* Mon Mar 23 2020 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
013aa6 |
- Initial release for Fedora package review
|