## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 zeromqinterface %global upname ZeroMQInterface %global giturl https://github.com/gap-packages/ZeroMQInterface Name: gap-pkg-%{pkgname} Version: 0.16 Release: %autorelease Summary: ZeroMQ bindings for GAP License: GPL-2.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/ZeroMQInterface/ VCS: git:%{giturl}.git Source: %{giturl}/releases/download/v%{version}/%{upname}-%{version}.tar.gz BuildRequires: gap-devel BuildRequires: gap-pkg-autodoc BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig(libzmq) BuildRequires: python3-devel Requires: gap-core%{?_isa} %description This package provides both low-level bindings as well as some higher level interfaces for the ZeroMQ message passing library for GAP and HPC-GAP, enabling lightweight distributed computation. %package doc # The content is GPL-2.0-or-later. 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: GPL-2.0-or-later AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: Documentation for ZeroMQ bindings for GAP BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{upname}-%{version} # Fix python shebang sed -i.orig 's,%{_bindir}/env python,%{python3},' zgap touch -r zgap.orig zgap rm zgap.orig %build %configure --with-gaproot=%{gap_archdir} %make_build # Build the documentation gap makedoc.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{upname}/doc cp -a bin gap tst *.g %{buildroot}%{gap_archdir}/pkg/%{upname} %gap_copy_docs -n %{upname} mkdir -p %{buildroot}%{gap_archdir}/bin cp -p zgap %{buildroot}%{gap_archdir}/bin %check gap -l '%{buildroot}%{gap_archdir};' tst/testall.g %files %doc CHANGES.md README.md %license COPYRIGHT.md LICENSE %{gap_archdir}/bin/zgap %dir %{gap_archdir}/pkg/%{upname}/ %{gap_archdir}/pkg/%{upname}/*.g %{gap_archdir}/pkg/%{upname}/bin/ %{gap_archdir}/pkg/%{upname}/gap/ %{gap_archdir}/pkg/%{upname}/tst/ %files doc %docdir %{gap_archdir}/pkg/%{upname}/doc/ %{gap_archdir}/pkg/%{upname}/doc/ %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Jerry James - 0.16-1 - Version 0.16 - Setting LC_ALL is no longer necessary - Avoid %%exclude * Thu Jul 18 2024 Fedora Release Engineering - 0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jul 04 2024 Jerry James - 0.15-1 - Version 0.15 * Fri Mar 15 2024 Jerry James - 0.14-11 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 0.14-3 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 0.14-2 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 0.14-2 - Update for gap 4.12.0 - Convert License tag to SPDX * Sat Jul 30 2022 Jerry James - 0.14-1 - Version 0.14 * Sun Jul 24 2022 Jerry James - 0.13-5 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Apr 14 2021 Jerry James - 0.13-1 - Version 0.13 * Tue Jan 26 2021 Fedora Release Engineering - 0.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Mar 12 2020 Jerry James - 0.12-3 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 2 2019 Jerry James - 0.12-1 - Version 0.12 * Thu Jul 25 2019 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Jerry James - 0.11-2 - Rebuild for changed bin dir name in gap 4.10.1 * Wed Feb 27 2019 Jerry James - 0.11-1 - Initial RPM ## END: Generated by rpmautospec