python-vobject-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. %global modname vobject
  2. %global sum A python library for manipulating vCard and vCalendar files
  3. Summary: %{sum}
  4. Name: python-vobject
  5. Version: 0.9.6.1
  6. Release: 3%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: ASL 2.0
  11. URL: http://eventable.github.io/vobject/
  12. Source0: https://pypi.python.org/packages/source/v/vobject/%{modname}-%{version}.tar.gz
  13. BuildArch: noarch
  14. BuildRequires: git
  15. %description
  16. VObject is intended to be a full featured python library for parsing and
  17. generating vCard and vCalendar files.
  18. %package -n python3-%{modname}
  19. Summary: %{sum}
  20. Requires: python3-dateutil
  21. Requires: python3-setuptools
  22. BuildRequires: python3-rpm-macros
  23. BuildRequires: python3-devel
  24. BuildRequires: python3-setuptools
  25. BuildRequires: python3-dateutil
  26. %{?python_provide:%python_provide python3-%{modname}}
  27. %description -n python3-vobject
  28. VObject is intended to be a full featured python library for parsing and
  29. generating vCard and vCalendar files.
  30. %prep
  31. %autosetup -n %{modname}-%{version} -p1
  32. sed -i -e 's| == 2.4.0||' setup.py
  33. rm vobject/win32tz.py
  34. %build
  35. %pip3_build_wheel
  36. %install
  37. %pip3_install_wheel
  38. %check
  39. # Currently failing
  40. #%{__python3} setup.py test
  41. %files -n python3-%{modname}
  42. %doc README.md
  43. # ACKNOWLEDGEMENTS.txt
  44. #%license LICENSE-2.0.txt
  45. %{python3_sitelib}/%{modname}/
  46. %{python3_sitelib}/%{modname}-*
  47. %{_bindir}/change_tz
  48. %{_bindir}/ics_diff
  49. %changelog
  50. * Tue Oct 25 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.6.1-3
  51. - rebuilt with python-3.11.
  52. * Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.6.1-2
  53. - rebuilt with python-3.8.
  54. * Thu Feb 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.6.1-1
  55. - initial build for Vine Linux.
  56. - new upstream release.
  57. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4.1-3
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  59. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4.1-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  61. * Thu Jan 26 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.4.1-1
  62. - Update to 0.9.4.1
  63. * Mon Dec 26 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.3-1
  64. - Update to 0.9.3
  65. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-4
  66. - Rebuild for Python 3.6
  67. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
  68. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  69. * Thu Apr 21 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 0.9.2-2
  70. - Move the programs to the python3 subpackage so that we don't drag in python3
  71. with the python2 subpackage.
  72. * Mon Mar 14 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.2-1
  73. - Update to 0.9.2
  74. * Tue Feb 16 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-3
  75. - Remove the file ``vobject/win32tz.py`` not needed for Linux
  76. - Re-enable the unit-tests
  77. * Mon Feb 15 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-2
  78. - Bring upstream patch fixing vobject with a recent version of dateutil
  79. * Tue Feb 09 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-1
  80. - Update the spec to the latest guidelines, generating two sub-packages one
  81. for py2 and one for py3
  82. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1c-13
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  84. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-12
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  86. * Mon Feb 23 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.8.1c-11
  87. - Add patch 0001-Require-dateutil-1.5.patch enforcing the version of
  88. python-dateutils used
  89. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-10
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  91. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-9
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  93. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-8
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  95. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-7
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  97. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-6
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  99. * Wed Nov 02 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.8.1c-5
  100. - Add python-setuptools as requires since it is needed for the ics_diff script
  101. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-4
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  103. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.1c-3
  104. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  105. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-2
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  107. * Fri Apr 03 2009 James Bowes <jbowes@redhat.com> - 0.8.1c-1
  108. - Update to 0.8.1c
  109. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1b-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  111. * Sun Feb 08 2009 James Bowes <jbowes@redhat.com> - 0.8.1b-1
  112. - Update to 0.8.1b
  113. * Mon Jan 05 2009 James Bowes <jbowes@redhat.com> - 0.8.0-1
  114. - Update to 0.8.0
  115. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.1-3
  116. - Rebuild for Python 2.6
  117. * Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-2
  118. - Add change_tz executable
  119. * Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-1
  120. - Update to 0.7.1
  121. * Thu Jul 24 2008 James Bowes <jbowes@redhat.com> - 0.7.0-1
  122. - Update to 0.7.0
  123. * Wed Jun 11 2008 James Bowes <jbowes@redhat.com> - 0.6.6-1
  124. - Update to 0.6.6
  125. * Fri May 30 2008 James Bowes <jbowes@redhat.com> - 0.6.5-1
  126. - Update to 0.6.5
  127. * Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-2
  128. - Remove use of ez_setup; we already have setuptools.
  129. * Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-1
  130. - Update to 0.6.0
  131. * Thu Jan 17 2008 James Bowes <jbowes@redhat.com> - 0.5.0-1
  132. - Update to 0.5.0
  133. * Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.4.9-2
  134. - Use new egg-info guidlines for F9
  135. * Sun Dec 02 2007 James Bowes <jbowes@redhat.com> - 0.4.9-1
  136. - Update to 0.4.9
  137. * Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.4.8-1
  138. - Update to 0.4.8
  139. * Sat Dec 09 2006 James Bowes <jbowes@redhat.com> - 0.4.4-2
  140. - Add BR: python-devel
  141. * Sun Nov 26 2006 James Bowes <jbowes@redhat.com> - 0.4.4-1
  142. - New version released.
  143. * Sat Oct 07 2006 James Bowes <jbowes@redhat.com> - 0.4.3-1
  144. - New version released.
  145. * Sun Sep 10 2006 James Bowes <jbowes@redhat.com> 0.4.1-2
  146. - Stop ghosting pyo files.
  147. * Sat Aug 12 2006 James Bowes <jbowes@redhat.com> 0.4.1-1
  148. - New version released.
  149. - Handle egg info.
  150. * Thu Jun 29 2006 James Bowes <jbowes@redhat.com> 0.3.0-1
  151. - Initial packaging.