2017-01-23 15:55:37 +00:00
|
|
|
%global modname iso639
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
|
|
|
Version: 0.1.4
|
2018-06-19 09:05:57 +00:00
|
|
|
Release: 5%{?dist}
|
2017-01-23 15:55:37 +00:00
|
|
|
Summary: ISO639-2 support for Python
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/janpipek/iso639-python
|
|
|
|
Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
A simple (really simple) library for working with ISO639-2 language codes.
|
|
|
|
|
|
|
|
%package -n python2-%{modname}
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python2-%{modname}}
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
|
|
|
%description -n python2-%{modname}
|
|
|
|
A simple (really simple) library for working with ISO639-2 language codes.
|
|
|
|
|
|
|
|
Python 2 version.
|
|
|
|
|
|
|
|
%package -n python3-%{modname}
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
%description -n python3-%{modname}
|
|
|
|
A simple (really simple) library for working with ISO639-2 language codes.
|
|
|
|
|
|
|
|
Python 3 version.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{modname}-python-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%py2_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py2_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%files -n python2-%{modname}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{python2_sitelib}/%{modname}-*.egg-info/
|
|
|
|
%{python2_sitelib}/%{modname}/
|
|
|
|
|
|
|
|
%files -n python3-%{modname}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{python3_sitelib}/%{modname}-*.egg-info/
|
|
|
|
%{python3_sitelib}/%{modname}/
|
|
|
|
|
|
|
|
%changelog
|
2018-06-19 09:05:57 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.4-5
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-09 08:26:22 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 10:39:20 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 09:19:55 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-23 15:55:37 +00:00
|
|
|
* Wed Jun 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.1.4-1
|
|
|
|
- Initial package
|