summaryrefslogtreecommitdiff
path: root/python-jpylib-jyrgenn.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-jpylib-jyrgenn.spec')
-rw-r--r--python-jpylib-jyrgenn.spec105
1 files changed, 105 insertions, 0 deletions
diff --git a/python-jpylib-jyrgenn.spec b/python-jpylib-jyrgenn.spec
new file mode 100644
index 0000000..cbe52ac
--- /dev/null
+++ b/python-jpylib-jyrgenn.spec
@@ -0,0 +1,105 @@
+%global _empty_manifest_terminate_build 0
+Name: python-jpylib-jyrgenn
+Version: 2023.509.855
+Release: 1
+Summary: Utilities library with several more or less independent components
+License: BSD License
+URL: https://git.w21.org/ni/jpylib/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c1/16/3e90076262e77e4a61e8293c2c448419b4ef9a0269d0af613fadf67ed6c2/jpylib-jyrgenn-2023.509.855.tar.gz
+BuildArch: noarch
+
+
+%description
+Utilities library with several more or less independent components
+
+This library is mainly intended for myself, so I can access it from
+anywhere. But anyone else is welcome to have a look. Documentation
+is still lacking, I know, but that shall change. Testing is better.
+
+The full documentation (what already exists of it) for this version
+is at
+<https://git.w21.org/ni/jpylib/-/blob/v2023.509.855/doc/jpylib.md>
+
+[ni@w21.org 2022-03-11]
+
+
+%package -n python3-jpylib-jyrgenn
+Summary: Utilities library with several more or less independent components
+Provides: python-jpylib-jyrgenn
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-jpylib-jyrgenn
+Utilities library with several more or less independent components
+
+This library is mainly intended for myself, so I can access it from
+anywhere. But anyone else is welcome to have a look. Documentation
+is still lacking, I know, but that shall change. Testing is better.
+
+The full documentation (what already exists of it) for this version
+is at
+<https://git.w21.org/ni/jpylib/-/blob/v2023.509.855/doc/jpylib.md>
+
+[ni@w21.org 2022-03-11]
+
+
+%package help
+Summary: Development documents and examples for jpylib-jyrgenn
+Provides: python3-jpylib-jyrgenn-doc
+%description help
+Utilities library with several more or less independent components
+
+This library is mainly intended for myself, so I can access it from
+anywhere. But anyone else is welcome to have a look. Documentation
+is still lacking, I know, but that shall change. Testing is better.
+
+The full documentation (what already exists of it) for this version
+is at
+<https://git.w21.org/ni/jpylib/-/blob/v2023.509.855/doc/jpylib.md>
+
+[ni@w21.org 2022-03-11]
+
+
+%prep
+%autosetup -n jpylib-jyrgenn-2023.509.855
+
+%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-jpylib-jyrgenn -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.509.855-1
+- Package Spec generated