summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:08:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:08:45 +0000
commit109a245bdcbf5b2aac25a93341e621418c057813 (patch)
treed3f33c5d9a8ebc240a5be5321edcb83bbe40a8d9
parent7732e0452dd413e0e97b7e879837ad7ec41f2e14 (diff)
automatic import of python-soprano
-rw-r--r--.gitignore1
-rw-r--r--python-soprano.spec108
-rw-r--r--sources1
3 files changed, 110 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..29ee256 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Soprano-0.8.13.tar.gz
diff --git a/python-soprano.spec b/python-soprano.spec
new file mode 100644
index 0000000..16f9a29
--- /dev/null
+++ b/python-soprano.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Soprano
+Version: 0.8.13
+Release: 1
+Summary: A Python library to crack crystals
+License: LGPL
+URL: https://ccp-nc.github.io/soprano/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/0a/34aecc18fc93f50a279c1200398e50bdb900969d4230b5ed6dfa25240115/Soprano-0.8.13.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-ase
+
+%description
+
+Soprano is a Python library developed and maintained by the CCP for NMR
+Crystallography as a tool to help scientists working with crystallography and
+simulations to generate, manipulate, run calculations on and analyse large
+data sets of crystal structures, with a particular attention to the output of
+ab-initio random structure searching,
+or AIRSS. (https://www.mtg.msm.cam.ac.uk/Codes/AIRSS)
+
+It provides a number of functionalities to help automate many common tasks
+in computational crystallography.
+
+
+
+%package -n python3-Soprano
+Summary: A Python library to crack crystals
+Provides: python-Soprano
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Soprano
+
+Soprano is a Python library developed and maintained by the CCP for NMR
+Crystallography as a tool to help scientists working with crystallography and
+simulations to generate, manipulate, run calculations on and analyse large
+data sets of crystal structures, with a particular attention to the output of
+ab-initio random structure searching,
+or AIRSS. (https://www.mtg.msm.cam.ac.uk/Codes/AIRSS)
+
+It provides a number of functionalities to help automate many common tasks
+in computational crystallography.
+
+
+
+%package help
+Summary: Development documents and examples for Soprano
+Provides: python3-Soprano-doc
+%description help
+
+Soprano is a Python library developed and maintained by the CCP for NMR
+Crystallography as a tool to help scientists working with crystallography and
+simulations to generate, manipulate, run calculations on and analyse large
+data sets of crystal structures, with a particular attention to the output of
+ab-initio random structure searching,
+or AIRSS. (https://www.mtg.msm.cam.ac.uk/Codes/AIRSS)
+
+It provides a number of functionalities to help automate many common tasks
+in computational crystallography.
+
+
+
+%prep
+%autosetup -n Soprano-0.8.13
+
+%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-Soprano -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.13-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0ee18d6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+adbbc675a81fbf7862cc929558e8c073 Soprano-0.8.13.tar.gz