Compare commits

...

13 Commits

Author SHA1 Message Date
Michel Alexandre Salim
8571b9bd3d Include patch for F-11 branch 2009-08-20 06:03:03 +00:00
Michel Alexandre Salim
8353038617 - Update to 0.6.2 -- upstream bugfix requested inside bz#512438 2009-08-20 05:46:16 +00:00
Jesse Keating
0fb7e12c23 Initialize branch F-11 for python-sphinx 2009-04-15 06:16:41 +00:00
Jesse Keating
0852abb4bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 23:33:07 +00:00
Michel Alexandre Salim
807d85b48f - Update to 0.5.1 2009-01-02 18:35:34 +00:00
Ignacio Vazquez-Abrams
29e36a1060 Rebuild for Python 2.6 2008-11-29 15:52:26 +00:00
Michel Alexandre Salim
7382e0c9a1 - Update to 0.5 2008-11-25 01:48:19 +00:00
Michel Alexandre Salim
35a7eb1264 - Update to 0.4.3 2008-10-10 13:34:30 +00:00
Toshio くらとみ
bf53c8fbc1 Fix for EL-5. won't hurt Fedora so propagating back to the devel branch. 2008-08-27 22:06:21 +00:00
Michel Alexandre Salim
39a4bdc0cc - Update to 0.4.2 2008-08-26 02:02:58 +00:00
Luke Macken
d8df43cb77 Fix a specfile typo 2008-07-11 00:55:15 +00:00
Michel Alexandre Salim
6deaeb9424 Package egginfo on F-8 too 2008-06-06 17:23:20 +00:00
Michel Alexandre Salim
6e4984ec59 python-sphinx-0.3 2008-06-05 19:21:49 +00:00
5 changed files with 166 additions and 0 deletions

View File

@@ -0,0 +1 @@
Sphinx-0.6.2.tar.gz

1
branch Normal file
View File

@@ -0,0 +1 @@
F-11

View File

@@ -0,0 +1,9 @@
--- setup.py.orig 2009-06-05 07:42:36.000000000 -0400
+++ setup.py 2009-06-05 07:42:40.000000000 -0400
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
-import ez_setup
-ez_setup.use_setuptools()
import os
import sys

154
python-sphinx.spec Normal file
View File

@@ -0,0 +1,154 @@
%{!?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.6.2
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
Patch0: %{name}-setuptools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel python-docutils python-jinja2 python-setuptools
Requires: python-docutils python-jinja2 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 -p0 -b .setuptools
%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
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
- Add a patch to use our own setuptools package
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
- Update to 0.6.1
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Jan 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
- Update to 0.5.1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2
- Rebuild for Python 2.6
* Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1
- Update to 0.5
* Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1
- Update to 0.4.3
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
- Fix for EL-5 build.
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
- Update to 0.4.2
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
- Update to 0.3
* Fri May 2 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.61950-3
- Split documentation into subpackage
- Exclude C files (not built by default anyway)
* Wed Apr 16 2008 José Matos <jamatos@fc.up.pt> - 0.1.61950-2
- Build html documentation, include it and include the rst
documentation.
* Thu Mar 27 2008 Michel Salim <michel.sylvan@gmail.com> 0.1.61950-1
- Initial package

View File

@@ -0,0 +1 @@
c8f79e171addc73342cc2e775dc78880 Sphinx-0.6.2.tar.gz