]> git.pld-linux.org Git - packages/python-pallets-sphinx-themes.git/commitdiff
- initial auto/th/python-pallets-sphinx-themes-1.1.2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 8 Nov 2018 07:46:46 +0000 (08:46 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 8 Nov 2018 07:46:46 +0000 (08:46 +0100)
python-pallets-sphinx-themes.spec [new file with mode: 0644]

diff --git a/python-pallets-sphinx-themes.spec b/python-pallets-sphinx-themes.spec
new file mode 100644 (file)
index 0000000..6a91432
--- /dev/null
@@ -0,0 +1,91 @@
+#
+# Conditional build:
+%bcond_without python2 # CPython 2.x module
+%bcond_without python3 # CPython 3.x module
+
+Summary:       Sphinx themes for Pallets Project documentation
+Summary(pl.UTF-8):     Motywy Sphinksa do dokumentacji z projektu Pallets
+Name:          python-pallets-sphinx-themes
+Version:       1.1.2
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
+Source0:       https://github.com/pallets/pallets-sphinx-themes/archive/1.1.2.tar.gz
+# Source0-md5: 71e64b740fc1afd1b3034a342d789b3d
+URL:           https://palletsprojects.com/
+%if %{with python2}
+BuildRequires: python-modules >= 1:2.7
+BuildRequires: python-setuptools
+%endif
+%if %{with python3}
+BuildRequires: python3-modules >= 1:3.4
+BuildRequires: python3-setuptools
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires:      python-modules >= 1:2.7
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains Sphinx themes for Pallets related projects.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z Pallets.
+
+%package -n python3-pallets-sphinx-themes
+Summary:       Sphinx themes for Pallets Project documentation
+Summary(pl.UTF-8):     Motywy Sphinksa do dokumentacji z projektu Pallets
+Group:         Libraries/Python
+Requires:      python3-modules >= 1:3.4
+
+%description -n python3-pallets-sphinx-themes
+This package contains Sphinx themes for Pallets related projects.
+
+%description -n python3-pallets-sphinx-themes -l pl.UTF-8
+Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z Pallets.
+
+%prep
+%setup -q -n pallets-sphinx-themes-%{version}
+
+%build
+%if %{with python2}
+%py_build
+%endif
+
+%if %{with python3}
+%py3_build
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%py_install
+
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc README.rst CHANGES.rst
+%{py_sitescriptdir}/pallets_sphinx_themes
+%{py_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
+%endif
+
+%if %{with python3}
+%files -n python3-pallets-sphinx-themes
+%defattr(644,root,root,755)
+%doc README.rst CHANGES.rst
+%{py3_sitescriptdir}/pallets_sphinx_themes
+%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
+%endif
This page took 0.149808 seconds and 4 git commands to generate.