diff options
Diffstat (limited to 'python-flask-diamond.spec')
| -rw-r--r-- | python-flask-diamond.spec | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/python-flask-diamond.spec b/python-flask-diamond.spec new file mode 100644 index 0000000..9e1e0dd --- /dev/null +++ b/python-flask-diamond.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-Diamond +Version: 0.5.1 +Release: 1 +Summary: Flask-Diamond provides some opinions about data-centric Internet applications and systems. Flask-Diamond is a batteries-included Flask framework, sortof like Django but radically decomposable. +License: MIT +URL: http://flask-diamond.readthedocs.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4a/17/0e63dfe473fb77aaf6992a16783c51016c24333310574c4a2e3a26b7028d/Flask-Diamond-0.5.1.tar.gz +BuildArch: noarch + + +%description +**Flask-Diamond** offers some opinions about network information systems that process data. +**Flask-Diamond** is a batteries-included Python Flask framework, sortof like Django but radically decomposable. +Using **Flask-Diamond**, you can scaffold a working application with sensible defaults, then easily override those defaults to meet your own goals. +**Flask-Diamond** provides a shared vocabulary that helps teams coordinate as they scale up to develop multiple Flask applications while maintaining good code reuse and learning transfer. +**Flask-Diamond** goes beyond a "project scaffold" by providing a complete architecture and team solution, including documentation, tutorials, and other learning support. + +%package -n python3-Flask-Diamond +Summary: Flask-Diamond provides some opinions about data-centric Internet applications and systems. Flask-Diamond is a batteries-included Flask framework, sortof like Django but radically decomposable. +Provides: python-Flask-Diamond +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-Diamond +**Flask-Diamond** offers some opinions about network information systems that process data. +**Flask-Diamond** is a batteries-included Python Flask framework, sortof like Django but radically decomposable. +Using **Flask-Diamond**, you can scaffold a working application with sensible defaults, then easily override those defaults to meet your own goals. +**Flask-Diamond** provides a shared vocabulary that helps teams coordinate as they scale up to develop multiple Flask applications while maintaining good code reuse and learning transfer. +**Flask-Diamond** goes beyond a "project scaffold" by providing a complete architecture and team solution, including documentation, tutorials, and other learning support. + +%package help +Summary: Development documents and examples for Flask-Diamond +Provides: python3-Flask-Diamond-doc +%description help +**Flask-Diamond** offers some opinions about network information systems that process data. +**Flask-Diamond** is a batteries-included Python Flask framework, sortof like Django but radically decomposable. +Using **Flask-Diamond**, you can scaffold a working application with sensible defaults, then easily override those defaults to meet your own goals. +**Flask-Diamond** provides a shared vocabulary that helps teams coordinate as they scale up to develop multiple Flask applications while maintaining good code reuse and learning transfer. +**Flask-Diamond** goes beyond a "project scaffold" by providing a complete architecture and team solution, including documentation, tutorials, and other learning support. + +%prep +%autosetup -n Flask-Diamond-0.5.1 + +%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-Flask-Diamond -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1 +- Package Spec generated |
