## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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-fisx Version: 1.2.1 Release: %autorelease Summary: Calculate X-ray fluorescence intensities License: MIT URL: https://github.com/vasole/fisx Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: %py3_dist setuptools BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: %py3_dist cython BuildRequires: %py3_dist numpy %global _description %{expand: Calculate expected x-ray fluorescence intensities. The library accounts for secondary and tertiary excitation, K, L and M shell emission lines and de-excitation cascade effects.} %description %_description %package -n python3-fisx Summary: %summary %description -n python3-fisx %_description %prep %autosetup -n fisx-%{version} %build %py3_build %install %py3_install %check PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -m fisx.tests.testAll %files -n python3-fisx %license LICENSE %doc README.rst %{python3_sitearch}/fisx/ %{python3_sitearch}/fisx-%{version}-py%{python3_version}.egg-info/ %changelog * Wed Feb 22 2023 Zbigniew Jędrzejewski-Szmek - 1.2.1-1 - Version 1.2.1 (rhbz#2166694) * Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.2.0-2 - Rebuilt for Python 3.11 * Thu May 12 2022 Zbigniew Jędrzejewski-Szmek - 1.2.0-1 - Version 1.2.0 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.6-10 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.6-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.6-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.6-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 2019 Zbigniew Jędrzejewski-Szmek - 1.1.6-2 - Rebuild for F30. * Tue Apr 30 2019 Zbigniew Jędrzejewski-Szmek - 1.1.6-1 - Initial packaging