diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:47:34 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:47:34 +0000 |
commit | e6aac83c89dfcf4d77b522d10c8657b3a7887395 (patch) | |
tree | 56184cc542e69b099660de889c384a2c0170a5a0 | |
parent | 73e2587f8328a474d0724fd675d76eb214eb86f0 (diff) |
automatic import of python-SF-Makoopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sf-mako.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/SF_Mako-0.0.0.14.tar.gz diff --git a/python-sf-mako.spec b/python-sf-mako.spec new file mode 100644 index 0000000..020f343 --- /dev/null +++ b/python-sf-mako.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-SF-Mako +Version: 0.0.0.14 +Release: 1 +Summary: MkNxGn SF Mako +License: MIT License +URL: https://mknxgn.com/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/ff/0b/088a05adc6f5333ee1e217cfa3041260068bb3533d7f09c035af48d9d4f9/SF_Mako-0.0.0.14.tar.gz +BuildArch: noarch + +Requires: python3-mknxgn-essentials +Requires: python3-bcrypt +Requires: python3-mkiot +Requires: python3-psutil + +%description +### Documentation Pending + + + +%package -n python3-SF-Mako +Summary: MkNxGn SF Mako +Provides: python-SF-Mako +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-SF-Mako +### Documentation Pending + + + +%package help +Summary: Development documents and examples for SF-Mako +Provides: python3-SF-Mako-doc +%description help +### Documentation Pending + + + +%prep +%autosetup -n SF_Mako-0.0.0.14 + +%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-SF-Mako -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.0.14-1 +- Package Spec generated @@ -0,0 +1 @@ +092781908333469c9b03aea57d95a89a SF_Mako-0.0.0.14.tar.gz |