From 174ff385c9e4a4a43475f81f189c5a7e1bcc58cc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 5 Jun 2008 16:19:15 +0000 Subject: [PATCH 01/13] Initialize branch EL-5 for python-sphinx --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 12818e8d956082e38cf1e925533e5ca89da9717d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 5 Jun 2008 19:21:09 +0000 Subject: [PATCH 02/13] python-sphinx-0.3 --- .cvsignore | 1 + python-sphinx.spec | 119 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 121 insertions(+) create mode 100644 python-sphinx.spec diff --git a/.cvsignore b/.cvsignore index e69de29..a501e9d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Sphinx-0.3.tar.gz diff --git a/python-sphinx.spec b/python-sphinx.spec new file mode 100644 index 0000000..e05cd66 --- /dev/null +++ b/python-sphinx.spec @@ -0,0 +1,119 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} + +%define upstream_name Sphinx + +Name: python-sphinx +Version: 0.3 +Release: 1%{?dist} +Summary: Python documentation generator + +Group: Development/Tools +License: BSD +URL: http://sphinx.pocoo.org/ +Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel python-docutils python-jinja python-setuptools +Requires: python-docutils python-jinja python-pygments + + +%description +Sphinx is a tool that makes it easy to create intelligent and +beautiful documentation for Python projects (or other documents +consisting of multiple reStructuredText sources), written by Georg +Brandl. It was originally created to translate the new Python +documentation, but has now been cleaned up in the hope that it will be +useful to many other projects. + +Sphinx uses reStructuredText as its markup language, and many of its +strengths come from the power and straightforwardness of +reStructuredText and its parsing and translating suite, the Docutils. + +Although it is still under constant development, the following +features are already present, work fine and can be seen "in action" in +the Python docs: + + * Output formats: HTML (including Windows HTML Help) and LaTeX, + for printable PDF versions + * Extensive cross-references: semantic markup and automatic links + for functions, classes, glossary terms and similar pieces of + information + * Hierarchical structure: easy definition of a document tree, with + automatic links to siblings, parents and children + * Automatic indices: general index as well as a module index + * Code handling: automatic highlighting using the Pygments highlighter + * Various extensions are available, e.g. for automatic testing of + snippets and inclusion of appropriately formatted docstrings. + + +%package doc +Summary: Documentation for ${name} +Group: Documentation +License: BSD +Requires: %{name} = %{version}-%{release} + + +%description doc +Sphinx is a tool that makes it easy to create intelligent and +beautiful documentation for Python projects (or other documents +consisting of multiple reStructuredText sources), written by Georg +Brandl. It was originally created to translate the new Python +documentation, but has now been cleaned up in the hope that it will be +useful to many other projects. + +This package contains documentation in rST and HTML formats + + +%prep +%setup -q -n %{upstream_name}-%{version} + + +%build +%{__python} setup.py build +cd doc +make html +mv _build/html .. +rm -rf _* + + +%install +rm -rf $RPM_BUILD_ROOT +# Fix EOL delimiters +sed -i 's|\r||g' LICENSE +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGES LICENSE README TODO +%{_bindir}/sphinx-* +%{python_sitelib}/sphinx +%if 0%{?fedora} >= 9 +%{python_sitelib}/*.egg-info +%endif + +%files doc +%defattr(-,root,root,-) +%doc doc html + + +%changelog +* Mon May 26 2008 Michel Salim - 0.3-1 +- Update to 0.3 + +* Fri May 2 2008 Michel Salim - 0.1.61950-3 +- Split documentation into subpackage +- Exclude C files (not built by default anyway) + +* Wed Apr 16 2008 José Matos - 0.1.61950-2 +- Build html documentation, include it and include the rst + documentation. + +* Thu Mar 27 2008 Michel Salim 0.1.61950-1 +- Initial package diff --git a/sources b/sources index e69de29..4325461 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +98550d222aec91a029c0921819c4c49f Sphinx-0.3.tar.gz From 23ea5ec2666d584e55036d2793481fc9776720c5 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 6 Jun 2008 17:22:26 +0000 Subject: [PATCH 03/13] Package egginfo on F-8 too --- python-sphinx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index e05cd66..b1c479b 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -94,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS CHANGES LICENSE README TODO %{_bindir}/sphinx-* %{python_sitelib}/sphinx -%if 0%{?fedora} >= 9 +%if 0%{?fedora} >= 8 %{python_sitelib}/*.egg-info %endif From 63cb85232a873bf547e436e150bc789fe20f4eb2 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 26 Aug 2008 02:02:58 +0000 Subject: [PATCH 04/13] - Update to 0.4.2 --- .cvsignore | 2 +- python-sphinx.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index a501e9d..e6666b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Sphinx-0.3.tar.gz +Sphinx-0.4.2.tar.gz diff --git a/python-sphinx.spec b/python-sphinx.spec index b1c479b..242e9f2 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -4,7 +4,7 @@ %define upstream_name Sphinx Name: python-sphinx -Version: 0.3 +Version: 0.4.2 Release: 1%{?dist} Summary: Python documentation generator @@ -49,7 +49,7 @@ the Python docs: %package doc -Summary: Documentation for ${name} +Summary: Documentation for %{name} Group: Documentation License: BSD Requires: %{name} = %{version}-%{release} @@ -104,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 25 2008 Michel Salim - 0.4.2-1 +- Update to 0.4.2 + * Mon May 26 2008 Michel Salim - 0.3-1 - Update to 0.3 diff --git a/sources b/sources index 4325461..2b6a469 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -98550d222aec91a029c0921819c4c49f Sphinx-0.3.tar.gz +5fb591961e1d834f726b3e5d29bec924 Sphinx-0.4.2.tar.gz From 4c83e0bc758031005be37a8f738ff69a2e8e7102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Wed, 27 Aug 2008 21:47:55 +0000 Subject: [PATCH 05/13] - Fix for EL-5 build. --- python-sphinx.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 242e9f2..e7eb4d1 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -5,7 +5,7 @@ Name: python-sphinx Version: 0.4.2 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: Python documentation generator Group: Development/Tools @@ -94,9 +94,7 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS CHANGES LICENSE README TODO %{_bindir}/sphinx-* %{python_sitelib}/sphinx -%if 0%{?fedora} >= 8 %{python_sitelib}/*.egg-info -%endif %files doc %defattr(-,root,root,-) @@ -104,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 27 2008 Toshio Kuratomi - 0.4.2-1.1 +- Fix for EL-5 build. + * Mon Aug 25 2008 Michel Salim - 0.4.2-1 - Update to 0.4.2 From d7d83978221725f1ad35fafe645d0306ceecffa8 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 10 Oct 2008 13:34:29 +0000 Subject: [PATCH 06/13] - Update to 0.4.3 --- .cvsignore | 2 +- python-sphinx.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index e6666b5..dcc065b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Sphinx-0.4.2.tar.gz +Sphinx-0.4.3.tar.gz diff --git a/python-sphinx.spec b/python-sphinx.spec index e7eb4d1..bf58db7 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -4,8 +4,8 @@ %define upstream_name Sphinx Name: python-sphinx -Version: 0.4.2 -Release: 1%{?dist}.1 +Version: 0.4.3 +Release: 1%{?dist} Summary: Python documentation generator Group: Development/Tools @@ -102,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 10 2008 Michel Salim - 0.4.3-1 +- Update to 0.4.3 + * Wed Aug 27 2008 Toshio Kuratomi - 0.4.2-1.1 - Fix for EL-5 build. diff --git a/sources b/sources index 2b6a469..4507bc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5fb591961e1d834f726b3e5d29bec924 Sphinx-0.4.2.tar.gz +b3c17f1b5be0b76c373a2474488f1662 Sphinx-0.4.3.tar.gz From 81a7a278cece18c0fd05048d34f31d94e70a5600 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 13 Mar 2009 02:15:41 +0000 Subject: [PATCH 07/13] Push sphinx update to EL-5 --- python-sphinx.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index bf58db7..9cdd9fc 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -4,7 +4,7 @@ %define upstream_name Sphinx Name: python-sphinx -Version: 0.4.3 +Version: 0.5.1 Release: 1%{?dist} Summary: Python documentation generator @@ -84,12 +84,17 @@ rm -rf $RPM_BUILD_ROOT sed -i 's|\r||g' LICENSE %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +# Language files; not under /usr/share, need to be handled manually +(cd $RPM_BUILD_ROOT && find . -name 'sphinx.mo') | sed -e 's|^.||' | sed -e \ + 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \ + >> %{name}.lang + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE README TODO %{_bindir}/sphinx-* @@ -102,6 +107,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jan 2 2009 Michel Salim - 0.5.1-1 +- Update to 0.5.1 + +* Mon Nov 24 2008 Michel Salim - 0.5-1 +- Update to 0.5 + * Fri Oct 10 2008 Michel Salim - 0.4.3-1 - Update to 0.4.3 From 01514ec446a8a548fb45d99a92d852c1487586fe Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 13 Mar 2009 02:22:13 +0000 Subject: [PATCH 08/13] EL-5: update source as well --- .cvsignore | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index dcc065b..1bf367a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Sphinx-0.4.3.tar.gz +Sphinx-0.5.1.tar.gz diff --git a/sources b/sources index 4507bc8..f90f6b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b3c17f1b5be0b76c373a2474488f1662 Sphinx-0.4.3.tar.gz +11456e362d75c1a4c5a5847921d3f4c7 Sphinx-0.5.1.tar.gz From b503cc3e54d74ff95e5bab7a3ab5b87bba7045c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Sun, 15 Mar 2009 06:35:06 +0000 Subject: [PATCH 09/13] - Patch to remove extraneous setuptools version dep from build. --- python-sphinx-no-ez_setup.patch | 12 ++++++++++++ python-sphinx.spec | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 python-sphinx-no-ez_setup.patch diff --git a/python-sphinx-no-ez_setup.patch b/python-sphinx-no-ez_setup.patch new file mode 100644 index 0000000..1af7d8a --- /dev/null +++ b/python-sphinx-no-ez_setup.patch @@ -0,0 +1,12 @@ +Index: Sphinx-0.5.1/setup.py +=================================================================== +--- Sphinx-0.5.1.orig/setup.py ++++ Sphinx-0.5.1/setup.py +@@ -1,7 +1,4 @@ + # -*- coding: utf-8 -*- +-import ez_setup +-ez_setup.use_setuptools() +- + import os + import sys + from setuptools import setup, find_packages diff --git a/python-sphinx.spec b/python-sphinx.spec index 9cdd9fc..3e8369f 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -5,13 +5,16 @@ Name: python-sphinx Version: 0.5.1 -Release: 1%{?dist} -Summary: Python documentation generator +Release: 2%{?dist} +Summary: Python documentation generator:wq + Group: Development/Tools License: BSD URL: http://sphinx.pocoo.org/ Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +# Remove need for a spcific version of seutptools +Patch0: python-sphinx-no-ez_setup.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -68,7 +71,7 @@ This package contains documentation in rST and HTML formats %prep %setup -q -n %{upstream_name}-%{version} - +%patch0 -p1 %build %{__python} setup.py build @@ -107,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Mar 14 2009 Toshio Kuratomi - 0.5.1-2 +- Patch to remove extraneous setuptools version dep from build. + * Fri Jan 2 2009 Michel Salim - 0.5.1-1 - Update to 0.5.1 From 0a6fb97b1d754c53d13daf4d1e6920c1f83e5fa1 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:55:27 +0000 Subject: [PATCH 10/13] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b609317..be369c3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := python-sphinx SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 74c5a59e0d88ea0c0b3667bbc8afb946742ff772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Fri, 11 Jun 2010 22:42:00 +0000 Subject: [PATCH 11/13] Fix typo in description --- python-sphinx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 3e8369f..8779120 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -6,7 +6,7 @@ Name: python-sphinx Version: 0.5.1 Release: 2%{?dist} -Summary: Python documentation generator:wq +Summary: Python documentation generator Group: Development/Tools From 69f4ff549f4a291848b68e6f8c69386e09d54883 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 10:43:43 +0000 Subject: [PATCH 12/13] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index be369c3..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: python-sphinx -# $Id$ -NAME := python-sphinx -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 From b7f97d8e0ccc4925357d129fbfaf7135911e8a16 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sat, 14 Mar 2015 09:43:24 +0100 Subject: [PATCH 13/13] 2015-03-14: Retired bacause of broken deps: unresolved dependencies for python-sphinx-0.4.2-1.el5.1.noarch: python-pygments --- .gitignore | 1 - dead.package | 4 + python-sphinx-no-ez_setup.patch | 12 --- python-sphinx.spec | 143 -------------------------------- sources | 1 - 5 files changed, 4 insertions(+), 157 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-sphinx-no-ez_setup.patch delete mode 100644 python-sphinx.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1bf367a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -Sphinx-0.5.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..16f5aca --- /dev/null +++ b/dead.package @@ -0,0 +1,4 @@ +2015-03-14: Retired bacause of broken deps: +unresolved dependencies for python-sphinx-0.4.2-1.el5.1.noarch: +python-pygments + diff --git a/python-sphinx-no-ez_setup.patch b/python-sphinx-no-ez_setup.patch deleted file mode 100644 index 1af7d8a..0000000 --- a/python-sphinx-no-ez_setup.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: Sphinx-0.5.1/setup.py -=================================================================== ---- Sphinx-0.5.1.orig/setup.py -+++ Sphinx-0.5.1/setup.py -@@ -1,7 +1,4 @@ - # -*- coding: utf-8 -*- --import ez_setup --ez_setup.use_setuptools() -- - import os - import sys - from setuptools import setup, find_packages diff --git a/python-sphinx.spec b/python-sphinx.spec deleted file mode 100644 index 8779120..0000000 --- a/python-sphinx.spec +++ /dev/null @@ -1,143 +0,0 @@ -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")} - -%define upstream_name Sphinx - -Name: python-sphinx -Version: 0.5.1 -Release: 2%{?dist} -Summary: Python documentation generator - - -Group: Development/Tools -License: BSD -URL: http://sphinx.pocoo.org/ -Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz -# Remove need for a spcific version of seutptools -Patch0: python-sphinx-no-ez_setup.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: python-devel python-docutils python-jinja python-setuptools -Requires: python-docutils python-jinja python-pygments - - -%description -Sphinx is a tool that makes it easy to create intelligent and -beautiful documentation for Python projects (or other documents -consisting of multiple reStructuredText sources), written by Georg -Brandl. It was originally created to translate the new Python -documentation, but has now been cleaned up in the hope that it will be -useful to many other projects. - -Sphinx uses reStructuredText as its markup language, and many of its -strengths come from the power and straightforwardness of -reStructuredText and its parsing and translating suite, the Docutils. - -Although it is still under constant development, the following -features are already present, work fine and can be seen "in action" in -the Python docs: - - * Output formats: HTML (including Windows HTML Help) and LaTeX, - for printable PDF versions - * Extensive cross-references: semantic markup and automatic links - for functions, classes, glossary terms and similar pieces of - information - * Hierarchical structure: easy definition of a document tree, with - automatic links to siblings, parents and children - * Automatic indices: general index as well as a module index - * Code handling: automatic highlighting using the Pygments highlighter - * Various extensions are available, e.g. for automatic testing of - snippets and inclusion of appropriately formatted docstrings. - - -%package doc -Summary: Documentation for %{name} -Group: Documentation -License: BSD -Requires: %{name} = %{version}-%{release} - - -%description doc -Sphinx is a tool that makes it easy to create intelligent and -beautiful documentation for Python projects (or other documents -consisting of multiple reStructuredText sources), written by Georg -Brandl. It was originally created to translate the new Python -documentation, but has now been cleaned up in the hope that it will be -useful to many other projects. - -This package contains documentation in rST and HTML formats - - -%prep -%setup -q -n %{upstream_name}-%{version} -%patch0 -p1 - -%build -%{__python} setup.py build -cd doc -make html -mv _build/html .. -rm -rf _* - - -%install -rm -rf $RPM_BUILD_ROOT -# Fix EOL delimiters -sed -i 's|\r||g' LICENSE -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT - -# Language files; not under /usr/share, need to be handled manually -(cd $RPM_BUILD_ROOT && find . -name 'sphinx.mo') | sed -e 's|^.||' | sed -e \ - 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \ - >> %{name}.lang - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE README TODO -%{_bindir}/sphinx-* -%{python_sitelib}/sphinx -%{python_sitelib}/*.egg-info - -%files doc -%defattr(-,root,root,-) -%doc doc html - - -%changelog -* Sat Mar 14 2009 Toshio Kuratomi - 0.5.1-2 -- Patch to remove extraneous setuptools version dep from build. - -* Fri Jan 2 2009 Michel Salim - 0.5.1-1 -- Update to 0.5.1 - -* Mon Nov 24 2008 Michel Salim - 0.5-1 -- Update to 0.5 - -* Fri Oct 10 2008 Michel Salim - 0.4.3-1 -- Update to 0.4.3 - -* Wed Aug 27 2008 Toshio Kuratomi - 0.4.2-1.1 -- Fix for EL-5 build. - -* Mon Aug 25 2008 Michel Salim - 0.4.2-1 -- Update to 0.4.2 - -* Mon May 26 2008 Michel Salim - 0.3-1 -- Update to 0.3 - -* Fri May 2 2008 Michel Salim - 0.1.61950-3 -- Split documentation into subpackage -- Exclude C files (not built by default anyway) - -* Wed Apr 16 2008 José Matos - 0.1.61950-2 -- Build html documentation, include it and include the rst - documentation. - -* Thu Mar 27 2008 Michel Salim 0.1.61950-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index f90f6b5..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -11456e362d75c1a4c5a5847921d3f4c7 Sphinx-0.5.1.tar.gz