Blame SPECS/libjcat.spec

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