summaryrefslogtreecommitdiff
path: root/python-fastmat.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-fastmat.spec')
-rw-r--r--python-fastmat.spec511
1 files changed, 511 insertions, 0 deletions
diff --git a/python-fastmat.spec b/python-fastmat.spec
new file mode 100644
index 0000000..30a97ed
--- /dev/null
+++ b/python-fastmat.spec
@@ -0,0 +1,511 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fastmat
+Version: 0.2.2
+Release: 1
+Summary: fast linear transforms in Python
+License: Apache Software License
+URL: https://ems-tu-ilmenau.github.io/fastmat/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/e7/0751cae7e9eb280e15ca01d29d3d01e3ddd3e2d4de139b046420702139c5/fastmat-0.2.2.tar.gz
+
+Requires: python3-six
+Requires: python3-scipy
+
+%description
+# fastmat
+[![Version](https://img.shields.io/pypi/v/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Status](https://img.shields.io/pypi/status/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![fastmat](https://img.shields.io/pypi/dm/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python wheels](https://img.shields.io/pypi/wheel/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![License](https://img.shields.io/pypi/l/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python versions](https://img.shields.io/pypi/pyversions/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![Implementation](https://img.shields.io/pypi/implementation/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Coverage Status](https://coveralls.io/repos/github/EMS-TU-Ilmenau/fastmat/badge.svg?branch=master)](https://coveralls.io/github/EMS-TU-Ilmenau/fastmat?branch=master)
+[![GitHub issues](https://img.shields.io/github/issues/EMS-TU-Ilmenau/fastmat.svg)](https://github.com/EMS-TU-Ilmenau/fastmat/issues)
+[![Documentation Status](https://readthedocs.org/projects/fastmat/badge/?version=latest)](http://fastmat.readthedocs.io/en/latest/?badge=latest)
+
+## Description
+Scientific computing requires handling large composed or structured matrices.
+Fastmat is a framework for handling large composed or structured matrices.
+It allows expressing and using them in a mathematically intuitive way while
+storing and handling them internally in an efficient way. This approach allows
+huge savings in computational time and memory requirements compared to using
+dense matrix representations.
+
+### Dependencies
+- Python 2.7, Python >=3.5
+- Numpy >= 1.16.3
+- Scipy >= 1.0
+- Cython >= 0.29
+- soft dependencies:
+ - matplotlib: for demos and tools that make use of plotting functions
+
+### Distribution
+Binary wheels are provided for Python >=3.5 for linux, windows and mac, as well as for x86 and ARM architectures.
+
+For all systems, for which no wheels are provided, you may still install fastmat from the soruce distribution.
+
+### Authors & Contact Information
+- Sebastian Semper | sebastian.semper@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Mathematics, EMS Group
+- Christoph Wagner | christoph.wagner@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Information Technology, EMS Group
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Citation / Acknowledgements
+If you use fastmat, or parts of it, for commercial purposes you are required
+to acknowledge the use of fastmat visibly to all users of your work and put a
+reference to the project and the EMS Group at TU Ilmenau.
+
+If you use fastmat for your scientific work you are required to mention the
+EMS Group at TU Ilmenau and cite the following publication affiliated with the
+project:
+ > Christoph W. Wagner and Sebastian Semper and Jan Kirchhof, _fastmat: Efficient linear transforms in Python_,
+ > SoftwareX, 2022, https://doi.org/10.1016/j.softx.2022.101013
+ >
+
+```
+ @article{Wagner_2022,
+ doi = {10.1016/j.softx.2022.101013},
+ url = {https://doi.org/10.1016%2Fj.softx.2022.101013},
+ year = {2022},
+ month = {jun},
+ publisher = {Elsevier {BV}},
+ volume = {18},
+ pages = {101013},
+ author = {Christoph W. Wagner and Sebastian Semper and Jan Kirchhof},
+ title = {fastmat: Efficient linear transforms in Python},
+ journal = {{SoftwareX}}
+ }
+```
+
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Installation
+fastmat currently supports Linux, Windows and Mac OS. Lately it also has been
+seen on ARM cores coming in a Xilinx ZYNQ FPGA SoC shell. We encourage you to
+go ahead trying other platforms as the aforementioned as well and are very
+happy if you share your experience with us, allowing us to keep the list
+updated.
+
+### Installing with pip:
+
+fastmat is included in the Python Package Index (PyPI) and can be installed
+from the commandline by running one easy and straightforward command:
+ `pip install fastmat`
+
+When installing with pip all dependencies of the package will be installed
+along. With release 0.1.1 python wheels will be offered for many versions
+greatly improving installation time and effort.
+
+#### Bulding from source
+
+Building binaries has been developed and tested for the use
+
+### Manually installing from source
+- download the source distribution from our github repository:
+ https://github.com/EMS-TU-Ilmenau/fastmat/archive/stable.zip
+- unpack its contents and navigate to the project root directory
+- run `pip install .` to install fastmat on your computer
+- you may also install fastmat without pip, using the offered makefile:
+ * type `make install` to install fastmat on your computer
+ * If you intend to install the package locally for your user type
+ `make install MODE=--user` instead
+ * You may add a version specifier for all `make` targets that directly or indirectly invoke Python:
+ `make install PYTHON=python2`
+ `make compile PYTHON=python3`
+ * If you only would like to compile the package to use it from this local
+ directory without installing it, type `make compile`
+ * An uninstallation of a previously run `make install`is possible, provided the installation log file `setup.files` has been preserved
+ Invoking `make uninstall` without a local `setup.files` causes another installation for generating the setup file log prior to uninstalling
+- **NOTE: Windows users**
+ If you intent on building fastmat from source on a windows platform, make sure you have installed a c compiler environment and make interpreter. One way to accomplish this is to install these tools for Python 2.7 (you may also chose different ones, of course):
+ * Intel Distribution for Python 2.7
+ * Microsoft Visual C++ Compiler 9.0 for Python 2.7
+ * GNU make for Windows 3.81 or newer
+ * depending on your system: The relevant header files
+
+## Demos
+Feel free to have a look at the demos in the `demo/` directory of the source
+distribution. Please make sure to have fastmat already installed when running
+these.
+
+Please note that the edgeDetect demo requires the Python Imaging Library (PIL)
+installed and the SAFT demos do compile a cython-core of a user defined matrix
+class beforehand thus having a delaying the first time they're executed.
+
+## Documentation / HELP !
+Please have a look at the documentation, which is included in the source
+distribution at github or may be built locally on your machine by running
+ `make doc`
+
+If you experience any trouble please do not hesitate to contact us or to open
+an issue on our github projectpage: https://github.com/EMS-TU-Ilmenau/fastmat
+
+### FAQ
+
+Please check out our project documentation at [readthedocs](https://fastmat.readthedocs.io/).
+
+#### Windows: Installation fails with various "file not found" errors
+Often, this is caused by missing header files. Unfortunately windows ships
+without a c-compiler and the header files necessary to compile native binary
+code. If you use the Intel Distribution for Python this can be resolved by
+installing the Visual Studio Build tools with the version as recommended by
+the version of the Intel Distribution for Python that you are using.
+
+#### Issue not resolved yet?
+Please contact us or leave your bug report in the *issue* section. Thank You!
+
+
+%package -n python3-fastmat
+Summary: fast linear transforms in Python
+Provides: python-fastmat
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-fastmat
+# fastmat
+[![Version](https://img.shields.io/pypi/v/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Status](https://img.shields.io/pypi/status/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![fastmat](https://img.shields.io/pypi/dm/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python wheels](https://img.shields.io/pypi/wheel/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![License](https://img.shields.io/pypi/l/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python versions](https://img.shields.io/pypi/pyversions/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![Implementation](https://img.shields.io/pypi/implementation/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Coverage Status](https://coveralls.io/repos/github/EMS-TU-Ilmenau/fastmat/badge.svg?branch=master)](https://coveralls.io/github/EMS-TU-Ilmenau/fastmat?branch=master)
+[![GitHub issues](https://img.shields.io/github/issues/EMS-TU-Ilmenau/fastmat.svg)](https://github.com/EMS-TU-Ilmenau/fastmat/issues)
+[![Documentation Status](https://readthedocs.org/projects/fastmat/badge/?version=latest)](http://fastmat.readthedocs.io/en/latest/?badge=latest)
+
+## Description
+Scientific computing requires handling large composed or structured matrices.
+Fastmat is a framework for handling large composed or structured matrices.
+It allows expressing and using them in a mathematically intuitive way while
+storing and handling them internally in an efficient way. This approach allows
+huge savings in computational time and memory requirements compared to using
+dense matrix representations.
+
+### Dependencies
+- Python 2.7, Python >=3.5
+- Numpy >= 1.16.3
+- Scipy >= 1.0
+- Cython >= 0.29
+- soft dependencies:
+ - matplotlib: for demos and tools that make use of plotting functions
+
+### Distribution
+Binary wheels are provided for Python >=3.5 for linux, windows and mac, as well as for x86 and ARM architectures.
+
+For all systems, for which no wheels are provided, you may still install fastmat from the soruce distribution.
+
+### Authors & Contact Information
+- Sebastian Semper | sebastian.semper@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Mathematics, EMS Group
+- Christoph Wagner | christoph.wagner@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Information Technology, EMS Group
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Citation / Acknowledgements
+If you use fastmat, or parts of it, for commercial purposes you are required
+to acknowledge the use of fastmat visibly to all users of your work and put a
+reference to the project and the EMS Group at TU Ilmenau.
+
+If you use fastmat for your scientific work you are required to mention the
+EMS Group at TU Ilmenau and cite the following publication affiliated with the
+project:
+ > Christoph W. Wagner and Sebastian Semper and Jan Kirchhof, _fastmat: Efficient linear transforms in Python_,
+ > SoftwareX, 2022, https://doi.org/10.1016/j.softx.2022.101013
+ >
+
+```
+ @article{Wagner_2022,
+ doi = {10.1016/j.softx.2022.101013},
+ url = {https://doi.org/10.1016%2Fj.softx.2022.101013},
+ year = {2022},
+ month = {jun},
+ publisher = {Elsevier {BV}},
+ volume = {18},
+ pages = {101013},
+ author = {Christoph W. Wagner and Sebastian Semper and Jan Kirchhof},
+ title = {fastmat: Efficient linear transforms in Python},
+ journal = {{SoftwareX}}
+ }
+```
+
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Installation
+fastmat currently supports Linux, Windows and Mac OS. Lately it also has been
+seen on ARM cores coming in a Xilinx ZYNQ FPGA SoC shell. We encourage you to
+go ahead trying other platforms as the aforementioned as well and are very
+happy if you share your experience with us, allowing us to keep the list
+updated.
+
+### Installing with pip:
+
+fastmat is included in the Python Package Index (PyPI) and can be installed
+from the commandline by running one easy and straightforward command:
+ `pip install fastmat`
+
+When installing with pip all dependencies of the package will be installed
+along. With release 0.1.1 python wheels will be offered for many versions
+greatly improving installation time and effort.
+
+#### Bulding from source
+
+Building binaries has been developed and tested for the use
+
+### Manually installing from source
+- download the source distribution from our github repository:
+ https://github.com/EMS-TU-Ilmenau/fastmat/archive/stable.zip
+- unpack its contents and navigate to the project root directory
+- run `pip install .` to install fastmat on your computer
+- you may also install fastmat without pip, using the offered makefile:
+ * type `make install` to install fastmat on your computer
+ * If you intend to install the package locally for your user type
+ `make install MODE=--user` instead
+ * You may add a version specifier for all `make` targets that directly or indirectly invoke Python:
+ `make install PYTHON=python2`
+ `make compile PYTHON=python3`
+ * If you only would like to compile the package to use it from this local
+ directory without installing it, type `make compile`
+ * An uninstallation of a previously run `make install`is possible, provided the installation log file `setup.files` has been preserved
+ Invoking `make uninstall` without a local `setup.files` causes another installation for generating the setup file log prior to uninstalling
+- **NOTE: Windows users**
+ If you intent on building fastmat from source on a windows platform, make sure you have installed a c compiler environment and make interpreter. One way to accomplish this is to install these tools for Python 2.7 (you may also chose different ones, of course):
+ * Intel Distribution for Python 2.7
+ * Microsoft Visual C++ Compiler 9.0 for Python 2.7
+ * GNU make for Windows 3.81 or newer
+ * depending on your system: The relevant header files
+
+## Demos
+Feel free to have a look at the demos in the `demo/` directory of the source
+distribution. Please make sure to have fastmat already installed when running
+these.
+
+Please note that the edgeDetect demo requires the Python Imaging Library (PIL)
+installed and the SAFT demos do compile a cython-core of a user defined matrix
+class beforehand thus having a delaying the first time they're executed.
+
+## Documentation / HELP !
+Please have a look at the documentation, which is included in the source
+distribution at github or may be built locally on your machine by running
+ `make doc`
+
+If you experience any trouble please do not hesitate to contact us or to open
+an issue on our github projectpage: https://github.com/EMS-TU-Ilmenau/fastmat
+
+### FAQ
+
+Please check out our project documentation at [readthedocs](https://fastmat.readthedocs.io/).
+
+#### Windows: Installation fails with various "file not found" errors
+Often, this is caused by missing header files. Unfortunately windows ships
+without a c-compiler and the header files necessary to compile native binary
+code. If you use the Intel Distribution for Python this can be resolved by
+installing the Visual Studio Build tools with the version as recommended by
+the version of the Intel Distribution for Python that you are using.
+
+#### Issue not resolved yet?
+Please contact us or leave your bug report in the *issue* section. Thank You!
+
+
+%package help
+Summary: Development documents and examples for fastmat
+Provides: python3-fastmat-doc
+%description help
+# fastmat
+[![Version](https://img.shields.io/pypi/v/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Status](https://img.shields.io/pypi/status/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![fastmat](https://img.shields.io/pypi/dm/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python wheels](https://img.shields.io/pypi/wheel/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![License](https://img.shields.io/pypi/l/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Python versions](https://img.shields.io/pypi/pyversions/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+
+[![Implementation](https://img.shields.io/pypi/implementation/fastmat.svg)](https://pypi.python.org/pypi/fastmat)
+[![Coverage Status](https://coveralls.io/repos/github/EMS-TU-Ilmenau/fastmat/badge.svg?branch=master)](https://coveralls.io/github/EMS-TU-Ilmenau/fastmat?branch=master)
+[![GitHub issues](https://img.shields.io/github/issues/EMS-TU-Ilmenau/fastmat.svg)](https://github.com/EMS-TU-Ilmenau/fastmat/issues)
+[![Documentation Status](https://readthedocs.org/projects/fastmat/badge/?version=latest)](http://fastmat.readthedocs.io/en/latest/?badge=latest)
+
+## Description
+Scientific computing requires handling large composed or structured matrices.
+Fastmat is a framework for handling large composed or structured matrices.
+It allows expressing and using them in a mathematically intuitive way while
+storing and handling them internally in an efficient way. This approach allows
+huge savings in computational time and memory requirements compared to using
+dense matrix representations.
+
+### Dependencies
+- Python 2.7, Python >=3.5
+- Numpy >= 1.16.3
+- Scipy >= 1.0
+- Cython >= 0.29
+- soft dependencies:
+ - matplotlib: for demos and tools that make use of plotting functions
+
+### Distribution
+Binary wheels are provided for Python >=3.5 for linux, windows and mac, as well as for x86 and ARM architectures.
+
+For all systems, for which no wheels are provided, you may still install fastmat from the soruce distribution.
+
+### Authors & Contact Information
+- Sebastian Semper | sebastian.semper@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Mathematics, EMS Group
+- Christoph Wagner | christoph.wagner@tu-ilmenau.de
+ Technische Universität Ilmenau, Institute for Information Technology, EMS Group
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Citation / Acknowledgements
+If you use fastmat, or parts of it, for commercial purposes you are required
+to acknowledge the use of fastmat visibly to all users of your work and put a
+reference to the project and the EMS Group at TU Ilmenau.
+
+If you use fastmat for your scientific work you are required to mention the
+EMS Group at TU Ilmenau and cite the following publication affiliated with the
+project:
+ > Christoph W. Wagner and Sebastian Semper and Jan Kirchhof, _fastmat: Efficient linear transforms in Python_,
+ > SoftwareX, 2022, https://doi.org/10.1016/j.softx.2022.101013
+ >
+
+```
+ @article{Wagner_2022,
+ doi = {10.1016/j.softx.2022.101013},
+ url = {https://doi.org/10.1016%2Fj.softx.2022.101013},
+ year = {2022},
+ month = {jun},
+ publisher = {Elsevier {BV}},
+ volume = {18},
+ pages = {101013},
+ author = {Christoph W. Wagner and Sebastian Semper and Jan Kirchhof},
+ title = {fastmat: Efficient linear transforms in Python},
+ journal = {{SoftwareX}}
+ }
+```
+
+- **<https://www.tu-ilmenau.de/it-ems/>**
+
+## Installation
+fastmat currently supports Linux, Windows and Mac OS. Lately it also has been
+seen on ARM cores coming in a Xilinx ZYNQ FPGA SoC shell. We encourage you to
+go ahead trying other platforms as the aforementioned as well and are very
+happy if you share your experience with us, allowing us to keep the list
+updated.
+
+### Installing with pip:
+
+fastmat is included in the Python Package Index (PyPI) and can be installed
+from the commandline by running one easy and straightforward command:
+ `pip install fastmat`
+
+When installing with pip all dependencies of the package will be installed
+along. With release 0.1.1 python wheels will be offered for many versions
+greatly improving installation time and effort.
+
+#### Bulding from source
+
+Building binaries has been developed and tested for the use
+
+### Manually installing from source
+- download the source distribution from our github repository:
+ https://github.com/EMS-TU-Ilmenau/fastmat/archive/stable.zip
+- unpack its contents and navigate to the project root directory
+- run `pip install .` to install fastmat on your computer
+- you may also install fastmat without pip, using the offered makefile:
+ * type `make install` to install fastmat on your computer
+ * If you intend to install the package locally for your user type
+ `make install MODE=--user` instead
+ * You may add a version specifier for all `make` targets that directly or indirectly invoke Python:
+ `make install PYTHON=python2`
+ `make compile PYTHON=python3`
+ * If you only would like to compile the package to use it from this local
+ directory without installing it, type `make compile`
+ * An uninstallation of a previously run `make install`is possible, provided the installation log file `setup.files` has been preserved
+ Invoking `make uninstall` without a local `setup.files` causes another installation for generating the setup file log prior to uninstalling
+- **NOTE: Windows users**
+ If you intent on building fastmat from source on a windows platform, make sure you have installed a c compiler environment and make interpreter. One way to accomplish this is to install these tools for Python 2.7 (you may also chose different ones, of course):
+ * Intel Distribution for Python 2.7
+ * Microsoft Visual C++ Compiler 9.0 for Python 2.7
+ * GNU make for Windows 3.81 or newer
+ * depending on your system: The relevant header files
+
+## Demos
+Feel free to have a look at the demos in the `demo/` directory of the source
+distribution. Please make sure to have fastmat already installed when running
+these.
+
+Please note that the edgeDetect demo requires the Python Imaging Library (PIL)
+installed and the SAFT demos do compile a cython-core of a user defined matrix
+class beforehand thus having a delaying the first time they're executed.
+
+## Documentation / HELP !
+Please have a look at the documentation, which is included in the source
+distribution at github or may be built locally on your machine by running
+ `make doc`
+
+If you experience any trouble please do not hesitate to contact us or to open
+an issue on our github projectpage: https://github.com/EMS-TU-Ilmenau/fastmat
+
+### FAQ
+
+Please check out our project documentation at [readthedocs](https://fastmat.readthedocs.io/).
+
+#### Windows: Installation fails with various "file not found" errors
+Often, this is caused by missing header files. Unfortunately windows ships
+without a c-compiler and the header files necessary to compile native binary
+code. If you use the Intel Distribution for Python this can be resolved by
+installing the Visual Studio Build tools with the version as recommended by
+the version of the Intel Distribution for Python that you are using.
+
+#### Issue not resolved yet?
+Please contact us or leave your bug report in the *issue* section. Thank You!
+
+
+%prep
+%autosetup -n fastmat-0.2.2
+
+%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-fastmat -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1
+- Package Spec generated