diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 07:21:40 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 07:21:40 +0000 |
| commit | c79d0d32e66446fb82b5975e42323d61cebbd3aa (patch) | |
| tree | 5835282d83dc54120c433ee0614eee7c3bba63ad /python-seamm.spec | |
| parent | e9c81e3eb6b77440bb9e141e9eac952673f59044 (diff) | |
automatic import of python-seamm
Diffstat (limited to 'python-seamm.spec')
| -rw-r--r-- | python-seamm.spec | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/python-seamm.spec b/python-seamm.spec new file mode 100644 index 0000000..ba063f3 --- /dev/null +++ b/python-seamm.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-seamm +Version: 2023.4.24 +Release: 1 +Summary: The core of the SEAMM environment and graphical interface. +License: GNU Lesser General Public License v3 +URL: https://github.com/molssi-seamm/seamm +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/45/a1/f9a2e9be5d725c339bbb7a4ff0630d520e7ba321a4e8ae94dade61ea7447/seamm-2023.4.24.tar.gz +BuildArch: noarch + +Requires: python3-bibtexparser +Requires: python3-fasteners +Requires: python3-humanize +Requires: python3-jinja2 +Requires: python3-molsystem +Requires: python3-numpy +Requires: python3-packaging +Requires: python3-pandas +Requires: python3-pillow +Requires: python3-pmw +Requires: python3-py-cpuinfo +Requires: python3-dateutil +Requires: python3-pyuca +Requires: python3-reference-handler +Requires: python3-seamm-dashboard-client +Requires: python3-seamm-datastore +Requires: python3-seamm-util +Requires: python3-seamm-widgets +Requires: python3-stevedore + +%description + + +%package -n python3-seamm +Summary: The core of the SEAMM environment and graphical interface. +Provides: python-seamm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-seamm + + +%package help +Summary: Development documents and examples for seamm +Provides: python3-seamm-doc +%description help + + +%prep +%autosetup -n seamm-2023.4.24 + +%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-seamm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.4.24-1 +- Package Spec generated |
