%global _empty_manifest_terminate_build 0 Name: python-PyFoam Version: 2022.9 Release: 1 Summary: Python Utilities for OpenFOAM License: GPL URL: http://openfoamwiki.net/index.php/Contrib/PyFoam Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/14/95de134ffe6679449518a41bfe4c90b67624f7f57f7b026a15b763a4d372/PyFoam-2022.9.tar.gz BuildArch: noarch Requires: python3-numpy %description # What it is The purpose of this library is to support working with the OpenSource CFD-toolbox [OpenFOAM](http://www.openfoam.org) and its forks This [Python](http://www.python.org) library can be used to - analyze the logs produced by OpenFoam-solvers - execute OpenFoam-solvers and utilities and analyze their output simultaneously - manipulate the parameter files and the initial-conditions of a run in a non-destructive manner - plots the residuals of OpenFOAM solvers - lots of other stuff Most of this functionality is made available to the user in the form of command-line utilities. PyFoam does all this strictly "from the outside": by writing parameter files and reading the output of the solvers. Without compiled parts or being linked to OpenFOAM. More information is found on [the OpenFOAM Wiki](http://openfoamwiki.net/index.php/Contrib_PyFoam). Introductory presentations on PyFoam can be found there # Installation The easiest way to install PyFoam is the Python package-manager `pip`: pip install PyFoam which will install PyFoam # License PyFoam is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING in this directory, for a description of the GNU General Public License terms under which you can copy the files. # Contributors If not otherwise noted in a source-files the primary author is Bernhard Gschaider The people who contributed to PyFoam (If I forgot someone: tell me): - Bernhard Gschaider - Martin Beaudoin - Fabian Pollesböck - Etienne Lorriaux - Bruno Santos - Marc Immer - Oliver Borm # Further reading These documents give further information - **ReleaseNotes:** list of the changes between versions (newest versions are on top). - **DeveloperNotes:** document with information for people who want to contribute to `PyFoam` For information on the usage see the presentations on [the `PyFOAM` page on the OpenFOAM-Wiki](https://openfoamwiki.net/index.php/Contrib_PyFoam) # This document The original source of this document is `README.org`. The `README.md` (to which the `README` links) is automatically generated and should **not** be edited. The reason for this setup is that most Web-GUIs for VCS insist on Markdown as a markup language %package -n python3-PyFoam Summary: Python Utilities for OpenFOAM Provides: python-PyFoam BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-PyFoam # What it is The purpose of this library is to support working with the OpenSource CFD-toolbox [OpenFOAM](http://www.openfoam.org) and its forks This [Python](http://www.python.org) library can be used to - analyze the logs produced by OpenFoam-solvers - execute OpenFoam-solvers and utilities and analyze their output simultaneously - manipulate the parameter files and the initial-conditions of a run in a non-destructive manner - plots the residuals of OpenFOAM solvers - lots of other stuff Most of this functionality is made available to the user in the form of command-line utilities. PyFoam does all this strictly "from the outside": by writing parameter files and reading the output of the solvers. Without compiled parts or being linked to OpenFOAM. More information is found on [the OpenFOAM Wiki](http://openfoamwiki.net/index.php/Contrib_PyFoam). Introductory presentations on PyFoam can be found there # Installation The easiest way to install PyFoam is the Python package-manager `pip`: pip install PyFoam which will install PyFoam # License PyFoam is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING in this directory, for a description of the GNU General Public License terms under which you can copy the files. # Contributors If not otherwise noted in a source-files the primary author is Bernhard Gschaider The people who contributed to PyFoam (If I forgot someone: tell me): - Bernhard Gschaider - Martin Beaudoin - Fabian Pollesböck - Etienne Lorriaux - Bruno Santos - Marc Immer - Oliver Borm # Further reading These documents give further information - **ReleaseNotes:** list of the changes between versions (newest versions are on top). - **DeveloperNotes:** document with information for people who want to contribute to `PyFoam` For information on the usage see the presentations on [the `PyFOAM` page on the OpenFOAM-Wiki](https://openfoamwiki.net/index.php/Contrib_PyFoam) # This document The original source of this document is `README.org`. The `README.md` (to which the `README` links) is automatically generated and should **not** be edited. The reason for this setup is that most Web-GUIs for VCS insist on Markdown as a markup language %package help Summary: Development documents and examples for PyFoam Provides: python3-PyFoam-doc %description help # What it is The purpose of this library is to support working with the OpenSource CFD-toolbox [OpenFOAM](http://www.openfoam.org) and its forks This [Python](http://www.python.org) library can be used to - analyze the logs produced by OpenFoam-solvers - execute OpenFoam-solvers and utilities and analyze their output simultaneously - manipulate the parameter files and the initial-conditions of a run in a non-destructive manner - plots the residuals of OpenFOAM solvers - lots of other stuff Most of this functionality is made available to the user in the form of command-line utilities. PyFoam does all this strictly "from the outside": by writing parameter files and reading the output of the solvers. Without compiled parts or being linked to OpenFOAM. More information is found on [the OpenFOAM Wiki](http://openfoamwiki.net/index.php/Contrib_PyFoam). Introductory presentations on PyFoam can be found there # Installation The easiest way to install PyFoam is the Python package-manager `pip`: pip install PyFoam which will install PyFoam # License PyFoam is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the file COPYING in this directory, for a description of the GNU General Public License terms under which you can copy the files. # Contributors If not otherwise noted in a source-files the primary author is Bernhard Gschaider The people who contributed to PyFoam (If I forgot someone: tell me): - Bernhard Gschaider - Martin Beaudoin - Fabian Pollesböck - Etienne Lorriaux - Bruno Santos - Marc Immer - Oliver Borm # Further reading These documents give further information - **ReleaseNotes:** list of the changes between versions (newest versions are on top). - **DeveloperNotes:** document with information for people who want to contribute to `PyFoam` For information on the usage see the presentations on [the `PyFOAM` page on the OpenFOAM-Wiki](https://openfoamwiki.net/index.php/Contrib_PyFoam) # This document The original source of this document is `README.org`. The `README.md` (to which the `README` links) is automatically generated and should **not** be edited. The reason for this setup is that most Web-GUIs for VCS insist on Markdown as a markup language %prep %autosetup -n PyFoam-2022.9 %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-PyFoam -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 15 2023 Python_Bot - 2022.9-1 - Package Spec generated