summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:04:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:04:10 +0000
commit25e5ba5de867b18406d0374e0e0904dea55341fc (patch)
tree20edc76262a492ef7ef083104a5b0ad54539ff7f
parent8388f237ce9db57db82860594eca538d0b2428e7 (diff)
automatic import of python-wazeroutecalculatoropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-wazeroutecalculator.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8aa36a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WazeRouteCalculator-0.15.tar.gz
diff --git a/python-wazeroutecalculator.spec b/python-wazeroutecalculator.spec
new file mode 100644
index 0000000..ad637f5
--- /dev/null
+++ b/python-wazeroutecalculator.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-WazeRouteCalculator
+Version: 0.15
+Release: 1
+Summary: Calculate actual route time and distance with waze api.
+License: GNU GPL v3
+URL: https://github.com/kovacsbalu/WazeRouteCalculator
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6e/0c/17b8920d834a144e978d742fe800bf0134acbea6fcf84ce6661b943601cd/WazeRouteCalculator-0.15.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+
+%description
+
+
+%package -n python3-WazeRouteCalculator
+Summary: Calculate actual route time and distance with waze api.
+Provides: python-WazeRouteCalculator
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-WazeRouteCalculator
+
+
+%package help
+Summary: Development documents and examples for WazeRouteCalculator
+Provides: python3-WazeRouteCalculator-doc
+%description help
+
+
+%prep
+%autosetup -n WazeRouteCalculator-0.15
+
+%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-WazeRouteCalculator -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1351278
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e5409d319ca88ec38d2fb2033967296c WazeRouteCalculator-0.15.tar.gz