summaryrefslogtreecommitdiff
path: root/python-pyvimeo.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 18:07:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 18:07:56 +0000
commitab06a2b8d8578117f283ef0f6774e0677b609d28 (patch)
tree2774eb9e79afdeb859e62efbdcad3ca1321da10d /python-pyvimeo.spec
parentcc83d7dea61920765b63b5bcffdbc5af03beb7d3 (diff)
automatic import of python-pyvimeo
Diffstat (limited to 'python-pyvimeo.spec')
-rw-r--r--python-pyvimeo.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-pyvimeo.spec b/python-pyvimeo.spec
new file mode 100644
index 0000000..994e11c
--- /dev/null
+++ b/python-pyvimeo.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyVimeo
+Version: 1.1.0
+Release: 1
+Summary: Simple interaction with the Vimeo API.
+License: Apache Software License
+URL: https://developer.vimeo.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/6f/ba14edae35818a1a5edec216e48a7506f88343118af0a5ccb26265723c0c/PyVimeo-1.1.0.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-PyVimeo
+Summary: Simple interaction with the Vimeo API.
+Provides: python-PyVimeo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PyVimeo
+
+
+%package help
+Summary: Development documents and examples for PyVimeo
+Provides: python3-PyVimeo-doc
+%description help
+
+
+%prep
+%autosetup -n PyVimeo-1.1.0
+
+%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-PyVimeo -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.0-1
+- Package Spec generated