Group :: Development/Python3
RPM: python3-module-imagesize
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname imagesize
%def_with check
Name: python3-module-imagesize
Version: 1.4.1
Release: alt1
Summary: Getting image size from png/jpeg/jpeg2000/gif file in pure Python
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/imagesize/
Vcs: https://github.com/shibukawa/imagesize_py
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
%description
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF
* SVG
* Netpbm
* WebP
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
%__python3 -m unittest
%files
%doc *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-*.egg-info
%changelog
…
Todas as alterações você pod ver aqui
%def_with check
Name: python3-module-imagesize
Version: 1.4.1
Release: alt1
Summary: Getting image size from png/jpeg/jpeg2000/gif file in pure Python
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/imagesize/
Vcs: https://github.com/shibukawa/imagesize_py
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
%description
It parses image files' header and return image size.
* PNG
* JPEG
* JPEG2000
* GIF
* TIFF
* SVG
* Netpbm
* WebP
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
%__python3 -m unittest
%files
%doc *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version-*.egg-info
%changelog
…
Todas as alterações você pod ver aqui