# Upstream does not release tarballs. Instead the code is copied directly # into the polymake distribution. Therefore, we check out the code from git. %global commit 031cc3a0a7c125060951d9e8b0ca67a5091cc5ac %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitdate 20190509 %global srcname JuPyMake Name: python-jupymake Version: 0.9 Release: 17.%{gitdate}.%{shortcommit}%{?dist} Summary: Python wrapper for the polymake shell License: GPLv2+ URL: https://github.com/sebasguts/JuPyMake Source0: %{url}/archive/%{commit}/%{srcname}-%{shortcommit}.tar.gz BuildRequires: gcc-c++ BuildRequires: libnormaliz-devel BuildRequires: polymake BuildRequires: python3-devel BuildRequires: %{py3_dist pip} BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist wheel} %global _description %{expand: This package provides a basic interface to call polymake from python. It is meant to be used in the Jupyter interface for polymake.} %description %_description %package -n python3-jupymake Summary: Python wrapper for the polymake shell Requires: polymake%{?_isa} %description -n python3-jupymake %_description %prep %autosetup -n %{srcname}-%{commit} %build %pyproject_wheel %install %pyproject_install %check %py3_check_import JuPyMake %files -n python3-jupymake %doc README README.md example.py %license COPYING GPLv2 LICENSE %{python3_sitearch}/%{srcname}* %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.9-17.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 17 2022 Jerry James - 0.9-16.20190509.031cc3a - Rebuild for polymake 4.6 * Thu Oct 7 2021 Jerry James - 0.9-15.20190509.031cc3a - Rebuild for polymake 4.5 - Modernize the python macros * Fri Jul 23 2021 Fedora Release Engineering - 0.9-14.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 17 2021 Jerry James - 0.9-13.20190509.031cc3a - Rebuild for polymake 4.4 * Fri Jun 04 2021 Python Maint - 0.9-12.20190509.031cc3a - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.9-11.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 17 2020 Jerry James - 0.9-10.20190509.031cc3a - Rebuild for polymake 4.3 * Wed Sep 30 2020 Jerry James - 0.9-9.20190509.031cc3a - Rebuild for normaliz 3.8.9 * Mon Sep 28 2020 Jerry James - 0.9-8.20190509.031cc3a - Rebuild for polymake 4.2 * Mon Aug 31 2020 Jerry James - 0.9-7.20190509.031cc3a - Rebuild for normaliz 3.8.8 * Wed Jul 29 2020 Fedora Release Engineering - 0.9-6.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 11 2020 Jerry James - 0.9-5.20190509.031cc3a - Rebuild for polymake 4.1 * Tue May 26 2020 Miro HronĨok - 0.9-4.20190509.031cc3a - Rebuilt for Python 3.9 * Wed Mar 4 2020 Jerry James - 0.9-3.20190509.031cc3a - Rebuild for polymake 4.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.9-2.20190509.031cc3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 25 2019 Jerry James - 0.9-1.20190509.031cc3a - Initial RPM