python-sphinx-theme-alabaster-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. %global pypi_name alabaster
  2. %global srcname sphinx-theme-%{pypi_name}
  3. Summary: Configurable sidebar-enabled Sphinx theme
  4. Name: python-%{srcname}
  5. Version: 0.7.12
  6. Release: 4%{?_dist_release}
  7. Group: publishing
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: https://pypi.python.org/pypi/%{pypi_name}
  12. Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
  13. BuildArch: noarch
  14. BuildRequires: python-rpm-macros
  15. BuildRequires: python-devel
  16. BuildRequires: python-setuptools
  17. BuildRequires: python2-rpm-macros
  18. %{?python_provide:%python_provide python2-%{srcname}}
  19. %description
  20. This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
  21. used in his Requests project), which was itself originally based on @mitsuhiko's
  22. theme used for Flask & related projects.
  23. %package -n python3-%{srcname}
  24. Summary: Configurable sidebar-enabled Sphinx theme
  25. Group: publishing
  26. BuildArch: noarch
  27. BuildRequires: python3-devel
  28. BuildRequires: python3-setuptools
  29. BuildRequires: python3-rpm-macros
  30. %{?python_provide:%python_provide python3-%{srcname}}
  31. %description -n python3-%{srcname}
  32. This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
  33. used in his Requests project), which was itself originally based on @mitsuhiko's
  34. theme used for Flask & related projects.
  35. %prep
  36. %setup -qn %{pypi_name}-%{version}
  37. # Remove bundled eggs
  38. rm -rf %{pypi_name}.egg-info
  39. %build
  40. %py2_build
  41. %py3_build
  42. %install
  43. %py2_install
  44. %py3_install
  45. %files
  46. %license LICENSE
  47. %doc README.rst
  48. %{python2_sitelib}/%{pypi_name}-%{version}-py%{python_version}.egg-info/
  49. %{python2_sitelib}/%{pypi_name}/
  50. %files -n python%{python3_pkgversion}-%{srcname}
  51. %license LICENSE
  52. %doc README.rst
  53. %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
  54. %{python3_sitelib}/%{pypi_name}/
  55. %changelog
  56. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.7.12-4
  57. - rebuilt with python-3.8.
  58. * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.7.12-3
  59. - initial build for Vine Linux.
  60. * Sat Oct 06 2018 Julien Enselme <jujens@jujens.eu> - 0.7.12-2
  61. - Readd Python 2 subpackage
  62. * Thu Oct 04 2018 Julien Enselme <jujens@jujens.eu> - 0.7.12-1
  63. - Update to 0.7.12
  64. - Remove Python 2 subpackage
  65. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.11-5
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  67. * Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.11-4
  68. - Rebuilt for Python 3.7
  69. * Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.11-3
  70. - Rebuilt for Python 3.7
  71. * Sat Jun 30 2018 Julien Enselme <jujens@jujens.eu> - 0.7.11-2
  72. - Correct source URL
  73. * Sat Jun 30 2018 Julien Enselme <jujens@jujens.eu> - 0.7.11-1
  74. - Update to 0.7.11
  75. * Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7.9-7
  76. - Rebuilt for Python 3.7
  77. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-6
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  79. * Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.7.9-5
  80. - Update Python 2 dependency declarations to new packaging standards
  81. (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
  82. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-4
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  84. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.9-3
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  86. * Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.7.9-2
  87. - Rebuild for Python 3.6
  88. * Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 0.7.9-1
  89. - Update to 0.7.9
  90. * Fri May 13 2016 Julien Enselme <jujens@jujens.eu> - 0.7.8-1
  91. - Use %%python3_pkgversion macro for EPEL7 release
  92. * Fri May 13 2016 Julien Enselme <jujens@jujens.eu> - 0.7.8-1
  93. - Update to 0.7.8 (#1334952)
  94. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-6
  95. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  96. * Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.7.6-5
  97. - Rebuilt for python 3.5
  98. * Fri Jul 31 2015 Julien Enseme <jujens@jujens.eu> - 0.7.6-4
  99. - Use %%py2_build, %%py3build, %%py2_install and %%py2_install
  100. - Make a python2 subpackage
  101. * Thu Jul 30 2015 Julien Enselme <jujens@jujens.eu> - 0.7.6-3
  102. - Add provides for python2-sphinx-theme-alabaster
  103. - Remove usage of python2 and python3 dirs
  104. * Fri Jul 24 2015 Julien Enselme <jujens@jujens.eu> - 0.7.6-2
  105. - Remove %%py3dir macro
  106. - Add CFLAGS in %%build
  107. * Sat Jul 18 2015 Julien Enselme <jujens@jujens.eu> - 0.7.6-1
  108. - Initial packaging