diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:42:55 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:42:55 +0000 |
| commit | 315e5596f9922b70ffe8f4bab6dbc6ed30c3c24f (patch) | |
| tree | 3939374f2d68c2ef048b8e9a1769cc96bcbf5939 | |
| parent | 33b7b6a290244830ef89e35aa1ed285a54cb0fa0 (diff) | |
automatic import of python-pyheif-pillow-openeropeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pyheif-pillow-opener.spec | 130 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 132 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyheif-pillow-opener-0.2.0.tar.gz diff --git a/python-pyheif-pillow-opener.spec b/python-pyheif-pillow-opener.spec new file mode 100644 index 0000000..ef4f135 --- /dev/null +++ b/python-pyheif-pillow-opener.spec @@ -0,0 +1,130 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyheif-pillow-opener +Version: 0.2.0 +Release: 1 +Summary: pyheif-pillow-opener is a simple HEIF/HEIC opener for Pillow base on pyhief library. +License: MIT +URL: https://github.com/ciotto/pyheif-pillow-opener +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6d/1d/da411320a3dbcf4260ee8dff87aed359a07e7a99fa7b7be054775957bb81/pyheif-pillow-opener-0.2.0.tar.gz +BuildArch: noarch + +Requires: python3-pyheif + +%description +# pyheif-pillow-opener + +[](https://github.com/uploadcare/heif-image-plugin/) +[](https://travis-ci.org/ciotto/pyheif-pillow-opener) +[](https://codecov.io/gh/ciotto/pyheif-pillow-opener) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://www.python.org/dev/peps/pep-0008/) + +**pyheif-pillow-opener** is a *simple* HEIF/HEIC opener for *Pillow* base on *pyhief* library. + +## Moved + +This project is discontinued in favour of [heif-image-plugin](https://github.com/uploadcare/heif-image-plugin/). + +## License + +Released under [MIT License](https://github.com/ciotto/pyheif-pillow-opener/blob/master/LICENSE). + + +%package -n python3-pyheif-pillow-opener +Summary: pyheif-pillow-opener is a simple HEIF/HEIC opener for Pillow base on pyhief library. +Provides: python-pyheif-pillow-opener +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyheif-pillow-opener +# pyheif-pillow-opener + +[](https://github.com/uploadcare/heif-image-plugin/) +[](https://travis-ci.org/ciotto/pyheif-pillow-opener) +[](https://codecov.io/gh/ciotto/pyheif-pillow-opener) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://www.python.org/dev/peps/pep-0008/) + +**pyheif-pillow-opener** is a *simple* HEIF/HEIC opener for *Pillow* base on *pyhief* library. + +## Moved + +This project is discontinued in favour of [heif-image-plugin](https://github.com/uploadcare/heif-image-plugin/). + +## License + +Released under [MIT License](https://github.com/ciotto/pyheif-pillow-opener/blob/master/LICENSE). + + +%package help +Summary: Development documents and examples for pyheif-pillow-opener +Provides: python3-pyheif-pillow-opener-doc +%description help +# pyheif-pillow-opener + +[](https://github.com/uploadcare/heif-image-plugin/) +[](https://travis-ci.org/ciotto/pyheif-pillow-opener) +[](https://codecov.io/gh/ciotto/pyheif-pillow-opener) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://pypi.python.org/pypi/pyheif-pillow-opener/) +[](https://www.python.org/dev/peps/pep-0008/) + +**pyheif-pillow-opener** is a *simple* HEIF/HEIC opener for *Pillow* base on *pyhief* library. + +## Moved + +This project is discontinued in favour of [heif-image-plugin](https://github.com/uploadcare/heif-image-plugin/). + +## License + +Released under [MIT License](https://github.com/ciotto/pyheif-pillow-opener/blob/master/LICENSE). + + +%prep +%autosetup -n pyheif-pillow-opener-0.2.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-pyheif-pillow-opener -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +e01b4df6f96fe28eb4c9e75d58799d0e pyheif-pillow-opener-0.2.0.tar.gz |
