|
|
59eb442 |
%global pypi_name plaintable
|
|
|
59eb442 |
|
|
|
59eb442 |
Name: python-%{pypi_name}
|
|
|
59eb442 |
Version: 0.1.1
|
|
|
9541f5e |
Release: 11%{?dist}
|
|
|
59eb442 |
Summary: Python2 simple library to build plain text tables
|
|
|
59eb442 |
|
|
|
59eb442 |
License: MIT
|
|
|
59eb442 |
URL: https://github.com/rumpelsepp/plaintable
|
|
|
59eb442 |
Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
59eb442 |
|
|
|
59eb442 |
BuildArch: noarch
|
|
|
59eb442 |
|
|
|
59eb442 |
%description
|
|
|
59eb442 |
Plaintable is a very simple library to build plain text tables.
|
|
|
59eb442 |
It has been created to provide a very lightweight and clear interface
|
|
|
59eb442 |
for generating plain text tables. Some data can be customized e.g.
|
|
|
59eb442 |
alignment, padding and floatprecision. Every data item is to be converted
|
|
|
59eb442 |
to string automatically.
|
|
|
59eb442 |
|
|
|
59eb442 |
%package -n python2-%{pypi_name}
|
|
|
59eb442 |
Summary: Python2 simple library to build plain text tables
|
|
|
59eb442 |
Group: Development/Libraries
|
|
|
59eb442 |
BuildRequires: python2-devel
|
|
|
d6bd54d |
BuildRequires: python2-setuptools
|
|
|
59eb442 |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
59eb442 |
|
|
|
59eb442 |
|
|
|
59eb442 |
%description -n python2-%{pypi_name}
|
|
|
59eb442 |
Plaintable is a very simple Python 3 library to build plain text
|
|
|
59eb442 |
tables. It has been created to provide a very lightweight and clear
|
|
|
59eb442 |
interface for generating plain text tables. Some data can be
|
|
|
59eb442 |
customized e.g. alignment, padding and floatprecision.
|
|
|
59eb442 |
Every data item is to be converted to string automatically.
|
|
|
59eb442 |
|
|
|
59eb442 |
%package -n python3-%{pypi_name}
|
|
|
59eb442 |
Summary: Python3 simple library to build plain text tables
|
|
|
59eb442 |
Group: Development/Libraries
|
|
|
59eb442 |
BuildRequires: python3-setuptools
|
|
|
59eb442 |
BuildRequires: python3-devel
|
|
|
59eb442 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
59eb442 |
|
|
|
59eb442 |
%description -n python3-%{pypi_name}
|
|
|
59eb442 |
Plaintable is a very simple Python 3 library to build plain text
|
|
|
59eb442 |
tables. It has been created to provide a very lightweight and clear
|
|
|
59eb442 |
interface for generating plain text tables. Some data can be
|
|
|
59eb442 |
customized e.g. alignment, padding and floatprecision.
|
|
|
59eb442 |
Every data item is to be converted to string automatically.
|
|
|
59eb442 |
|
|
|
59eb442 |
%prep
|
|
|
59eb442 |
%setup -q -n %{pypi_name}-%{version}
|
|
|
59eb442 |
# Remove bundled egg-info
|
|
|
59eb442 |
rm -rf %{pypi_name}.egg-info
|
|
|
59eb442 |
|
|
|
59eb442 |
%build
|
|
|
59eb442 |
%py2_build
|
|
|
59eb442 |
%py3_build
|
|
|
59eb442 |
|
|
|
59eb442 |
%install
|
|
|
59eb442 |
%py3_install
|
|
|
59eb442 |
%py2_install
|
|
|
59eb442 |
|
|
|
59eb442 |
%files -n python2-%{pypi_name}
|
|
|
59eb442 |
%doc README.rst
|
|
|
59eb442 |
%license LICENSE
|
|
|
59eb442 |
%{python2_sitelib}/*
|
|
|
59eb442 |
|
|
|
59eb442 |
%files -n python3-%{pypi_name}
|
|
|
59eb442 |
%doc README.rst
|
|
|
59eb442 |
%license LICENSE
|
|
|
59eb442 |
%{python3_sitelib}/*
|
|
|
59eb442 |
|
|
|
59eb442 |
%changelog
|
|
|
9541f5e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-11
|
|
|
9541f5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9541f5e |
|
|
|
07cff3d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.1-10
|
|
|
07cff3d |
- Rebuilt for Python 3.7
|
|
|
07cff3d |
|
|
|
d6bd54d |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1.1-9
|
|
|
d6bd54d |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
d6bd54d |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
d6bd54d |
|
|
|
c2f3c83 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-8
|
|
|
c2f3c83 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c2f3c83 |
|
|
|
445db82 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
|
|
|
445db82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
445db82 |
|
|
|
ebcc1d3 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-6
|
|
|
ebcc1d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ebcc1d3 |
|
|
|
9f88c1b |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1.1-5
|
|
|
9f88c1b |
- Rebuild for Python 3.6
|
|
|
9f88c1b |
|
|
|
5264821 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
|
|
|
5264821 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
5264821 |
|
|
|
abc2861 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
|
|
|
abc2861 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
abc2861 |
|
|
|
59eb442 |
* Mon Dec 28 2015 William Moreno <williamjmorenor at gmail.com> - 0.1.1-2
|
|
|
59eb442 |
- Update Python macros
|
|
|
59eb442 |
- Provides both python2 and python3 subpackages
|
|
|
59eb442 |
- Fix source url
|
|
|
59eb442 |
|
|
|
59eb442 |
* Tue Jun 09 2015 William Moreno Reyes <williamjmorenor at gmail.com> - 0.1.1-1
|
|
|
59eb442 |
- Initial packaging
|