diff options
Diffstat (limited to 'python-honeybee-radiance.spec')
-rw-r--r-- | python-honeybee-radiance.spec | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/python-honeybee-radiance.spec b/python-honeybee-radiance.spec new file mode 100644 index 0000000..4fb146c --- /dev/null +++ b/python-honeybee-radiance.spec @@ -0,0 +1,154 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeybee-radiance +Version: 1.64.165 +Release: 1 +Summary: Daylight and light simulation extension for honeybee. +License: AGPL-3.0 +URL: https://github.com/ladybug-tools/honeybee-radiance +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/10/5f722c750b12c4dbe74c1692cdae25f94d1e59f9fddf7a4346282b281086/honeybee-radiance-1.64.165.tar.gz +BuildArch: noarch + +Requires: python3-honeybee-core +Requires: python3-honeybee-radiance-folder +Requires: python3-honeybee-radiance-command +Requires: python3-honeybee-standards + +%description +# honeybee-radiance + + + +[](https://github.com/ladybug-tools/honeybee-radiance/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance) + +[](https://www.python.org/downloads/release/python-370/) +[](https://www.python.org/downloads/release/python-270/) +[](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +Radiance extension for honeybee + +Honeybee-radiance adds radiance functionalities to honeybee for daylight simulation. + +## Installation + +`pip install -U honeybee-radiance` + +To check if the command line interface is installed correctly use `honeybee-radiance --help`. + +## Documentation + +[API documentation](https://www.ladybug.tools/honeybee-radiance/docs/) + + +%package -n python3-honeybee-radiance +Summary: Daylight and light simulation extension for honeybee. +Provides: python-honeybee-radiance +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeybee-radiance +# honeybee-radiance + + + +[](https://github.com/ladybug-tools/honeybee-radiance/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance) + +[](https://www.python.org/downloads/release/python-370/) +[](https://www.python.org/downloads/release/python-270/) +[](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +Radiance extension for honeybee + +Honeybee-radiance adds radiance functionalities to honeybee for daylight simulation. + +## Installation + +`pip install -U honeybee-radiance` + +To check if the command line interface is installed correctly use `honeybee-radiance --help`. + +## Documentation + +[API documentation](https://www.ladybug.tools/honeybee-radiance/docs/) + + +%package help +Summary: Development documents and examples for honeybee-radiance +Provides: python3-honeybee-radiance-doc +%description help +# honeybee-radiance + + + +[](https://github.com/ladybug-tools/honeybee-radiance/actions) +[](https://coveralls.io/github/ladybug-tools/honeybee-radiance) + +[](https://www.python.org/downloads/release/python-370/) +[](https://www.python.org/downloads/release/python-270/) +[](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/) + +Radiance extension for honeybee + +Honeybee-radiance adds radiance functionalities to honeybee for daylight simulation. + +## Installation + +`pip install -U honeybee-radiance` + +To check if the command line interface is installed correctly use `honeybee-radiance --help`. + +## Documentation + +[API documentation](https://www.ladybug.tools/honeybee-radiance/docs/) + + +%prep +%autosetup -n honeybee-radiance-1.64.165 + +%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-honeybee-radiance -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.64.165-1 +- Package Spec generated |