%global _empty_manifest_terminate_build 0
Name: python-avaframe
Version: 1.5.2
Release: 1
Summary: The Open Avalanche Framework
License: EUPL
URL: http://avaframe.org
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/c0/06ee4d944f0eb30f0bc48e2d5af78602ff43544c0b5a6ab98bbef022935c/avaframe-1.5.2.tar.gz
Requires: python3-numpy
Requires: python3-matplotlib
Requires: python3-pyshp
Requires: python3-scipy
Requires: python3-cmcrameri
Requires: python3-seaborn
Requires: python3-cython
Requires: python3-pandas
Requires: python3-shapely
Requires: python3-configUpdater
Requires: python3-tabulate
Requires: python3-deepdiff
Requires: python3-deepmerge
%description
**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org**
All details about installation, running etc can be found there.
### Tests
[
](http://docs.avaframe.org/en/latest/)

[](https://codecov.io/gh/avaframe/AvaFrame)
[](https://codeclimate.com/github/avaframe/AvaFrame/maintainability)
[](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage)
### License
Licensed with [](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt)
### To cite
[](https://zenodo.org/badge/latestdoi/281922740)
%package -n python3-avaframe
Summary: The Open Avalanche Framework
Provides: python-avaframe
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: gdb
%description -n python3-avaframe
**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org**
All details about installation, running etc can be found there.
### Tests
[
](http://docs.avaframe.org/en/latest/)

[](https://codecov.io/gh/avaframe/AvaFrame)
[](https://codeclimate.com/github/avaframe/AvaFrame/maintainability)
[](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage)
### License
Licensed with [](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt)
### To cite
[](https://zenodo.org/badge/latestdoi/281922740)
%package help
Summary: Development documents and examples for avaframe
Provides: python3-avaframe-doc
%description help
**The AvaFrame documentation is hosted on ReadTheDocs: http://docs.avaframe.org**
All details about installation, running etc can be found there.
### Tests
[
](http://docs.avaframe.org/en/latest/)

[](https://codecov.io/gh/avaframe/AvaFrame)
[](https://codeclimate.com/github/avaframe/AvaFrame/maintainability)
[](https://codeclimate.com/github/avaframe/AvaFrame/test_coverage)
### License
Licensed with [](https://git.avaframe.org/AvaFrame/AvaFrame/src/branch/master/LICENSE.txt)
### To cite
[](https://zenodo.org/badge/latestdoi/281922740)
%prep
%autosetup -n avaframe-1.5.2
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-avaframe -f filelist.lst
%dir %{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 Python_Bot - 1.5.2-1
- Package Spec generated