## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 edim %global upname EDIM Name: gap-pkg-%{pkgname} Version: 1.3.8 Release: %autorelease Summary: Elementary divisors of integer matrices License: GPL-2.0-or-later # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: https://www.math.rwth-aachen.de/~Frank.Luebeck/EDIM/ VCS: git:https://github.com/frankluebeck/EDIM.git Source: %{url}%{upname}-%{version}.tar.bz2 BuildRequires: gap-devel BuildRequires: GAPDoc-latex BuildRequires: gcc BuildRequires: libtool BuildRequires: make Requires: gap-core%{?_isa} %description The main purpose of the EDIM package is to publish an implementation of an algorithm (found by the package author) for computing prime parts of the elementary divisors of integer matrices (i.e., the diagonal entries of the Smith normal form). The programs are developed and already successfully used for large matrices (up to rank >12000) with moderate entries and many non-trivial elementary divisors which are products of some small primes. But they should be useful for other types of matrices as well. Among the other functions of the package are: - an inversion algorithm for large rational matrices (using a p-adic method) - a program for finding the largest elementary divisor of an integral matrix (particularly interesting when this is much smaller than the determinant) and - implementations of some normal form algorithms described by Havas, Majewski, Matthews, Sterling (using LLL- or modular techniques). %package doc # The content is GPL-2.0-or-later. # doc/mathml.css is MPL-1.1. # The remaining licenses cover the various fonts embedded in PDFs: # AMS: OFL-1.1-RFN # CM: Knuth-CTAN # CM-Super: GPL-1.0-or-later # Nimbus: AGPL-3.0-only # StandardSymL: GPL-1.0-or-later License: GPL-2.0-or-later AND MPL-1.1 AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later AND AGPL-3.0-only Summary: EDIM 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} # Fix encodings for fil in doc/edim.bib doc/edim.bbl; do iconv -f iso8859-1 -t utf-8 $fil > $fil.utf8 touch -r $fil $fil.utf8 mv -f $fil.utf8 $fil done %build export LC_ALL=C.UTF-8 # This is NOT an autoconf-generated script. Do not use %%configure. ./configure %{gap_archdir} %make_build # Link to main GAP documentation sed -i.orig '/IsBound/ipathtoroot := "%{gap_libdir}";' makedocrel.g mkdir ../pkg ln -s ../%{upname}-%{version} ../pkg gap -l "$PWD/..;" makedocrel.g rm -fr ../pkg mv makedocrel.g.orig makedocrel.g %install mkdir -p %{buildroot}%{gap_archdir}/pkg/%{upname}/doc cp -a *.g bin lib tst VERSION %{buildroot}%{gap_archdir}/pkg/%{upname} %gap_copy_docs -n %{upname} %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_archdir};" tst/testinstall.g %files %doc CHANGES README TODO %license GPL %{gap_archdir}/pkg/%{upname}/ %exclude %{gap_archdir}/pkg/%{upname}/doc/ %files doc %docdir %{gap_archdir}/pkg/%{upname}/doc/ %{gap_archdir}/pkg/%{upname}/doc/ %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 1.3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 1.3.8-2 - Run the installation tests only - Fix the VCS field * Fri Mar 15 2024 Jerry James - 1.3.8-1 - Version 1.3.8 * Wed Jan 24 2024 Fedora Release Engineering - 1.3.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.3.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Mar 28 2023 Jerry James - 1.3.7-1 - Version 1.3.7 * Thu Jan 19 2023 Fedora Release Engineering - 1.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 12 2023 Jerry James - 1.3.6-2 - Update for split GAP directories * Thu Nov 10 2022 Jerry James - 1.3.6-1 - Clarify license of the doc subpackage * Tue Sep 27 2022 Jerry James - 1.3.6-1 - Version 1.3.6 - Update for gap 4.12.0 * Tue Aug 16 2022 Jerry James - 1.3.5-10 - Convert License tag to SPDX * Sun Jul 24 2022 Jerry James - 1.3.5-10 - Rebuild due to changed binary dir name on s390x * Thu Jul 21 2022 Fedora Release Engineering - 1.3.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.3.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.3.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.3.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.3.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Mar 11 2020 Jerry James - 1.3.5-4 - Rebuild for gap 4.11.0 * Tue Jan 28 2020 Fedora Release Engineering - 1.3.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 5 2019 Jerry James - 1.3.5-2 - Bump and rebuild due to update snafu * Tue Aug 13 2019 Jerry James - 1.3.5-1 - New upstream version * Thu Jul 25 2019 Fedora Release Engineering - 1.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Jerry James - 1.3.3-5 - Rebuild for changed bin dir name in gap 4.10.1 * Fri Feb 1 2019 Jerry James - 1.3.3-4 - Rebuild for gap 4.10.0 - Add -doc subpackage * Thu Jan 31 2019 Fedora Release Engineering - 1.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 17 2018 Jerry James - 1.3.3-1 - New upstream version * Wed Feb 07 2018 Fedora Release Engineering - 1.3.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 7 2016 Jerry James - 1.3.2-5 - Rebuild for gap 4.8.3 * Wed Feb 03 2016 Fedora Release Engineering - 1.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Nov 11 2015 Jerry James - 1.3.2-3 - Drop scriptlets; gap-core now uses rpm file triggers - Rebuild documentation from source - Turn test failures into build failures * Wed Jun 17 2015 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed May 20 2015 Jerry James - 1.3.2-1 - Initial RPM (bz 1223627) ## END: Generated by rpmautospec