%{?python_enable_dependency_generator} %global pypi_name agate-excel %global file_name agateexcel %global project_owner wireservice %global github_name agate-excel %global desc Adds read support for Excel files (xls and xlsx) to agate. \ See: http://agate-excel.rtfd.org Name: python-%{pypi_name} Version: 0.4.1 Release: 2%{?dist} Summary: Adds read support for Excel files to agate License: MIT URL: https://pypi.python.org/pypi/agate-excel Source0: https://github.com/wireservice/agate-excel/archive/%{version}/agate-excel-%{version}.tar.gz BuildArch: noarch %description %{desc} %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: make BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-nose >= 1.1.2 BuildRequires: python3dist(agate) >= 1.5 BuildRequires: python3dist(xlrd) >= 0.9.4 BuildRequires: python3dist(openpyxl) >= 2.3 BuildRequires: python3dist(olefile) BuildRequires: python3dist(furo) %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{desc} %package -n python-%{pypi_name}-doc Summary: %{summary} BuildRequires: python3dist(sphinx) >= 1.2.2 BuildRequires: python3dist(sphinx-rtd-theme) >= 0.1.6 BuildArch: noarch %description -n python-%{pypi_name}-doc %{desc} Documentation package. %prep %setup -qn %{github_name}-%{version} # Remove shebang on non executable scripts sed -i '1{\@^#!/usr/bin/env python@d}' agateexcel/*.py %build %py3_build # Build documentation pushd docs make html SPHINXBUILD=sphinx-build-%{python3_version} rm -f _build/html/.buildinfo popd %install %py3_install %check nosetests-%{python3_version} tests -v %files -n python3-%{pypi_name} %doc README.rst AUTHORS.rst CHANGELOG.rst %license COPYING %{python3_sitelib}/agate_excel-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/%{file_name}/ %files -n python-%{pypi_name}-doc %license COPYING %doc README.rst AUTHORS.rst CHANGELOG.rst docs/_build/ %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 15 2024 Julien Enselme - 0.4.1-1 - Update to 0.4.1 * Sat Jun 15 2024 Python Maint - 0.4.0-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 9 2023 Julien Enselme - 0.4.0-1 - Update to 0.4.0 * Thu Nov 2 2023 Julien Enselme - 0.3.0-1 - Update to 0.3.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 0.2.5-4 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 29 2022 Julien Enselme - 0.2.5-1 - Update to 0.2.5 * Wed Jun 29 2022 Python Maint - 0.2.3-11 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.3-8 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.3-5 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 19 2019 Miro Hrončok - 0.2.3-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Mar 23 2019 Julien Enselme - 0.2.3-1 - Update to 0.2.3 * Sat Feb 02 2019 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 31 2018 Igor Gnatenko - 0.2.2-5 - Enable python dependency generator * Mon Dec 31 2018 Julien Enselme - 0.2.2-4 - Remove Python 2 subpackage (#1662646) * Fri Jul 13 2018 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.2-2 - Rebuilt for Python 3.7 * Mon Mar 12 2018 Julien Enselme - 0.2.2-1 - Update to 0.2.2 * Fri Feb 09 2018 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 04 2017 Julien Enselme - 0.2.1-2 - Fetch sources on github with tag instead of commit * Sun Mar 12 2017 Julien Enselme - 0.2.1-1 - Inital package