summaryrefslogtreecommitdiff
path: root/python-django-loose-fk.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:03:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:03:45 +0000
commit0a4fca90591385dbf4a0ace172aec8238c4c7df9 (patch)
treed62e843cf399aef9af9fbba80ffe22ca2bd95065 /python-django-loose-fk.spec
parent1bb7d8cbfcbb143f34c1dbb786264eaff4b44d30 (diff)
automatic import of python-django-loose-fk
Diffstat (limited to 'python-django-loose-fk.spec')
-rw-r--r--python-django-loose-fk.spec89
1 files changed, 89 insertions, 0 deletions
diff --git a/python-django-loose-fk.spec b/python-django-loose-fk.spec
new file mode 100644
index 0000000..c954c97
--- /dev/null
+++ b/python-django-loose-fk.spec
@@ -0,0 +1,89 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-loose-fk
+Version: 1.0.2
+Release: 1
+Summary: Django Loose FK handles local or remote "ForeignKey" references.
+License: MIT
+URL: https://github.com/maykinmedia/django-loose-fk
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0f/a6/d41f4d1f757c9f6655faf6e9f4257df1a6606bbc7a933eab5b82a4b5cabc/django-loose-fk-1.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-djangorestframework
+Requires: python3-django-filter
+Requires: python3-pytest-cov
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-drf-yasg
+Requires: python3-flake8
+Requires: python3-bump2version
+Requires: python3-psycopg2
+Requires: python3-pytest
+Requires: python3-pytest-django
+Requires: python3-tox
+Requires: python3-black
+Requires: python3-isort
+Requires: python3-requests
+Requires: python3-requests-mock
+
+%description
+
+
+%package -n python3-django-loose-fk
+Summary: Django Loose FK handles local or remote "ForeignKey" references.
+Provides: python-django-loose-fk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-loose-fk
+
+
+%package help
+Summary: Development documents and examples for django-loose-fk
+Provides: python3-django-loose-fk-doc
+%description help
+
+
+%prep
+%autosetup -n django-loose-fk-1.0.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-django-loose-fk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2-1
+- Package Spec generated