From 94ef278084f1aefe6361e2f17e873520884231ae Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 09:52:42 +0000 Subject: automatic import of python-springlabs-django --- .gitignore | 1 + python-springlabs-django.spec | 89 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 91 insertions(+) create mode 100644 python-springlabs-django.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..22d4022 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/springlabs_django-0.3.5.tar.gz diff --git a/python-springlabs-django.spec b/python-springlabs-django.spec new file mode 100644 index 0000000..4d30104 --- /dev/null +++ b/python-springlabs-django.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-springlabs-django +Version: 0.3.5 +Release: 1 +Summary: Springlabs Projects Django Standard +License: MIT License +URL: https://springlabs.ai/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/ce/84/777aa4d29a19cce80f5c0d727b27beb4b1a5640c8403a3a3643210103a89/springlabs_django-0.3.5.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-requests + +%description +MIT +[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax) + [Django]: + [DjangoRestFramework]: + [Graphene-Django]: + [Python]: + +%package -n python3-springlabs-django +Summary: Springlabs Projects Django Standard +Provides: python-springlabs-django +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-springlabs-django +MIT +[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax) + [Django]: + [DjangoRestFramework]: + [Graphene-Django]: + [Python]: + +%package help +Summary: Development documents and examples for springlabs-django +Provides: python3-springlabs-django-doc +%description help +MIT +[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax) + [Django]: + [DjangoRestFramework]: + [Graphene-Django]: + [Python]: + +%prep +%autosetup -n springlabs_django-0.3.5 + +%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-springlabs-django -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.3.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d0615a2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +47d0af916c408c1e03c466da14e93ece springlabs_django-0.3.5.tar.gz -- cgit v1.2.3