From 64aa1576fdad119f718eb0dbfd4b764a4f4848fa Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 4 Jan 2021 16:38:27 -0700 Subject: [PATCH] Version 0.5.1. Do not list language files twice. --- python-sphinx_rtd_theme-unbundle-fonts.patch | 16 +++++----- python-sphinx_rtd_theme.spec | 31 ++++++++++++++++---- sources | 4 +-- 3 files changed, 36 insertions(+), 15 deletions(-) diff --git a/python-sphinx_rtd_theme-unbundle-fonts.patch b/python-sphinx_rtd_theme-unbundle-fonts.patch index 620cf94..4cb71df 100644 --- a/python-sphinx_rtd_theme-unbundle-fonts.patch +++ b/python-sphinx_rtd_theme-unbundle-fonts.patch @@ -1,7 +1,7 @@ ---- MANIFEST.in.orig 2020-06-17 09:58:25.000000000 -0600 -+++ MANIFEST.in 2020-12-10 08:57:51.548749289 -0700 -@@ -3,13 +3,8 @@ include babel.cfg - include LICENSE +--- MANIFEST.in.orig 2021-01-04 15:13:31.000000000 -0700 ++++ MANIFEST.in 2021-01-04 16:21:38.547029407 -0700 +@@ -4,13 +4,8 @@ include LICENSE + include bin/preinstall.js recursive-include sphinx_rtd_theme *.conf recursive-include sphinx_rtd_theme *.css -recursive-include sphinx_rtd_theme *.eot @@ -14,14 +14,14 @@ recursive-include sphinx_rtd_theme/locale *.pot *.po *.mo recursive-include tests *.py recursive-include tests *.rst ---- sphinx_rtd_theme/static/css/badge_only.css.orig 2020-06-17 09:58:25.000000000 -0600 -+++ sphinx_rtd_theme/static/css/badge_only.css 2020-12-10 08:47:44.069907546 -0700 +--- sphinx_rtd_theme/static/css/badge_only.css.orig 2021-01-04 15:13:31.000000000 -0700 ++++ sphinx_rtd_theme/static/css/badge_only.css 2021-01-04 16:21:38.547029407 -0700 @@ -1 +1 @@ -.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#FontAwesome) format("svg")}.fa:before{font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1}.fa:before,a .fa{text-decoration:inherit}.fa:before,a .fa,li .fa{display:inline-block}li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before,.icon-book:before{content:"\f02d"}.fa-caret-down:before,.icon-caret-down:before{content:"\f0d7"}.fa-caret-up:before,.icon-caret-up:before{content:"\f0d8"}.fa-caret-left:before,.icon-caret-left:before{content:"\f0d9"}.fa-caret-right:before,.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60}.rst-versions .rst-current-version:after{clear:both;content:"";display:block}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}} \ No newline at end of file +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;src:local("fontawesome/FontAwesome") format("truetype")}.fa:before{font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1}.fa:before,a .fa{text-decoration:inherit}.fa:before,a .fa,li .fa{display:inline-block}li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before,.icon-book:before{content:"\f02d"}.fa-caret-down:before,.icon-caret-down:before{content:"\f0d7"}.fa-caret-up:before,.icon-caret-up:before{content:"\f0d8"}.fa-caret-left:before,.icon-caret-left:before{content:"\f0d9"}.fa-caret-right:before,.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60}.rst-versions .rst-current-version:after{clear:both;content:"";display:block}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}} ---- sphinx_rtd_theme/static/css/theme.css.orig 2020-06-17 09:58:25.000000000 -0600 -+++ sphinx_rtd_theme/static/css/theme.css 2020-12-10 08:56:23.565914803 -0700 +--- sphinx_rtd_theme/static/css/theme.css.orig 2021-01-04 15:13:31.000000000 -0700 ++++ sphinx_rtd_theme/static/css/theme.css 2021-01-04 16:21:38.552029396 -0700 @@ -1,4 +1,4 @@ html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden],audio:not([controls]){display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;text-decoration:none}ins,mark{color:#000}mark{background:#ff0;font-style:italic;font-weight:700}.rst-content code,.rst-content tt,code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,ol,ul{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure,form{margin:0}label{cursor:pointer}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}.rst-content .toctree-wrapper>p.caption,h2,h3,p{orphans:3;widows:3}.rst-content .toctree-wrapper>p.caption,h2,h3{page-break-after:avoid}}.btn,.fa:before,.icon:before,.rst-content .admonition,.rst-content .admonition-title:before,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .code-block-caption .headerlink:before,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-alert,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a,.wy-menu-vertical li.current>a span.toctree-expand:before,.wy-menu-vertical li.on a,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li span.toctree-expand:before,.wy-nav-top a,.wy-side-nav-search .wy-dropdown>a,.wy-side-nav-search>a,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}/*! * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index 5c7e7c0..358cc05 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -4,7 +4,7 @@ %bcond_with bootstrap Name: python-%{srcname} -Version: 0.5.0 +Version: 0.5.1 Release: 1%{?dist} Summary: Sphinx theme for readthedocs.org @@ -103,17 +103,34 @@ rm docs/build/html/.buildinfo # Unbundle fonts rm -fr %{buildroot}%{python3_sitelib}/%{srcname}/static/css/fonts -%find_lang sphinx - %if %{without bootstrap} %check pytest %endif -%files -n python%{python3_pkgversion}-%{srcname} -f sphinx.lang +%files -n python%{python3_pkgversion}-%{srcname} %doc README.html %license LICENSE -%{python3_sitelib}/%{srcname}* +%{python3_sitelib}/%{srcname}-*.egg-info/ +%dir %{python3_sitelib}/%{srcname}/ +%{python3_sitelib}/%{srcname}/__pycache__/ +%{python3_sitelib}/%{srcname}/static/ +%{python3_sitelib}/%{srcname}/*.html +%{python3_sitelib}/%{srcname}/*.py +%{python3_sitelib}/%{srcname}/theme.conf +%dir %{python3_sitelib}/%{srcname}/locale/ +%{python3_sitelib}/%{srcname}/locale/sphinx.pot +%lang(de) %{python3_sitelib}/%{srcname}/locale/de/ +%lang(en) %{python3_sitelib}/%{srcname}/locale/en/ +%lang(es) %{python3_sitelib}/%{srcname}/locale/es/ +%lang(et) %{python3_sitelib}/%{srcname}/locale/et/ +%lang(fr) %{python3_sitelib}/%{srcname}/locale/fr/ +%lang(nl) %{python3_sitelib}/%{srcname}/locale/nl/ +%lang(pt) %{python3_sitelib}/%{srcname}/locale/pt_BR/ +%lang(ru) %{python3_sitelib}/%{srcname}/locale/ru/ +%lang(sv) %{python3_sitelib}/%{srcname}/locale/sv/ +%lang(tr) %{python3_sitelib}/%{srcname}/locale/tr/ +%lang(zh) %{python3_sitelib}/%{srcname}/locale/zh_CN/ %if %{without bootstrap} %files doc @@ -122,6 +139,10 @@ pytest %endif %changelog +* Mon Jan 4 2021 Jerry James - 0.5.1-1 +- Version 0.5.1 +- Do not list language files twice + * Thu Dec 10 2020 Jerry James - 0.5.0-1 - Version 0.5.0 - Drop upstreamed -script patch diff --git a/sources b/sources index 8319d6d..bf85ff5 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (sphinx_rtd_theme-0.5.0.tar.gz) = e5d3f653649f10bcbb953fa18fe79f2b8663da205cc6c6d4ee702789b86de19ac525065b214e3e419e0a34feda35e54b3abd5e82b2a5e657821675125dc9dfdc -SHA512 (objects.inv) = 2a6b9ccf97dccc43e448ab7744335dd3a7103de9505c17d809219aeab85177d910f91cb53909198f1f3b2676d4168f0784ab8235047603f11aa36c5488bd4c5c +SHA512 (sphinx_rtd_theme-0.5.1.tar.gz) = d384baa9c6d2757ada0ddb91f2a952e86e5af925ea175d88bb9e7268ed075710d34898e21ea50a9be9460738bf5a8b1c31e47a04423b38a26d7b405fad72f50d +SHA512 (objects.inv) = dc446317cc8cf1bc5cf9d5edd5647053ab2d917735036b0c59c13883d9de704a56584345ef0e35d68378fbd6575f59d1c48047d1376d61cd7c2e475562ad6a16