## 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 curlinterface %global upname curlInterface %global giturl https://github.com/gap-packages/curlInterface # TESTING NOTE: the tests, unsurprisingly, require network access. Since the # koji builders have no network access, the tests always fail. The maintainer # should run the tests in an environment where testing is possible prior to # each koji build. %bcond tests 0 Name: gap-pkg-%{pkgname} Version: 2.4.0 Release: %autorelease Summary: Simple web access for GAP License: GPL-2.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://gap-packages.github.io/curlInterface/ 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(libcurl) Requires: gap-core%{?_isa} %description This package provides a simple GAP wrapper around libcurl, to allow downloading files over http, ftp and https. %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: Curl interface for GAP documentation 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} %build %configure --with-gaproot=%{gap_archdir} --disable-silent-rules # Build the binary interface %make_build # Build the documentation gap makedoc.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{upname}/doc cp -a *.g bin gap tst %{buildroot}%{gap_archdir}/pkg/%{upname} %gap_copy_docs -n %{upname} %if %{with tests} %check gap -l '%{buildroot}%{gap_archdir};' tst/testall.g %endif %files %doc CHANGES README.md %license GPL LICENSE %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 * Mon Sep 02 2024 Jerry James - 2.4.0-1 - Version 2.4.0 - Setting LC_ALL is no longer necessary - Avoid %%exclude * Wed Jul 17 2024 Fedora Release Engineering - 2.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 2.3.2-7 - Fix the VCS field * Fri Mar 15 2024 Jerry James - 2.3.2-6 - Rebuild for gap 4.13.0 * Wed Jan 24 2024 Fedora Release Engineering - 2.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat May 20 2023 Jerry James - 2.3.2-1 - Version 2.3.2 * Thu Jan 19 2023 Fedora Release Engineering - 2.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 2.3.1-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 2.3.1-1 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 2.3.1-1 - Version 2.3.1 - Update for gap 4.12.0 * Tue Aug 16 2022 Jerry James - 2.2.3-1 - Convert License tag to SPDX * Mon Aug 15 2022 Jerry James - 2.2.3-1 - Version 2.2.3 * Sat Jul 23 2022 Jerry James - 2.2.2-3 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 22 2022 Jerry James - 2.2.2-1 - Version 2.2.2 * Thu Jan 20 2022 Fedora Release Engineering - 2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Apr 3 2020 Jerry James - 2.2.1-1 - Version 2.2.1 - Drop upstreamed -backtick patch * Wed Mar 11 2020 Jerry James - 2.1.1-3 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 18 2019 Jerry James - 2.1.1-1 - Initial RPM ## END: Generated by rpmautospec