## START: Set by rpmautospec ## (rpmautospec version 0.8.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 Name: python-brukerapi Version: 0.2.0 Release: %autorelease Summary: Python package providing I/O interface for Bruker data sets # SPDX License: MIT URL: https://github.com/isi-nmr/brukerapi-python Source0: %{url}/archive/v%{version}/brukerapi-python-%{version}.tar.gz # Man pages hand-written for Fedora in groff_man(7) format based on --help # output; see: # # Interest in man pages? # https://github.com/isi-nmr/brukerapi-python/issues/19 Source10: bruker.1 Source11: bruker-filter.1 Source12: bruker-report.1 Source13: bruker-split.1 BuildSystem: pyproject BuildOption(install): -l brukerapi BuildArch: noarch BuildRequires: %{py3_dist pytest} %global common_description %{expand: A Python package providing I/O interface for Bruker data sets.} %description %{common_description} %package -n python3-brukerapi Summary: %{summary} Obsoletes: python-brukerapi-doc < 0.1.10-1 %description -n python3-brukerapi %{common_description} %install -a install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \ '%{SOURCE10}' '%{SOURCE11}' '%{SOURCE12}' '%{SOURCE13}' %check -a # We avoid tests requiring data from zenodo, # https://doi.org/10.5281/zenodo.4522220. Not only do we not want to consider # the licenses of these data files, but they are also uncomfortably large, 2.2 # GB, and we don’t want to burden mirrors and users with such an enormous # source RPM. Trick the code in conftest.py into not trying to download these # data files. mkdir test/zenodo_zips for zip in '0.2H2.zip' \ '20200612_094625_lego_phantom_3_1_2.zip' \ '20210128_122257_LEGO_PHANTOM_API_TEST_1_1.zip' do # Make an empty zip file so the test code doesn’t try to re-download %{python3} -m zipfile -c "test/zenodo_zips/${zip}" done # Avoid tests that try to use any external data sets ignore="${ignore-} --ignore=test/test_split.py" ignore="${ignore-} --ignore=test/test_jcampdx.py" ignore="${ignore-} --ignore=test/test_random_access.py" ignore="${ignore-} --ignore=test/test_dataset.py" # We are not left with a great many tests, but we run what we can. %pytest -v ${ignore-} %files -n python3-brukerapi -f %{pyproject_files} %doc CHANGELOG.rst %doc README.rst %doc examples/ %{_bindir}/bruker %{_mandir}/man1/bruker*.1* %changelog ## START: Generated by rpmautospec * Mon Feb 02 2026 Benjamin A. Beasley - 0.2.0-1 - Update to 0.2.0 (close RHBZ#2435974) * Sat Jan 31 2026 Benjamin A. Beasley - 0.1.10-1 - Update to 0.1.10 (close RHBZ#2435502) - Starting in Fedora 44, drop the PDF manual and the -doc subpackage * Sat Jan 17 2026 Fedora Release Engineering - 0.1.9-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Sep 19 2025 Python Maint - 0.1.9-14 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.1.9-13 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 0.1.9-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 0.1.9-11 - Rebuilt for Python 3.14 * Fri May 09 2025 Benjamin A. Beasley - 0.1.9-10 - Fix doc_pdf build conditional (empty BuildOption fields are not permitted) * Sat May 03 2025 Benjamin A. Beasley - 0.1.9-9 - F41+: Use the provisional pyproject declarative buildsystem * Sat Jan 18 2025 Fedora Release Engineering - 0.1.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 0.1.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.1.9-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.1.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.1.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 17 2023 Benjamin A. Beasley - 0.1.9-3 - Assert that %%pyproject_files contains a license file * Thu Sep 07 2023 Benjamin A. Beasley - 0.1.9-2 - Patch to explicitly distribute brukerapi.config - Fixes a warning from setuptools about ambiguous configuration * Thu Sep 07 2023 Benjamin A. Beasley - 0.1.9-1 - Initial package (close RHBZ#2235132) ## END: Generated by rpmautospec