9087cbe
9087cbe
%global pypi_name xvfbwrapper
9087cbe
9087cbe
Name:           python-%{pypi_name}
56eb1de
Version:        0.2.9
62accef
Release:        23%{?dist}
9087cbe
Summary:        run headless display inside X virtual framebuffer (Xvfb)
9087cbe
9087cbe
License:        MIT
9087cbe
URL:            https://github.com/cgoldberg/xvfbwrapper
56eb1de
Source0:        https://files.pythonhosted.org/packages/source/x/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
9087cbe
BuildArch:      noarch
9087cbe
56eb1de
%global _description\
56eb1de
Python wrapper for running a display inside X virtual framebuffer (Xvfb)
56eb1de
56eb1de
%description %_description
9087cbe
9087cbe
9087cbe
%package -n python3-%{pypi_name}
9087cbe
Summary:        run headless display inside X virtual framebuffer (Xvfb)
9087cbe
9087cbe
BuildRequires: python3-devel
95e1d27
BuildRequires: python3-setuptools
98b93ae
BuildRequires: python3-mock
9087cbe
BuildRequires: python3-nose
56eb1de
BuildRequires: xorg-x11-server-Xvfb
9087cbe
9087cbe
%description -n python3-%{pypi_name}
9087cbe
Python wrapper for running a display inside X virtual framebuffer (Xvfb)
1739af9
9087cbe
%prep
ea0d41a
%autosetup -n %{pypi_name}-%{version}
9087cbe
9087cbe
9087cbe
# remove shebang
9087cbe
sed -i '1{\@^#!/usr/bin/env python@d}' xvfbwrapper.py
9087cbe
9087cbe
9087cbe
9087cbe
9087cbe
%build
9087cbe
ea0d41a
%py3_build
9087cbe
9087cbe
%install
9087cbe
ea0d41a
%py3_install
9087cbe
9087cbe
%check
9087cbe
export DISPLAY=:0.0
9087cbe
9087cbe
9087cbe
nosetests-%{python3_version}
9087cbe
9087cbe
%files -n python3-%{pypi_name}
9087cbe
%doc README.rst
9087cbe
%{python3_sitelib}/%{pypi_name}.py*
9087cbe
%{python3_sitelib}/__pycache__/%{pypi_name}.*
9087cbe
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
9087cbe
9087cbe
%changelog
62accef
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-23
62accef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
62accef
fa5fdf6
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-22
fa5fdf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
fa5fdf6
2055b37
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-21
2055b37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2055b37
40ce36e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.9-20
40ce36e
- Rebuilt for Python 3.12
40ce36e
9729638
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-19
9729638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
9729638
bb58325
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-18
bb58325
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
bb58325
2861dfd
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.9-17
2861dfd
- Rebuilt for Python 3.11
2861dfd
aacc382
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-16
aacc382
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
aacc382
3c49d71
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-15
3c49d71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3c49d71
e8049be
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.9-14
e8049be
- Rebuilt for Python 3.10
e8049be
b6edddf
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-13
b6edddf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b6edddf
e12a679
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-12
e12a679
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e12a679
b4938c6
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.9-11
b4938c6
- Rebuilt for Python 3.9
b4938c6
dd35a6c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-10
dd35a6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dd35a6c
6303c7c
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.9-9
6303c7c
- Rebuilt for Python 3.8.0rc1 (#1748018)
6303c7c
d28bc1c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.9-8
d28bc1c
- Rebuilt for Python 3.8
d28bc1c
6b98c85
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-7
6b98c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6b98c85
e873afd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-6
e873afd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e873afd
fc4a529
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.9-5
fc4a529
- Python2 binary package has been removed
fc4a529
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
fc4a529
ea0d41a
* Mon Jul 23 2018 Matthias Runge <mrunge@redhat.com> - 0.2.9-4
ea0d41a
- modernize spec
ea0d41a
- fix ftbfs (rhbz#1606005)
ea0d41a
3824eb8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-4
3824eb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3824eb8
485903f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.9-3
485903f
- Rebuilt for Python 3.7
485903f
262ddff
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
262ddff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
262ddff
56eb1de
* Wed Jan 31 2018 Matthias Runge <mrunge@redhat.com> - 0.2.9-1
56eb1de
- update to 0.2.9-1
56eb1de
69d07af
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.2.4-9
69d07af
- Update Python 2 dependency declarations to new packaging standards
69d07af
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
69d07af
1739af9
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.4-8
1739af9
- Python 2 binary package renamed to python2-xvfbwrapper
1739af9
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
1739af9
c4e75d8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7
c4e75d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4e75d8
4ed06d7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-6
4ed06d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ed06d7
3e2612a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-5
3e2612a
- Rebuild for Python 3.6
3e2612a
92df271
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-4
92df271
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
92df271
d010744
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
d010744
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d010744
9087cbe
* Tue Jul 21 2015 Matthias Runge <mrunge@redhat.com> - 0.2.4-2
9087cbe
- add py3 subpackage (rhbz#1244817)
9087cbe
9087cbe
* Mon Jul 20 2015 Matthias Runge <mrunge@redhat.com> - 0.2.4-1
9087cbe
- Initial package.