]> git.pld-linux.org Git - packages/python-Sphinx-PyPI-upload.git/commitdiff
- Initial 0.2.1-1 auto/th/python-Sphinx-PyPI-upload-0_2_1-1
authorMateusz Korniak <matkor@pld-linux.org>
Mon, 30 Jan 2012 11:57:49 +0000 (11:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-Sphinx-PyPI-upload.spec -> 1.1

python-Sphinx-PyPI-upload.spec [new file with mode: 0644]

diff --git a/python-Sphinx-PyPI-upload.spec b/python-Sphinx-PyPI-upload.spec
new file mode 100644 (file)
index 0000000..e7b4604
--- /dev/null
@@ -0,0 +1,62 @@
+#
+# Conditional build:
+# %bcond_without       tests   # do not perform "make test"
+
+%define        module  Sphinx-PyPI-upload
+Summary:       setuptools command for uploading Sphinx documentation to PyPI
+Summary(pl.UTF-8):     komenda setuptools do publikowana dokumentacji Sphinx na PyPI
+Name:          python-%{module}
+Version:       0.2.1
+Release:       1
+License:       BSD-3
+Group:         Development/Languages/Python
+Source0:       http://pypi.python.org/packages/source/S/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: b9f1df5c8443197e4d49abbba1cfddc4
+URL:           https://bitbucket.org/jezdez/sphinx-pypi-upload/
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+# remove BR: python-devel for 'noarch' packages.
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#Requires:             python-libs
+Requires:      python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+setuptools command for uploading Sphinx documentation to PyPI
+
+%description -l pl.UTF-8
+komenda setuptools do publikowana dokumentacji Sphinx na PyPI
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+# %{?with_tests:%{__python} setup.py test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/Sphinx_PyPI_upload-*.egg-info
+%endif
This page took 0.064853 seconds and 4 git commands to generate.