1 |
%define upstream_name translationstring |
2 |
|
3 |
Name: python-%{upstream_name} |
4 |
Version: 1.3 |
5 |
Release: %mkrel 3 |
6 |
Summary: Utility library for i18n relied on by various Repoze and Pyramid packages |
7 |
Group: Development/Python |
8 |
License: BSD |
9 |
URL: https://pypi.org/project/translationstring/ |
10 |
Source0: https://files.pythonhosted.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/%{upstream_name}/%{upstream_name}-%{version}.tar.gz |
11 |
BuildArch: noarch |
12 |
|
13 |
%description |
14 |
A library used by various Pylons Project packages for internationalization |
15 |
(i18n) duties related to translation. |
16 |
|
17 |
%package -n python3-%{upstream_name} |
18 |
Summary: Utility library for i18n relied on by various Repoze and Pyramid packages |
19 |
Group: Development/Python |
20 |
BuildRequires: pkgconfig(python3) |
21 |
BuildRequires: pythonegg(3)(setuptools) |
22 |
|
23 |
%description -n python3-%{upstream_name} |
24 |
A library used by various Pylons Project packages for internationalization |
25 |
(i18n) duties related to translation. |
26 |
|
27 |
%prep |
28 |
%setup -q -n %{upstream_name}-%{version} |
29 |
|
30 |
%build |
31 |
%py3_build |
32 |
|
33 |
%install |
34 |
%{__python3} setup.py install --single-version-externally-managed --skip-build --root %{buildroot} |
35 |
|
36 |
%files -n python3-%{upstream_name} |
37 |
%doc README.rst |
38 |
%{python3_sitelib}/translationstring |
39 |
%{python3_sitelib}/translationstring-%{version}-*.egg-info |