Group :: Development/Python3
RPM: python3-module-icu
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable snapshot
%define _unpackaged_files_terminate_build 1
%define modulename icu
%define srcname PyICU
%define icu_ver 6.9.1
Name: python3-module-%modulename
# python3 setup.py -V|tail -1
Version: 2.7.4
Release: alt1
Summary: Python extension wrapping the ICU C++ API
Group: Development/Python3
License: MIT
Url: https://pyicu.osafoundation.org/
%if_disabled snapshot
Source: https://pypi.python.org/packages/source/P/PyICU/%srcname-%version.tar.gz
%else
Vcs: https://github.com/ovalhub/pyicu.git
Source: %srcname-%version.tar
%endif
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++ libicu-devel >= %icu_ver
BuildRequires: python3-devel python3-module-setuptools
%description
PyICU - Python 3 extension wrapping the ICU C++ API.
%prep
%setup -n %srcname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*
%doc CREDITS README* CHANGES samples/
%changelog
…
Full changelog you can see here
%define _unpackaged_files_terminate_build 1
%define modulename icu
%define srcname PyICU
%define icu_ver 6.9.1
Name: python3-module-%modulename
# python3 setup.py -V|tail -1
Version: 2.7.4
Release: alt1
Summary: Python extension wrapping the ICU C++ API
Group: Development/Python3
License: MIT
Url: https://pyicu.osafoundation.org/
%if_disabled snapshot
Source: https://pypi.python.org/packages/source/P/PyICU/%srcname-%version.tar.gz
%else
Vcs: https://github.com/ovalhub/pyicu.git
Source: %srcname-%version.tar
%endif
BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++ libicu-devel >= %icu_ver
BuildRequires: python3-devel python3-module-setuptools
%description
PyICU - Python 3 extension wrapping the ICU C++ API.
%prep
%setup -n %srcname-%version
%build
%python3_build
%install
%python3_install
%files
%python3_sitelibdir/*
%doc CREDITS README* CHANGES samples/
%changelog
…
Full changelog you can see here