summaryrefslogtreecommitdiff
path: root/python-django-country-dialcode-sb.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 06:32:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 06:32:35 +0000
commit1d8277f9985047117dcd6ff282ceb10421153ed4 (patch)
tree7b7c90efced3fda1cf77c19895e19996bd5702c1 /python-django-country-dialcode-sb.spec
parentc4da96f377d5256da0f9b5a7f9b9774de79711f9 (diff)
automatic import of python-django-country-dialcode-sbopeneuler20.03
Diffstat (limited to 'python-django-country-dialcode-sb.spec')
-rw-r--r--python-django-country-dialcode-sb.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-django-country-dialcode-sb.spec b/python-django-country-dialcode-sb.spec
new file mode 100644
index 0000000..cb094bf
--- /dev/null
+++ b/python-django-country-dialcode-sb.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-country-dialcode-sb
+Version: 0.6.4
+Release: 1
+Summary: Django Application providing Dialcode and Countries code
+License: MIT License
+URL: http://github.com/Star2Billing/django-country-dialcode
+Source0: https://mirrors.aliyun.com/pypi/web/packages/44/4b/74a2457937801934dc7eea706dfc3eb9b8799d4acbc291a53fe1b5235f7a/django-country-dialcode-sb-0.6.4.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-django-country-dialcode-sb
+Summary: Django Application providing Dialcode and Countries code
+Provides: python-django-country-dialcode-sb
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-country-dialcode-sb
+
+
+%package help
+Summary: Development documents and examples for django-country-dialcode-sb
+Provides: python3-django-country-dialcode-sb-doc
+%description help
+
+
+%prep
+%autosetup -n django-country-dialcode-sb-0.6.4
+
+%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-country-dialcode-sb -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.4-1
+- Package Spec generated