summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 08:12:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 08:12:41 +0000
commit52f35aa6895f5cedb3e97d6a4f662521d90de65e (patch)
treed4e5da8547c74f5935fff7e6d4050c39dc6d6740
parenta11ed66259ec26014a39377171e6f3a1f1320194 (diff)
automatic import of python-wajigopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-wajig.spec111
-rw-r--r--sources1
3 files changed, 113 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6f75870 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wajig-4.0.12.tar.gz
diff --git a/python-wajig.spec b/python-wajig.spec
new file mode 100644
index 0000000..6a2793e
--- /dev/null
+++ b/python-wajig.spec
@@ -0,0 +1,111 @@
+%global _empty_manifest_terminate_build 0
+Name: python-wajig
+Version: 4.0.12
+Release: 1
+Summary: Ubunut admin managemetn tool
+License: GNU General Public License v3 (GPLv3)
+URL: https://wajig.togaware.com
+Source0: https://mirrors.aliyun.com/pypi/web/packages/53/23/512ad1798b6f1a71ff366d816984d8f8dee551b29de53a1bc6647cc66b45/wajig-4.0.12.tar.gz
+BuildArch: noarch
+
+
+%description
+Wajig is available in the Debian and Ubuntu repositories. On Ubuntu,
+where sudo is set up by default
+```consoles
+$ sudo apt install wajig
+```
+It is also available on [PyPI](https://pypi.org/project/wajig/) from
+where it can be installed with:
+```console
+$ pip3 install wajig
+```
+If sudo is not set up (see instructions below) then as root:
+```console
+# apt-get install wajig
+```
+
+%package -n python3-wajig
+Summary: Ubunut admin managemetn tool
+Provides: python-wajig
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-wajig
+Wajig is available in the Debian and Ubuntu repositories. On Ubuntu,
+where sudo is set up by default
+```consoles
+$ sudo apt install wajig
+```
+It is also available on [PyPI](https://pypi.org/project/wajig/) from
+where it can be installed with:
+```console
+$ pip3 install wajig
+```
+If sudo is not set up (see instructions below) then as root:
+```console
+# apt-get install wajig
+```
+
+%package help
+Summary: Development documents and examples for wajig
+Provides: python3-wajig-doc
+%description help
+Wajig is available in the Debian and Ubuntu repositories. On Ubuntu,
+where sudo is set up by default
+```consoles
+$ sudo apt install wajig
+```
+It is also available on [PyPI](https://pypi.org/project/wajig/) from
+where it can be installed with:
+```console
+$ pip3 install wajig
+```
+If sudo is not set up (see instructions below) then as root:
+```console
+# apt-get install wajig
+```
+
+%prep
+%autosetup -n wajig-4.0.12
+
+%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-wajig -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.12-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..8d748bc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7a6c01b90a7b7e207de5475b23b79c0d wajig-4.0.12.tar.gz