diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:45:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 03:45:56 +0000 |
commit | f7d34318163d2c6b88ca15266b0e00f0650b397e (patch) | |
tree | 1118209162d4509c3016df7426568853bef7cfa2 | |
parent | 0fc7add95db7b27c01cf5d74782c63e6e9037b78 (diff) |
automatic import of python-cloudify-dsl-parseropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-cloudify-dsl-parser.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/cloudify-dsl-parser-4.3.3.tar.gz diff --git a/python-cloudify-dsl-parser.spec b/python-cloudify-dsl-parser.spec new file mode 100644 index 0000000..04cc095 --- /dev/null +++ b/python-cloudify-dsl-parser.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cloudify-dsl-parser +Version: 4.3.3 +Release: 1 +Summary: Cloudify DSL parser +License: LICENSE +URL: https://pypi.org/project/cloudify-dsl-parser/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/da/1c/23b2c52422aeea60dda767b8ed904e3f67feb684667d2c06ca52d72b61eb/cloudify-dsl-parser-4.3.3.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-cloudify-dsl-parser +Summary: Cloudify DSL parser +Provides: python-cloudify-dsl-parser +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cloudify-dsl-parser + + +%package help +Summary: Development documents and examples for cloudify-dsl-parser +Provides: python3-cloudify-dsl-parser-doc +%description help + + +%prep +%autosetup -n cloudify-dsl-parser-4.3.3 + +%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-cloudify-dsl-parser -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 4.3.3-1 +- Package Spec generated @@ -0,0 +1 @@ +9bc9e08170dc180613560ce15573eca5 cloudify-dsl-parser-4.3.3.tar.gz |