diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:10:52 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:10:52 +0000 |
commit | eb320ad129ebce1d1d5b251f1b3929941974aee4 (patch) | |
tree | e6ddaa4aec3a7105f2b8d8c58047d21c365b20fc /python-pollination-honeybee-radiance.spec | |
parent | 286c1a3b14d772338dca770db5c3f5f6f78d3947 (diff) |
automatic import of python-pollination-honeybee-radianceopeneuler20.03
Diffstat (limited to 'python-pollination-honeybee-radiance.spec')
-rw-r--r-- | python-pollination-honeybee-radiance.spec | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/python-pollination-honeybee-radiance.spec b/python-pollination-honeybee-radiance.spec new file mode 100644 index 0000000..32e5c62 --- /dev/null +++ b/python-pollination-honeybee-radiance.spec @@ -0,0 +1,161 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pollination-honeybee-radiance +Version: 0.22.32 +Release: 1 +Summary: Honeybee Radiance plugin for Pollination. +License: PolyForm Shield License 1.0.0, https://polyformproject.org/wp-content/uploads/2020/06/PolyForm-Shield-1.0.0.txt +URL: https://github.com/pollination/pollination-honeybee-radiance +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/6e/13015950dda6a2527a7a380801b7f8fc2103c5fd85e397f17ff288e366a1/pollination-honeybee-radiance-0.22.32.tar.gz +BuildArch: noarch + +Requires: python3-pollination-dsl +Requires: python3-honeybee-radiance + +%description +# Pollination Honeybee Radiance + +Pollination honeybee-radiance adds daylight simulation functions to Pollination. + +This plugin takes advantage of Ladybug Tools `honeybee-radiance` Python package CLI. +For more information see: [PyPI](https://pypi.org/project/honeybee-radiance/) and +[GitHub](https://github.com/ladybug-tools/honeybee-radiance). + +For running all the functionalities on your local machine you need to install +[Radiance](https://www.radiance-online.org/)). You can download the latest official +release of Radiance from +[GitHub](https://github.com/LBNL-ETA/Radiance/releases/tag/012cb178). + +## Functions + +You can see the list of available functions in honeybee-radiance plugin +[here](https://app.pollination.cloud/plugins/ladybug-tools/honeybee-radiance) +on Pollination. + +## Examples + +For real-world examples see any of these Ladybug Tools recipes for Pollination: + +- [Annual Daylight recipe](https://github.com/pollination/annual-daylight) +- [Annual Irradiance recipe](https://github.com/pollination/annual-irradiance) +- [Point-in-Time Grid recipe](https://github.com/pollination/point-in-time-grid) +- [Point-in-Time View recipe](https://github.com/pollination/point-in-time-view) +- [Daylight Factor recipe](https://github.com/pollination/daylight-factor) +- [Sky View recipe](https://github.com/pollination/sky-view) + + +%package -n python3-pollination-honeybee-radiance +Summary: Honeybee Radiance plugin for Pollination. +Provides: python-pollination-honeybee-radiance +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pollination-honeybee-radiance +# Pollination Honeybee Radiance + +Pollination honeybee-radiance adds daylight simulation functions to Pollination. + +This plugin takes advantage of Ladybug Tools `honeybee-radiance` Python package CLI. +For more information see: [PyPI](https://pypi.org/project/honeybee-radiance/) and +[GitHub](https://github.com/ladybug-tools/honeybee-radiance). + +For running all the functionalities on your local machine you need to install +[Radiance](https://www.radiance-online.org/)). You can download the latest official +release of Radiance from +[GitHub](https://github.com/LBNL-ETA/Radiance/releases/tag/012cb178). + +## Functions + +You can see the list of available functions in honeybee-radiance plugin +[here](https://app.pollination.cloud/plugins/ladybug-tools/honeybee-radiance) +on Pollination. + +## Examples + +For real-world examples see any of these Ladybug Tools recipes for Pollination: + +- [Annual Daylight recipe](https://github.com/pollination/annual-daylight) +- [Annual Irradiance recipe](https://github.com/pollination/annual-irradiance) +- [Point-in-Time Grid recipe](https://github.com/pollination/point-in-time-grid) +- [Point-in-Time View recipe](https://github.com/pollination/point-in-time-view) +- [Daylight Factor recipe](https://github.com/pollination/daylight-factor) +- [Sky View recipe](https://github.com/pollination/sky-view) + + +%package help +Summary: Development documents and examples for pollination-honeybee-radiance +Provides: python3-pollination-honeybee-radiance-doc +%description help +# Pollination Honeybee Radiance + +Pollination honeybee-radiance adds daylight simulation functions to Pollination. + +This plugin takes advantage of Ladybug Tools `honeybee-radiance` Python package CLI. +For more information see: [PyPI](https://pypi.org/project/honeybee-radiance/) and +[GitHub](https://github.com/ladybug-tools/honeybee-radiance). + +For running all the functionalities on your local machine you need to install +[Radiance](https://www.radiance-online.org/)). You can download the latest official +release of Radiance from +[GitHub](https://github.com/LBNL-ETA/Radiance/releases/tag/012cb178). + +## Functions + +You can see the list of available functions in honeybee-radiance plugin +[here](https://app.pollination.cloud/plugins/ladybug-tools/honeybee-radiance) +on Pollination. + +## Examples + +For real-world examples see any of these Ladybug Tools recipes for Pollination: + +- [Annual Daylight recipe](https://github.com/pollination/annual-daylight) +- [Annual Irradiance recipe](https://github.com/pollination/annual-irradiance) +- [Point-in-Time Grid recipe](https://github.com/pollination/point-in-time-grid) +- [Point-in-Time View recipe](https://github.com/pollination/point-in-time-view) +- [Daylight Factor recipe](https://github.com/pollination/daylight-factor) +- [Sky View recipe](https://github.com/pollination/sky-view) + + +%prep +%autosetup -n pollination-honeybee-radiance-0.22.32 + +%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-pollination-honeybee-radiance -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.22.32-1 +- Package Spec generated |