summaryrefslogtreecommitdiff
path: root/python-goosempl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-goosempl.spec')
-rw-r--r--python-goosempl.spec161
1 files changed, 161 insertions, 0 deletions
diff --git a/python-goosempl.spec b/python-goosempl.spec
new file mode 100644
index 0000000..4e05c56
--- /dev/null
+++ b/python-goosempl.spec
@@ -0,0 +1,161 @@
+%global _empty_manifest_terminate_build 0
+Name: python-GooseMPL
+Version: 0.14.0
+Release: 1
+Summary: Style and extension functions for matplotlib
+License: MIT
+URL: https://github.com/tdegeus/GooseMPL
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/99/02/a64d8ec4e5b88ef12379815155e6d42569d073d142c89cacfc861130aec6/GooseMPL-0.14.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-deprecation
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-pyyaml
+Requires: python3-scipy
+
+%description
+[![CI](https://github.com/tdegeus/shelephant/workflows/CI/badge.svg)](https://github.com/tdegeus/shelephant/actions)
+[![Documentation Status](https://readthedocs.org/projects/goosempl/badge/?version=latest)](http://goosempl.readthedocs.io/en/latest/?badge=latest)
+
+# GooseMPL
+
+GooseMPL provides a style and several style extensions for matplotlib,
+some custom functions that extend matplotlib,
+and several examples to make professional plot using matplotlib.
+
+Documentation: [goosempl.readthedocs.io](https://goosempl.readthedocs.io)
+
+# Disclaimer
+
+This library is free to use under the [MIT license](LICENSE).
+Any additions are very much appreciated, in terms of suggested functionality,
+code, documentation, testimonials, word of mouth advertisement, ....
+Bug reports or feature requests can be filed on
+[GitHub](https://github.com/tdegeus/GooseMPL).
+As always, the code comes with no guarantee.
+None of the developers can be held responsible for possible mistakes.
+
+Download:
+[.zip file](https://github.com/tdegeus/GooseMPL/zipball/master) |
+[.tar.gz file](https://github.com/tdegeus/GooseMPL/tarball/master).
+
+(c - [MIT](LICENSE)) T.W.J. de Geus (Tom) |
+tom@geus.me | www.geus.me |
+[github.com/tdegeus/GooseMPL](https://github.com/tdegeus/GooseMPL)
+
+
+%package -n python3-GooseMPL
+Summary: Style and extension functions for matplotlib
+Provides: python-GooseMPL
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-GooseMPL
+[![CI](https://github.com/tdegeus/shelephant/workflows/CI/badge.svg)](https://github.com/tdegeus/shelephant/actions)
+[![Documentation Status](https://readthedocs.org/projects/goosempl/badge/?version=latest)](http://goosempl.readthedocs.io/en/latest/?badge=latest)
+
+# GooseMPL
+
+GooseMPL provides a style and several style extensions for matplotlib,
+some custom functions that extend matplotlib,
+and several examples to make professional plot using matplotlib.
+
+Documentation: [goosempl.readthedocs.io](https://goosempl.readthedocs.io)
+
+# Disclaimer
+
+This library is free to use under the [MIT license](LICENSE).
+Any additions are very much appreciated, in terms of suggested functionality,
+code, documentation, testimonials, word of mouth advertisement, ....
+Bug reports or feature requests can be filed on
+[GitHub](https://github.com/tdegeus/GooseMPL).
+As always, the code comes with no guarantee.
+None of the developers can be held responsible for possible mistakes.
+
+Download:
+[.zip file](https://github.com/tdegeus/GooseMPL/zipball/master) |
+[.tar.gz file](https://github.com/tdegeus/GooseMPL/tarball/master).
+
+(c - [MIT](LICENSE)) T.W.J. de Geus (Tom) |
+tom@geus.me | www.geus.me |
+[github.com/tdegeus/GooseMPL](https://github.com/tdegeus/GooseMPL)
+
+
+%package help
+Summary: Development documents and examples for GooseMPL
+Provides: python3-GooseMPL-doc
+%description help
+[![CI](https://github.com/tdegeus/shelephant/workflows/CI/badge.svg)](https://github.com/tdegeus/shelephant/actions)
+[![Documentation Status](https://readthedocs.org/projects/goosempl/badge/?version=latest)](http://goosempl.readthedocs.io/en/latest/?badge=latest)
+
+# GooseMPL
+
+GooseMPL provides a style and several style extensions for matplotlib,
+some custom functions that extend matplotlib,
+and several examples to make professional plot using matplotlib.
+
+Documentation: [goosempl.readthedocs.io](https://goosempl.readthedocs.io)
+
+# Disclaimer
+
+This library is free to use under the [MIT license](LICENSE).
+Any additions are very much appreciated, in terms of suggested functionality,
+code, documentation, testimonials, word of mouth advertisement, ....
+Bug reports or feature requests can be filed on
+[GitHub](https://github.com/tdegeus/GooseMPL).
+As always, the code comes with no guarantee.
+None of the developers can be held responsible for possible mistakes.
+
+Download:
+[.zip file](https://github.com/tdegeus/GooseMPL/zipball/master) |
+[.tar.gz file](https://github.com/tdegeus/GooseMPL/tarball/master).
+
+(c - [MIT](LICENSE)) T.W.J. de Geus (Tom) |
+tom@geus.me | www.geus.me |
+[github.com/tdegeus/GooseMPL](https://github.com/tdegeus/GooseMPL)
+
+
+%prep
+%autosetup -n GooseMPL-0.14.0
+
+%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-GooseMPL -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.0-1
+- Package Spec generated