python-dbusmock-vl.spec 7.0 KB

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