From ccdc0aed6888a2e94f327489b520e444f3ac2299 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 09:29:51 +0000 Subject: automatic import of python-aiida --- python-aiida.spec | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 python-aiida.spec (limited to 'python-aiida.spec') diff --git a/python-aiida.spec b/python-aiida.spec new file mode 100644 index 0000000..c620c0e --- /dev/null +++ b/python-aiida.spec @@ -0,0 +1,114 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aiida +Version: 1.0.1 +Release: 1 +Summary: AiiDA: an automated interactive infrastructure and database for computational science +License: MIT License +URL: http://aiida.net +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/4d/c3593ce740196d1ba7999c301d5d0b9613070a147b5f50a020df74c36167/aiida-1.0.1.tar.gz +BuildArch: noarch + + +%description +# AiiDA + +AiiDA (www.aiida.net) is a workflow manager for computational science with a strong focus on provenance, performance and extensibility. + +## Deprecated + +This metapackage for AiiDA has been deprecated as of v1.0 and is no longer being maintained. +If you want to install AiiDA, please install the [`aiida-core` package](https://pypi.org/project/aiida-core/) instead. + +## Acknowledgements + +AiiDA is a [NumFOCUS Affiliated Project](https://www.numfocus.org) and supported by the [MARVEL National Centre of Competence in Research](http://www.marvel-nccr.ch), the [MaX European Centre of Excellence](http://www.max-centre.eu) and by a number of other supporting projects, partners and institutions, whose complete list is available on the [AiiDA website acknowledgements page](http://www.aiida.net/acknowledgements/). + + + + +%package -n python3-aiida +Summary: AiiDA: an automated interactive infrastructure and database for computational science +Provides: python-aiida +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aiida +# AiiDA + +AiiDA (www.aiida.net) is a workflow manager for computational science with a strong focus on provenance, performance and extensibility. + +## Deprecated + +This metapackage for AiiDA has been deprecated as of v1.0 and is no longer being maintained. +If you want to install AiiDA, please install the [`aiida-core` package](https://pypi.org/project/aiida-core/) instead. + +## Acknowledgements + +AiiDA is a [NumFOCUS Affiliated Project](https://www.numfocus.org) and supported by the [MARVEL National Centre of Competence in Research](http://www.marvel-nccr.ch), the [MaX European Centre of Excellence](http://www.max-centre.eu) and by a number of other supporting projects, partners and institutions, whose complete list is available on the [AiiDA website acknowledgements page](http://www.aiida.net/acknowledgements/). + + + + +%package help +Summary: Development documents and examples for aiida +Provides: python3-aiida-doc +%description help +# AiiDA + +AiiDA (www.aiida.net) is a workflow manager for computational science with a strong focus on provenance, performance and extensibility. + +## Deprecated + +This metapackage for AiiDA has been deprecated as of v1.0 and is no longer being maintained. +If you want to install AiiDA, please install the [`aiida-core` package](https://pypi.org/project/aiida-core/) instead. + +## Acknowledgements + +AiiDA is a [NumFOCUS Affiliated Project](https://www.numfocus.org) and supported by the [MARVEL National Centre of Competence in Research](http://www.marvel-nccr.ch), the [MaX European Centre of Excellence](http://www.max-centre.eu) and by a number of other supporting projects, partners and institutions, whose complete list is available on the [AiiDA website acknowledgements page](http://www.aiida.net/acknowledgements/). + + + + +%prep +%autosetup -n aiida-1.0.1 + +%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-aiida -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 1.0.1-1 +- Package Spec generated -- cgit v1.2.3