|
|
e900536 |
%{?python_enable_dependency_generator}
|
|
|
1d4bd4d |
%global pypi_name agate-dbf
|
|
|
1d4bd4d |
%global file_name agatedbf
|
|
|
1d4bd4d |
%global project_owner wireservice
|
|
|
1d4bd4d |
%global github_name agate-dbf
|
|
|
1d4bd4d |
%global desc Adds read support for DBF files to agate.
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
Name: python-%{pypi_name}
|
|
|
2bc0e5f |
Version: 0.2.2
|
|
|
6b052a4 |
Release: 7%{?dist}
|
|
|
1d4bd4d |
Summary: Adds read support for DBF files to agate
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
License: MIT
|
|
|
1d4bd4d |
URL: https://pypi.python.org/pypi/agate-dbf
|
|
|
1d4bd4d |
Source0: https://github.com/%{project_owner}/%{github_name}/archive/%{version}/%{github_name}-%{version}.tar.gz
|
|
|
1d4bd4d |
BuildArch: noarch
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%description
|
|
|
1d4bd4d |
%{desc}
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%package -n python3-%{pypi_name}
|
|
|
1d4bd4d |
Summary: %{summary}
|
|
|
3d0f88f |
BuildRequires: make
|
|
|
1d4bd4d |
BuildRequires: python3-devel
|
|
|
eccea2d |
BuildRequires: python3-setuptools
|
|
|
1d4bd4d |
BuildRequires: python3-nose >= 1.1.2
|
|
|
f4c84c8 |
BuildRequires: python3dist(agate) >= 1.5
|
|
|
e900536 |
BuildRequires: python3dist(dbfread) >= 2.0.5
|
|
|
1d4bd4d |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%description -n python3-%{pypi_name}
|
|
|
1d4bd4d |
%{desc}
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
e900536 |
%package -n python-%{pypi_name}-doc
|
|
|
e900536 |
Summary: %{summary}
|
|
|
e900536 |
BuildRequires: python3dist(sphinx) >= 1.2.2
|
|
|
e900536 |
BuildRequires: python3dist(sphinx-rtd-theme) >= 0.1.6
|
|
|
e900536 |
BuildArch: noarch
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%description -n python-%{pypi_name}-doc
|
|
|
1d4bd4d |
%{desc}
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
Documentation package.
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%prep
|
|
|
1d4bd4d |
%setup -qn %{github_name}-%{version}
|
|
|
1d4bd4d |
# Remove shebang on non executable scripts
|
|
|
1d4bd4d |
sed -i '1{\@^#!/usr/bin/env python@d}' agatedbf/*.py
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%build
|
|
|
1d4bd4d |
%py3_build
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
# Build documentation
|
|
|
1d4bd4d |
pushd docs
|
|
|
e900536 |
make html SPHINXBUILD=sphinx-build-%{python3_version}
|
|
|
1d4bd4d |
rm -f _build/html/.buildinfo
|
|
|
1d4bd4d |
popd
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%install
|
|
|
1d4bd4d |
%py3_install
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%check
|
|
|
1d4bd4d |
nosetests-%{python3_version} tests -v
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%files -n python3-%{pypi_name}
|
|
|
1d4bd4d |
%doc README.rst AUTHORS.rst CHANGELOG.rst
|
|
|
1d4bd4d |
%license COPYING
|
|
|
1d4bd4d |
%{python3_sitelib}/agate_dbf-%{version}-py%{python3_version}.egg-info/
|
|
|
1d4bd4d |
%{python3_sitelib}/%{file_name}/
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%files -n python-%{pypi_name}-doc
|
|
|
1d4bd4d |
%license COPYING
|
|
|
1d4bd4d |
%doc README.rst AUTHORS.rst CHANGELOG.rst docs/_build/
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
%changelog
|
|
|
6b052a4 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-7
|
|
|
6b052a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
6b052a4 |
|
|
|
0e29f76 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
|
|
|
0e29f76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
0e29f76 |
|
|
|
9ff96e9 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
|
|
|
9ff96e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
9ff96e9 |
|
|
|
e3ced0f |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.2.2-4
|
|
|
e3ced0f |
- Rebuilt for Python 3.12
|
|
|
e3ced0f |
|
|
|
e8fee3e |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
|
e8fee3e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
e8fee3e |
|
|
|
b342aba |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
|
b342aba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
b342aba |
|
|
|
2bc0e5f |
* Thu Jun 30 2022 Julien Enselme <jujens@jujens.eu> - 0.2.2-1
|
|
|
2bc0e5f |
- Update to 0.2.2
|
|
|
2bc0e5f |
|
|
|
5aa7cfd |
* Wed Jun 29 2022 Python Maint <python-maint@redhat.com> - 0.2.1-11
|
|
|
5aa7cfd |
- Rebuilt for Python 3.11
|
|
|
5aa7cfd |
|
|
|
27c1b19 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
|
|
|
27c1b19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
27c1b19 |
|
|
|
6e296c1 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-9
|
|
|
6e296c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6e296c1 |
|
|
|
4d675e2 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.1-8
|
|
|
4d675e2 |
- Rebuilt for Python 3.10
|
|
|
4d675e2 |
|
|
|
167f058 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-7
|
|
|
167f058 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
167f058 |
|
|
|
a24b342 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
|
|
|
a24b342 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a24b342 |
|
|
|
675da05 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-5
|
|
|
675da05 |
- Rebuilt for Python 3.9
|
|
|
675da05 |
|
|
|
9cb857b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
|
|
|
9cb857b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9cb857b |
|
|
|
94256ae |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-3
|
|
|
94256ae |
- Rebuilt for Python 3.8
|
|
|
94256ae |
|
|
|
b0990e6 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
|
b0990e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b0990e6 |
|
|
|
260e9ea |
* Sat Jul 13 2019 Julien Enselme <jujens@jujens.eu> - 0.2.1-1
|
|
|
260e9ea |
- Update to 0.2.1
|
|
|
260e9ea |
|
|
|
7524611 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
|
|
|
7524611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7524611 |
|
|
|
e900536 |
* Mon Dec 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-7
|
|
|
e900536 |
- Enable python dependency generator
|
|
|
e900536 |
|
|
|
e900536 |
* Mon Dec 31 2018 Julien Enselme <jujens@jujens.eu> - 0.2.0-6
|
|
|
16c983f |
- Remove Python 2 subpackage (#1662648)
|
|
|
16c983f |
|
|
|
d870c68 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
|
|
|
d870c68 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d870c68 |
|
|
|
82b8634 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-4
|
|
|
82b8634 |
- Rebuilt for Python 3.7
|
|
|
82b8634 |
|
|
|
99ceda8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
|
|
|
99ceda8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
99ceda8 |
|
|
|
1d4bd4d |
* Wed Oct 04 2017 Julien Enselme <jujens@jujens.eu> - 0.2.0-2
|
|
|
1d4bd4d |
- Fetch sources on github with tag instead of commit
|
|
|
1d4bd4d |
|
|
|
1d4bd4d |
* Sun Mar 12 2017 Julien Enselme <jujens@jujens.eu> - 0.2.0-1
|
|
|
1d4bd4d |
- Inital package
|