python-dbusmock-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. %global modname dbusmock
  2. Summary: Mock D-Bus objects
  3. Name: python-%{modname}
  4. Version: 0.18.3
  5. Release: 6%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv3+
  9. URL: https://pypi.python.org/pypi/python-dbusmock
  10. Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
  11. # From https://github.com/martinpitt/python-dbusmock/pull/54
  12. Patch0: 0001-Add-mock-server-for-low-memory-monitor.patch
  13. BuildArch: noarch
  14. BuildRequires: git
  15. BuildRequires: dbus-python3
  16. BuildRequires: python3-devel
  17. BuildRequires: python3-rpm-macros
  18. BuildRequires: python3-setuptools
  19. BuildRequires: python3-nose
  20. BuildRequires: python3-pygobject
  21. BuildRequires: dbus-x11
  22. BuildRequires: upower
  23. %global _description\
  24. With this program/Python library you can easily create mock objects on\
  25. D-Bus. This is useful for writing tests for software which talks to\
  26. D-Bus services such as upower, systemd, ConsoleKit, gnome-session or\
  27. others, and it is hard (or impossible without root privileges) to set\
  28. the state of the real services to what you expect in your tests.
  29. %description %_description
  30. %package -n python3-dbusmock
  31. Summary: %summary (Python3)
  32. Requires: dbus-python3, python3-pygobject, dbus-x11
  33. %description -n python3-dbusmock %_description
  34. %prep
  35. %autosetup -n %{name}-%{version} -S git
  36. rm -rf python-%{modname}.egg-info
  37. %build
  38. %py3_build
  39. %install
  40. %py3_install
  41. #check
  42. # Tests are disabled for now
  43. #{__python3} setup.py test
  44. %files -n python3-dbusmock
  45. %license COPYING
  46. %doc README.rst
  47. %{python3_sitelib}/*%{modname}*
  48. %changelog
  49. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.18.3-6
  50. - initial build for Vine Linux.
  51. * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  53. * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.18.3-4
  54. - Rebuilt for Python 3.9
  55. * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-3
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  57. * Fri Nov 15 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-2
  58. + python-dbusmock-0.18.3-2
  59. - Add low-memory-monitor mock
  60. * Thu Nov 14 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-1
  61. + python-dbusmock-0.18.3-1
  62. - Update to 0.18.3
  63. - Enable tests
  64. * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-11
  65. - Rebuilt for Python 3.8.0rc1 (#1748018)
  66. * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-10
  67. - Rebuilt for Python 3.8
  68. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-9
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  70. * Tue Jul 23 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-8
  71. - Subpackage python2-dbusmock has been removed
  72. See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
  73. * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-7
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  75. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-6
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  77. * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17-5
  78. - Rebuilt for Python 3.7
  79. * Fri Mar 30 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-4
  80. + python-dbusmock-0.17-4
  81. - Patch from Benjamin Berg to correct the python3 subpackage deps
  82. and summary
  83. * Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-3
  84. - Update Python 2 dependency declarations to new packaging standards
  85. (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
  86. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  88. * Fri Jan 19 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-1
  89. - Update to 0.17
  90. - Update source URL
  91. * Tue Oct 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.9-1
  92. + python--0.16.9-1
  93. - Update to 0.16.9
  94. * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.16.7-4
  95. - Python 2 binary package renamed to python2-dbusmock
  96. See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
  97. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-3
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  99. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-2
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  101. * Tue Jan 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.7-1
  102. + python-dbusmock-0.16.7-1
  103. - Update to 0.16.7
  104. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-6
  105. - Rebuild for Python 3.6
  106. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-5
  107. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  108. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-4
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  110. * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-3
  111. - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
  112. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  114. * Fri Aug 08 2014 Matěj Cepl <mcepl@redhat.com> - 0.11.1-1
  115. - Update to 0.11.1
  116. * Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-2
  117. - Add Python3 sub-package
  118. * Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-1
  119. - Update to 0.10.3
  120. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  122. * Tue Nov 12 2013 Bastien Nocera <bnocera@redhat.com> 0.8.1-1
  123. - Update to 0.8.1
  124. * Fri Nov 08 2013 Bastien Nocera <bnocera@redhat.com> 0.8-1
  125. - Update to 0.8
  126. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  128. * Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.3-1
  129. - Update to 0.6.3
  130. * Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.2-1
  131. - Update to 0.6.2
  132. * Wed Jun 12 2013 Bastien Nocera <bnocera@redhat.com> 0.6-1
  133. - Update to 0.6.0
  134. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
  135. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  136. * Mon Jan 21 2013 Bastien Nocera <bnocera@redhat.com> 0.4.0-1
  137. - Update to 0.4.0
  138. * Mon Jan 07 2013 Bastien Nocera <bnocera@redhat.com> 0.3.1-1
  139. - Update to 0.3.1
  140. * Wed Dec 19 2012 Matěj Cepl <mcepl@redhat.com> - 0.3-1
  141. - New upstream release.
  142. * Mon Oct 08 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-2
  143. - remove the bundled egg-info following the package review.
  144. * Fri Oct 05 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-1
  145. - This version should actually work
  146. * Tue Oct 02 2012 Matěj Cepl <mcepl@redhat.com> 0.0.3-1
  147. - initial package for Fedora