[packages/python-pallets-sphinx-themes] - initial
arekm
arekm at pld-linux.org
Thu Nov 8 08:48:52 CET 2018
commit 8cf3d6fcbd597af85172708a5c640f3b2d53531b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 8 08:46:46 2018 +0100
- initial
python-pallets-sphinx-themes.spec | 91 +++++++++++++++++++++++++++++++++++++++
1 file changed, 91 insertions(+)
---
diff --git a/python-pallets-sphinx-themes.spec b/python-pallets-sphinx-themes.spec
new file mode 100644
index 0000000..6a91432
--- /dev/null
+++ b/python-pallets-sphinx-themes.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pallets-sphinx-themes.git/commitdiff/8cf3d6fcbd597af85172708a5c640f3b2d53531b
More information about the pld-cvs-commit
mailing list