diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-juntagrico.spec | 153 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 155 insertions, 0 deletions
@@ -0,0 +1 @@ +/juntagrico-1.5.7.tar.gz diff --git a/python-juntagrico.spec b/python-juntagrico.spec new file mode 100644 index 0000000..12c3a83 --- /dev/null +++ b/python-juntagrico.spec @@ -0,0 +1,153 @@ +%global _empty_manifest_terminate_build 0 +Name: python-juntagrico +Version: 1.5.7 +Release: 1 +Summary: juntagrico +License: GNU Lesser General Public License v3 (LGPLv3) +URL: https://www.juntagrico.org +Source0: https://mirrors.aliyun.com/pypi/web/packages/c9/93/1a7250385d85fab8f0c42a1ae55c1fb506d1f78af2fba2e38d53ad481c4f/juntagrico-1.5.7.tar.gz +BuildArch: noarch + + +%description +[](https://github.com/juntagrico/juntagrico/actions/workflows/juntagrico-ci.yml) +[](https://codeclimate.com/github/juntagrico/juntagrico/maintainability) +[](https://codeclimate.com/github/juntagrico/juntagrico/test_coverage) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico/) +[](https://github.com/juntagrico/juntagrico) +[](https://github.com/juntagrico/juntagrico) +[](https://requires.io/github/juntagrico/juntagrico/requirements/?branch=main) +**the easy solution for cooperative vegetable growers** +juntagrico is a management platform for community gardens and vegetable +cooperatives. +It provides the basic functionality like +- subscription management +- extra subscription management +- management of shares +- delivery management +- management of members +Detailed documentation how to install and configure juntagrico can be +found here <http://juntagrico.readthedocs.io> +Demo can be found here <https://demo.juntagrico.science/> The +username is "admin" and the password is "admin" too. Please do not +change the password! +[](https://www.python.org/) +[](https://forthebadge.com) +[](https://forthebadge.com) + +%package -n python3-juntagrico +Summary: juntagrico +Provides: python-juntagrico +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-juntagrico +[](https://github.com/juntagrico/juntagrico/actions/workflows/juntagrico-ci.yml) +[](https://codeclimate.com/github/juntagrico/juntagrico/maintainability) +[](https://codeclimate.com/github/juntagrico/juntagrico/test_coverage) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico/) +[](https://github.com/juntagrico/juntagrico) +[](https://github.com/juntagrico/juntagrico) +[](https://requires.io/github/juntagrico/juntagrico/requirements/?branch=main) +**the easy solution for cooperative vegetable growers** +juntagrico is a management platform for community gardens and vegetable +cooperatives. +It provides the basic functionality like +- subscription management +- extra subscription management +- management of shares +- delivery management +- management of members +Detailed documentation how to install and configure juntagrico can be +found here <http://juntagrico.readthedocs.io> +Demo can be found here <https://demo.juntagrico.science/> The +username is "admin" and the password is "admin" too. Please do not +change the password! +[](https://www.python.org/) +[](https://forthebadge.com) +[](https://forthebadge.com) + +%package help +Summary: Development documents and examples for juntagrico +Provides: python3-juntagrico-doc +%description help +[](https://github.com/juntagrico/juntagrico/actions/workflows/juntagrico-ci.yml) +[](https://codeclimate.com/github/juntagrico/juntagrico/maintainability) +[](https://codeclimate.com/github/juntagrico/juntagrico/test_coverage) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico) +[](https://pypi.python.org/pypi/juntagrico/) +[](https://github.com/juntagrico/juntagrico) +[](https://github.com/juntagrico/juntagrico) +[](https://requires.io/github/juntagrico/juntagrico/requirements/?branch=main) +**the easy solution for cooperative vegetable growers** +juntagrico is a management platform for community gardens and vegetable +cooperatives. +It provides the basic functionality like +- subscription management +- extra subscription management +- management of shares +- delivery management +- management of members +Detailed documentation how to install and configure juntagrico can be +found here <http://juntagrico.readthedocs.io> +Demo can be found here <https://demo.juntagrico.science/> The +username is "admin" and the password is "admin" too. Please do not +change the password! +[](https://www.python.org/) +[](https://forthebadge.com) +[](https://forthebadge.com) + +%prep +%autosetup -n juntagrico-1.5.7 + +%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-juntagrico -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.7-1 +- Package Spec generated @@ -0,0 +1 @@ +2d6d3c0a94931550be50bdeab86f2ec9 juntagrico-1.5.7.tar.gz |