%global debug_package %{nil} %global __strip /bin/true %global __requires_exclude_from /opt/kse/.* Name: kse Version: 5.7.0 Release: 1%{?dist} Summary: Multipurpose keystore and certificate tool License: GPLv3+ URL: https://keystore-explorer.org Source0: https://github.com/kaikramer/keystore-explorer/releases/download/v5.7.0/kse-5.7.0-1.noarch.rpm BuildRequires: cpio BuildRequires: desktop-file-utils BuildRequires: rpm Requires: java-17-openjdk-headless Requires: xdg-utils %description KeyStore Explorer is a user friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more. %install rpm2cpio %{SOURCE0} | cpio --extract --make-directories --quiet --directory %{buildroot} install -d %{buildroot}%{_bindir} %check desktop-file-validate %{buildroot}%{_datadir}/applications/kse.desktop %files %license /opt/kse/licenses/kse.txt /opt/kse %{_bindir}/kse %{_datadir}/applications/kse.desktop %{_datadir}/icons/hicolor/*/apps/kse.png