Группа :: Development/Python3
Пакет: python3-module-sane
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable snapshot
%define modname sane
%define oname py%modname
Name: python3-module-%modname
Version: 2.8.3
Release: alt1
Summary: Pyhon3 interface for Sane
Group: Development/Python3
License: MIT-CMU-style
Url: https://github.com/python-pillow/Sane
%if_disabled sanpshot
Source: %url/archive/v%version/Sane-%version.tar.gz
%else
#VCS: https://github.com/python-pillow/Sane.git
Source: %oname-%version.tar
%endif
Requires: python3-module-Pillow python3-module-numpy
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: libsane-devel python3-module-Pillow-devel
BuildRequires: python3-module-numpy
%description
Python3 interface for Sane
%prep
%setup -n %oname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*py
%python3_sitelibdir/*.so
%python3_sitelibdir/__pycache__/*
%python3_sitelibdir/*.egg-info
%changelog
…
Полный changelog можно просмотреть здесь
%define modname sane
%define oname py%modname
Name: python3-module-%modname
Version: 2.8.3
Release: alt1
Summary: Pyhon3 interface for Sane
Group: Development/Python3
License: MIT-CMU-style
Url: https://github.com/python-pillow/Sane
%if_disabled sanpshot
Source: %url/archive/v%version/Sane-%version.tar.gz
%else
#VCS: https://github.com/python-pillow/Sane.git
Source: %oname-%version.tar
%endif
Requires: python3-module-Pillow python3-module-numpy
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools
BuildRequires: libsane-devel python3-module-Pillow-devel
BuildRequires: python3-module-numpy
%description
Python3 interface for Sane
%prep
%setup -n %oname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*py
%python3_sitelibdir/*.so
%python3_sitelibdir/__pycache__/*
%python3_sitelibdir/*.egg-info
%changelog
…
Полный changelog можно просмотреть здесь