diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:33:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:33:56 +0000 |
commit | 05b379a9b49f3f29cababb065e5bce17893cdbe2 (patch) | |
tree | 02e08b41f1c8e009a0527fb05c7d69dae4765421 | |
parent | 5effe05ab449e9023eb2e43f546002fd03893213 (diff) |
automatic import of python-gluopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-glu.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/glu-0.0.18.tar.gz diff --git a/python-glu.spec b/python-glu.spec new file mode 100644 index 0000000..dd63f1f --- /dev/null +++ b/python-glu.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-glu +Version: 0.0.18 +Release: 1 +Summary: Glue for DRY configurations +License: MIT +URL: https://github.com/chongkong/glu +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5b/f9/beb99aa1c1b6fb4b35e9cdf13c2e87ddd51de189158cc839591d5b8abfd3/glu-0.0.18.tar.gz +BuildArch: noarch + + +%description +UNKNOWN + +%package -n python3-glu +Summary: Glue for DRY configurations +Provides: python-glu +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-glu +UNKNOWN + +%package help +Summary: Development documents and examples for glu +Provides: python3-glu-doc +%description help +UNKNOWN + +%prep +%autosetup -n glu-0.0.18 + +%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-glu -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.18-1 +- Package Spec generated @@ -0,0 +1 @@ +7dd3fcd6aa4bed0ec7a96352e0cd94c8 glu-0.0.18.tar.gz |