diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:53:40 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:53:40 +0000 |
commit | 6c68570bfe9308d6e15b69f77ddb55dabb4cc685 (patch) | |
tree | 6d130d386571be2f3410ad8ddbfe5fa41613da75 | |
parent | 05f2dd1d215ac20c409ae955fa75d3a6a75fd87e (diff) |
automatic import of python-setux-plusopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-setux-plus.spec | 106 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 108 insertions, 0 deletions
@@ -0,0 +1 @@ +/setux_plus-0.22.32.0.tar.gz diff --git a/python-setux-plus.spec b/python-setux-plus.spec new file mode 100644 index 0000000..8c9acd5 --- /dev/null +++ b/python-setux-plus.spec @@ -0,0 +1,106 @@ +%global _empty_manifest_terminate_build 0 +Name: python-setux-plus +Version: 0.22.32.0 +Release: 1 +Summary: System deployment +License: MIT +URL: https://notabug.org/dugres/setux_plus +Source0: https://mirrors.aliyun.com/pypi/web/packages/22/81/5073307d0567f030a6f6958781ebd6cb656ec335d1cfe114c29c58534537/setux_plus-0.22.32.0.tar.gz +BuildArch: noarch + +Requires: python3-setux + +%description +# Setux Plus + +Augmented [Setux] Distribution + +[PyPI] - [Repo] - [Doc] + + +[PyPI]: https://pypi.org/project/setux_plus +[Repo]: https://notabug.org/dugres/setux_plus +[Doc]: https://setux-plus.readthedocs.io/en/latest +[Setux]: https://setux.readthedocs.io/en/latest + + +%package -n python3-setux-plus +Summary: System deployment +Provides: python-setux-plus +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-setux-plus +# Setux Plus + +Augmented [Setux] Distribution + +[PyPI] - [Repo] - [Doc] + + +[PyPI]: https://pypi.org/project/setux_plus +[Repo]: https://notabug.org/dugres/setux_plus +[Doc]: https://setux-plus.readthedocs.io/en/latest +[Setux]: https://setux.readthedocs.io/en/latest + + +%package help +Summary: Development documents and examples for setux-plus +Provides: python3-setux-plus-doc +%description help +# Setux Plus + +Augmented [Setux] Distribution + +[PyPI] - [Repo] - [Doc] + + +[PyPI]: https://pypi.org/project/setux_plus +[Repo]: https://notabug.org/dugres/setux_plus +[Doc]: https://setux-plus.readthedocs.io/en/latest +[Setux]: https://setux.readthedocs.io/en/latest + + +%prep +%autosetup -n setux_plus-0.22.32.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-setux-plus -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.22.32.0-1 +- Package Spec generated @@ -0,0 +1 @@ +dffbfd943f6615bb7cb70ce9d329707a setux_plus-0.22.32.0.tar.gz |