diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-autogalaxy.spec | 98 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 100 insertions, 0 deletions
@@ -0,0 +1 @@ +/autogalaxy-2023.3.27.1.tar.gz diff --git a/python-autogalaxy.spec b/python-autogalaxy.spec new file mode 100644 index 0000000..5fc2545 --- /dev/null +++ b/python-autogalaxy.spec @@ -0,0 +1,98 @@ +%global _empty_manifest_terminate_build 0 +Name: python-autogalaxy +Version: 2023.3.27.1 +Release: 1 +Summary: Open-Source Multi Wavelength Galaxy Structure & Morphology +License: MIT License +URL: https://github.com/Jammy2211/PyAutoGalaxy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/8e/13a3295d8ea7c4f6ee6e04aea9eb1f43b7a41eaa13a75bec9d6d858b0263/autogalaxy-2023.3.27.1.tar.gz +BuildArch: noarch + +Requires: python3-colossus +Requires: python3-astropy +Requires: python3-autoconf +Requires: python3-autoarray +Requires: python3-autofit + +%description +`Installation Guide <https://pyautogalaxy.readthedocs.io/en/latest/installation/overview.html>`_ | +`readthedocs <https://pyautogalaxy.readthedocs.io/en/latest/index.html>`_ | +`Introduction on Binder <https://mybinder.org/v2/gh/Jammy2211/autogalaxy_workspace/release?filepath=introduction.ipynb>`_ | +`HowToGalaxy <https://pyautogalaxy.readthedocs.io/en/latest/howtogalaxy/howtogalaxy.html>`_ +The study of a galaxy's structure and morphology is at the heart of modern day Astrophysical research. +**PyAutoGalaxy** makes it simple to model galaxies, for example this Hubble Space Telescope imaging of a spiral +galaxy: +**PyAutoGalaxy** also fits interferometer data from observatories such as ALMA: + +%package -n python3-autogalaxy +Summary: Open-Source Multi Wavelength Galaxy Structure & Morphology +Provides: python-autogalaxy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-autogalaxy +`Installation Guide <https://pyautogalaxy.readthedocs.io/en/latest/installation/overview.html>`_ | +`readthedocs <https://pyautogalaxy.readthedocs.io/en/latest/index.html>`_ | +`Introduction on Binder <https://mybinder.org/v2/gh/Jammy2211/autogalaxy_workspace/release?filepath=introduction.ipynb>`_ | +`HowToGalaxy <https://pyautogalaxy.readthedocs.io/en/latest/howtogalaxy/howtogalaxy.html>`_ +The study of a galaxy's structure and morphology is at the heart of modern day Astrophysical research. +**PyAutoGalaxy** makes it simple to model galaxies, for example this Hubble Space Telescope imaging of a spiral +galaxy: +**PyAutoGalaxy** also fits interferometer data from observatories such as ALMA: + +%package help +Summary: Development documents and examples for autogalaxy +Provides: python3-autogalaxy-doc +%description help +`Installation Guide <https://pyautogalaxy.readthedocs.io/en/latest/installation/overview.html>`_ | +`readthedocs <https://pyautogalaxy.readthedocs.io/en/latest/index.html>`_ | +`Introduction on Binder <https://mybinder.org/v2/gh/Jammy2211/autogalaxy_workspace/release?filepath=introduction.ipynb>`_ | +`HowToGalaxy <https://pyautogalaxy.readthedocs.io/en/latest/howtogalaxy/howtogalaxy.html>`_ +The study of a galaxy's structure and morphology is at the heart of modern day Astrophysical research. +**PyAutoGalaxy** makes it simple to model galaxies, for example this Hubble Space Telescope imaging of a spiral +galaxy: +**PyAutoGalaxy** also fits interferometer data from observatories such as ALMA: + +%prep +%autosetup -n autogalaxy-2023.3.27.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-autogalaxy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.3.27.1-1 +- Package Spec generated @@ -0,0 +1 @@ +20b04cc9a4424789aa011fa15da1baa8 autogalaxy-2023.3.27.1.tar.gz |
