|
 |
4e6f5b |
%global pypi_name pyperclip
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
Name: python-%{pypi_name}
|
|
 |
4e6f5b |
Version: 1.8.2
|
|
 |
4e6f5b |
Release: 1%{?dist}
|
|
 |
4e6f5b |
Summary: A cross-platform clipboard module for Python
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
License: BSD
|
|
 |
4e6f5b |
URL: https://github.com/asweigart/%{pypi_name}
|
|
 |
4e6f5b |
Source0: %{pypi_source %{pypi_name}}
|
|
 |
4e6f5b |
BuildArch: noarch
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%description
|
|
 |
4e6f5b |
Pyperclip is a cross-platform Python module for copy and paste clipboard
|
|
 |
4e6f5b |
functions.
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%package -n python3-%{pypi_name}
|
|
 |
4e6f5b |
Summary: %{summary}
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
BuildRequires: python3-devel
|
|
 |
4e6f5b |
BuildRequires: python3-setuptools
|
|
 |
4e6f5b |
BuildRequires: python3-pytest
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%description -n python3-%{pypi_name}
|
|
 |
4e6f5b |
Pyperclip is a cross-platform Python module for copy and paste clipboard
|
|
 |
4e6f5b |
functions.
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%package -n python-%{pypi_name}-doc
|
|
 |
4e6f5b |
Summary: Pyperclip documentation
|
|
 |
4e6f5b |
BuildRequires: python3-sphinx
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%description -n python-%{pypi_name}-doc
|
|
 |
4e6f5b |
Documentation for pyperclip
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%prep
|
|
 |
4e6f5b |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
 |
4e6f5b |
# Remove bundled egg-info
|
|
 |
4e6f5b |
rm -rf %{pypi_name}.egg-info
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
# Fix ends of line encoding
|
|
 |
4e6f5b |
sed -i 's/\r$//' README.md docs/*
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%build
|
|
 |
4e6f5b |
%py3_build
|
|
 |
4e6f5b |
# generate html docs
|
|
 |
4e6f5b |
PYTHONPATH=${PWD} sphinx-build docs html
|
|
 |
4e6f5b |
# remove the sphinx-build leftovers
|
|
 |
4e6f5b |
rm -rf html/.{doctrees,buildinfo}
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%install
|
|
 |
4e6f5b |
%py3_install
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%check
|
|
 |
4e6f5b |
#%%{__python3} setup.py test
|
|
 |
4e6f5b |
%pytest
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%files -n python3-%{pypi_name}
|
|
 |
4e6f5b |
%doc README.md
|
|
 |
4e6f5b |
%{python3_sitelib}/%{pypi_name}
|
|
 |
4e6f5b |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%files -n python-%{pypi_name}-doc
|
|
 |
4e6f5b |
%doc html
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
%changelog
|
|
 |
4e6f5b |
* Mon Aug 08 2022 Jonathan Wright <jonathan@almalinux.org> - 1.8.2-1
|
|
 |
4e6f5b |
- Update to 1.8.2
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-8
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.8.0-7
|
|
 |
4e6f5b |
- Rebuilt for Python 3.11
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.8.0-4
|
|
 |
4e6f5b |
- Rebuilt for Python 3.10
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Tue Jun 16 2020 Ken Dreyer <kdreyer@redhat.com> - 1.8.0-1
|
|
 |
4e6f5b |
- Update to 1.8.0 (rhbz#1697423)
|
|
 |
4e6f5b |
- Use non-git autosetup for simplicity
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-8
|
|
 |
4e6f5b |
- Rebuilt for Python 3.9
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-7
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-6
|
|
 |
4e6f5b |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-5
|
|
 |
4e6f5b |
- Rebuilt for Python 3.8
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-4
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Sun Mar 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-3
|
|
 |
4e6f5b |
- Subpackage python2-pyperclip has been removed
|
|
 |
4e6f5b |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-2
|
|
 |
4e6f5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
4e6f5b |
|
|
 |
4e6f5b |
* Wed Jul 25 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.6.4-1
|
|
 |
4e6f5b |
- Initial package.
|