summaryrefslogtreecommitdiff
path: root/python-icat.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:41:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:41:02 +0000
commit58cbd012f737265931882506fac3198fa2c24c1e (patch)
treeda3ba1a0551fc3cd864000c853ba01810a1d7798 /python-icat.spec
parent1d2614cd0ef25edaee17bd4e32056ddd1919c933 (diff)
automatic import of python-icatopeneuler20.03
Diffstat (limited to 'python-icat.spec')
-rw-r--r--python-icat.spec25
1 files changed, 9 insertions, 16 deletions
diff --git a/python-icat.spec b/python-icat.spec
index 23fde76..3a93b8e 100644
--- a/python-icat.spec
+++ b/python-icat.spec
@@ -1,22 +1,19 @@
%global _empty_manifest_terminate_build 0
Name: python-icat
-Version: 0.0.22
+Version: 0.0.23
Release: 1
Summary: print images on an ansi capable terminal
License: GPL3
URL: https://github.com/gretchycat/icat
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/0f/4fa2032d8c131d02187c2a799acc5d793b416d50d67b3640bb7fb7754b85/icat-0.0.22.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/62/49/5595d4db6b8ad46c41e2bed00c206ecd783420f1a0ab9cb991206761508d/icat-0.0.23.tar.gz
BuildArch: noarch
-Requires: python3-Pillow
%description
# icat displays images on the terminal using ansi graphics
# supports monochrome, 8 color, 16 color, 256 color and 24-bit color terminals
-
-
%package -n python3-icat
Summary: print images on an ansi capable terminal
Provides: python-icat
@@ -28,8 +25,6 @@ BuildRequires: python3-pip
# supports monochrome, 8 color, 16 color, 256 color and 24-bit color terminals
-
-
%package help
Summary: Development documents and examples for icat
Provides: python3-icat-doc
@@ -38,10 +33,8 @@ Provides: python3-icat-doc
# supports monochrome, 8 color, 16 color, 256 color and 24-bit color terminals
-
-
%prep
-%autosetup -n icat-0.0.22
+%autosetup -n icat-0.0.23
%build
%py3_build
@@ -55,20 +48,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -81,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.22-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.23-1
- Package Spec generated