From 6c68570bfe9308d6e15b69f77ddb55dabb4cc685 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:53:40 +0000 Subject: automatic import of python-setux-plus --- python-setux-plus.spec | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 python-setux-plus.spec (limited to 'python-setux-plus.spec') 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 - 0.22.32.0-1 +- Package Spec generated -- cgit v1.2.3