## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pkgname crypting %global giturl https://github.com/gap-packages/crypting Name: gap-pkg-%{pkgname} Version: 0.10.5 Release: %autorelease Summary: Hashes and Crypto in GAP License: BSD-3-Clause # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/crypting/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{pkgname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gcc BuildRequires: libtool BuildRequires: make Requires: gap-core%{?_isa} %description This package implements some cryptographic primitives. At the moment this is a custom implementation of SHA256 and HMAC, which is needed to sign messages in the Jupyter kernel. Bindings to a full crypto library are a possibility for the future, and pull-requests (after discussion) are appreciated. %package doc # The content is BSD-3-Clause. The remaining licenses cover the various fonts # embedded in PDFs. # CM: Knuth-CTAN # CM-Super: GPL-1.0-or-later # Nimbus: AGPL-3.0-only License: BSD-3-Clause AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only BuildArch: noarch Summary: Crypting documentation Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} %build # This is NOT an autoconf-generated configure script. Do NOT use %%configure. ./configure %{gap_archdir} %make_build # Build the documentation gap makedoc.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{pkgname}/doc cp -a *.g bin gap tst %{buildroot}%{gap_archdir}/pkg/%{pkgname} %gap_copy_docs %check gap -l '%{buildroot}%{gap_archdir};' tst/testall.g %files %doc README.md %license COPYRIGHT.md LICENSE %dir %{gap_archdir}/pkg/%{pkgname}/ %{gap_archdir}/pkg/%{pkgname}/*.g %{gap_archdir}/pkg/%{pkgname}/bin/ %{gap_archdir}/pkg/%{pkgname}/gap/ %{gap_archdir}/pkg/%{pkgname}/tst/ %files doc %docdir %{gap_archdir}/pkg/%{pkgname}/doc/ %{gap_archdir}/pkg/%{pkgname}/doc/ %changelog ## START: Generated by rpmautospec * Thu Sep 05 2024 Jerry James - 0.10.5-1 - Version 0.10.5 - Setting LC_ALL is no longer necessary - Avoid %%exclude * Wed Jul 17 2024 Fedora Release Engineering - 0.10.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 0.10.4-11 - Fix the VCS field * Fri Mar 15 2024 Jerry James - 0.10.4-10 - Rebuild for gap 4.13.0 * Mon Jan 29 2024 Fedora Release Engineering - 0.10.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 0.10.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.10.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.10.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 0.10.4-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 0.10.4-1 - Version 0.10.4 - Drop obsolete -endian patch - Clarify license of the doc subpackage * Tue Oct 11 2022 Jerry James - 0.10.3-1 - Version 0.10.3 * Tue Sep 27 2022 Jerry James - 0.10.2-1 - Version 0.10.2 - Add -endian patch to fix s390x build - Update for gap 4.12.0 * Tue Aug 16 2022 Jerry James - 0.10.1-5 - Convert License tag to SPDX * Sat Jul 23 2022 Jerry James - 0.10.1-5 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Feb 24 2021 Jerry James - 0.10.1-1 - Version 0.10.1 * Tue Jan 26 2021 Fedora Release Engineering - 0.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Mar 11 2020 Jerry James - 0.10-3 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Oct 29 2019 Jerry James - 0.10-1 - New upstream version - Drop upstreamed -ref and -sha256 patches * Thu Jul 25 2019 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Jerry James - 0.9-2 - Rebuild for changed bin dir name in gap 4.10.1 * Tue Feb 26 2019 Jerry James - 0.9-1 - Initial RPM ## END: Generated by rpmautospec