## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 srcname bibtexparser Name: python-%{srcname} Version: 1.4.1 Release: %autorelease Summary: A BibTeX parsing library # Automatically converted from old format: BSD or LGPLv3 - review is highly recommended. License: LicenseRef-Callaway-BSD OR LGPL-3.0-only URL: https://github.com/sciunto-org/python-%{srcname} Source0: https://github.com/sciunto-org/python-%{srcname}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pyparsing BuildRequires: python3-sphinx %description BibtexParser is a python library to parse BibTeX files. The code relies on pyparsing and is tested with unit tests. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} BibtexParser is a python library to parse BibTeX files. The code relies on pyparsing and is tested with unittests. %package doc Summary: python-bibtexparser documentation %description doc Documentation for python-bibtexparser. %prep %autosetup -n python-%{srcname}-%{version} -p1 %build %py3_build # Generate html documentation. PYTHONPATH=${PWD} sphinx-build docs/source html # Remove the sphinx-build leftovers. rm -rf html/.{doctrees,buildinfo} %install %py3_install %files -n python3-%{srcname} %doc CHANGELOG README.rst requirements.txt %license COPYING %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/bibtexparser/ %files doc %doc html %license COPYING %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 1.4.1-4 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.4.1-2 - Rebuilt for Python 3.13 * Sun Jun 02 2024 W. Michael Petullo - 1.4.1-1 - Update to 1.4.1 * Fri Jan 26 2024 Fedora Release Engineering - 1.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 29 2023 Lumir Balhar - 1.4.0-4 - Remove useless dependency on future * Fri Jul 21 2023 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 1.4.0-2 - Rebuilt for Python 3.12 * Thu May 18 2023 W. Michael Petullo - 1.4.0-1 - Update to 1.4.0 * Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek - 1.2.0-4 - Rebuilt for pyparsing-3.0.9 * Mon Jun 13 2022 Python Maint - 1.2.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 15 2021 W. Michael Petullo - 1.2.0-1 - Update 1.2.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.0-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.0-2 - Rebuilt for Python 3.9 * Thu Mar 26 2020 W. Michael Petullo - 1.1.0-1 - Initial import (#1812973) ## END: Generated by rpmautospec