Blame python-freecell_solver.spec

2508a71
# Created by pyp2rpm-3.3.2
2508a71
%global pypi_name freecell_solver
2508a71
2508a71
Name:           python-%{pypi_name}
79362e0
Version:        0.2.6
591763e
Release:        5%{?dist}
2508a71
Summary:        Freecell Solver Python bindings
2508a71
2508a71
License:        MIT
2508a71
URL:            https://fc-solve.shlomifish.org/
2508a71
Source0:        https://files.pythonhosted.org/packages/source/f/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
2508a71
BuildArch:      noarch
2508a71
2508a71
BuildRequires:  python3-devel
2508a71
BuildConflicts: python3dist(coverage) = 4.4
2508a71
BuildRequires:  python3dist(coverage) >= 4.0
2508a71
BuildRequires:  python3dist(hacking) >= 0.12.0
2508a71
BuildRequires:  python3dist(openstackdocstheme)
2508a71
BuildRequires:  python3dist(oslotest) >= 1.10.0
2508a71
BuildRequires:  python3dist(pbr)
2508a71
BuildRequires:  python3dist(pbr) >= 2.0
2508a71
BuildRequires:  python3dist(python-subunit) >= 0.0.18
2508a71
BuildRequires:  python3dist(setuptools)
2508a71
BuildRequires:  python3dist(testtools) >= 1.4.0
2508a71
BuildRequires:  python3dist(sphinx)
2508a71
2508a71
%description
2508a71
Python bindings for Freecell Solver using cffi.
2508a71
2508a71
%package -n     python3-%{pypi_name}
2508a71
Summary:        %{summary}
2508a71
%{?python_provide:%python_provide python3-%{pypi_name}}
2508a71
2508a71
Requires:       python3dist(pbr) >= 2.0
2508a71
%description -n python3-%{pypi_name}
2508a71
Python bindings for Freecell Solver using cffi.
2508a71
2508a71
%package -n python-%{pypi_name}-doc
2508a71
Summary:        freecell_solver documentation
2508a71
%description -n python-%{pypi_name}-doc
2508a71
Documentation for freecell_solver
2508a71
2508a71
%prep
2508a71
%autosetup -n %{pypi_name}-%{version}
2508a71
# Remove bundled egg-info
2508a71
rm -rf %{pypi_name}.egg-info
2508a71
2508a71
%build
2508a71
%py3_build
2508a71
# generate html docs
2508a71
PYTHONPATH=${PWD} sphinx-build-3 doc/source html
2508a71
# remove the sphinx-build leftovers
2508a71
rm -rf html/.{doctrees,buildinfo}
2508a71
2508a71
%install
2508a71
%py3_install
2508a71
2508a71
%files -n python3-%{pypi_name}
2508a71
%license LICENSE
2508a71
%doc README.rst doc/source/readme.rst
2508a71
%{python3_sitelib}/%{pypi_name}
25e04a4
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
2508a71
2508a71
%files -n python-%{pypi_name}-doc
2508a71
%doc html
2508a71
%license LICENSE
2508a71
2508a71
%changelog
591763e
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5
591763e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
591763e
b8e6d7d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.6-4
b8e6d7d
- Rebuilt for Python 3.10
b8e6d7d
e06185c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
e06185c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e06185c
8b0c12f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
8b0c12f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
8b0c12f
79362e0
* Tue Jun 23 2020 Shlomi Fish <shlomif@shlomifish.org> 0.2.6-1
79362e0
- New Upstream Version
79362e0
b7cc86c
* Fri May 29 2020 Shlomi Fish <shlomif@shlomifish.org> 0.2.3-6
b7cc86c
- Rebuild for Python 3.9
b7cc86c
9b7d6ac
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-5
9b7d6ac
- Rebuilt for Python 3.9
9b7d6ac
3c8083d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-4
3c8083d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3c8083d
34e9930
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-3
34e9930
- Rebuilt for Python 3.8.0rc1 (#1748018)
34e9930
19b1456
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-2
19b1456
- Rebuilt for Python 3.8
19b1456
2508a71
* Thu Aug 01 2019 Shlomi Fish <shlomif@shlomifish.org> - 0.2.3-1
2508a71
- Initial package.