b9ff237
Name:           python-fisx
dbc1d48
Version:        1.2.0
e4063ab
Release:        %autorelease
b9ff237
Summary:        Calculate x-ray fluorescence intensities
b9ff237
b9ff237
License:        MIT
b9ff237
URL:            https://github.com/vasole/fisx
b9ff237
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
b9ff237
b9ff237
BuildRequires:  python3-devel
01e6dba
BuildRequires:  %py3_dist setuptools
b9ff237
BuildRequires:  gcc
b9ff237
BuildRequires:  gcc-c++
b9ff237
BuildRequires:  %py3_dist cython
b9ff237
BuildRequires:  %py3_dist numpy
b9ff237
6b3a2c4
%global _description %{expand:
6b3a2c4
Calculate expected x-ray fluorescence intensities. The library accounts
6b3a2c4
for secondary and tertiary excitation, K, L and M shell emission lines
6b3a2c4
and de-excitation cascade effects.}
b9ff237
b9ff237
%description %_description
b9ff237
b9ff237
%package     -n python3-fisx
b9ff237
Summary: %summary
b9ff237
b9ff237
%description -n python3-fisx %_description
b9ff237
b9ff237
%prep
b9ff237
%autosetup -n fisx-%{version}
b9ff237
b9ff237
%build
b9ff237
%py3_build
b9ff237
b9ff237
%install
b9ff237
%py3_install
b9ff237
b9ff237
%check
b9ff237
PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -m fisx.tests.testAll
b9ff237
b9ff237
%files -n python3-fisx
b9ff237
%license LICENSE
b9ff237
%doc README.rst
b9ff237
%{python3_sitearch}/fisx/
b9ff237
%{python3_sitearch}/fisx-%{version}-py%{python3_version}.egg-info/
b9ff237
b9ff237
%changelog
e4063ab
%autochangelog