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

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