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