Compare commits
10 Commits
f10
...
python-sph
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f33b9fe61 | ||
|
|
20fdada602 | ||
|
|
24df39f7cd | ||
|
|
8571b9bd3d | ||
|
|
8353038617 | ||
|
|
0fb7e12c23 | ||
|
|
0852abb4bd | ||
|
|
807d85b48f | ||
|
|
29e36a1060 | ||
|
|
7382e0c9a1 |
@@ -1 +1 @@
|
||||
Sphinx-0.4.3.tar.gz
|
||||
Sphinx-0.6.4.tar.gz
|
||||
|
||||
2
Makefile
2
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))
|
||||
|
||||
9
python-sphinx-setuptools.patch
Normal file
9
python-sphinx-setuptools.patch
Normal 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
|
||||
@@ -4,7 +4,7 @@
|
||||
%define upstream_name Sphinx
|
||||
|
||||
Name: python-sphinx
|
||||
Version: 0.4.3
|
||||
Version: 0.6.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Python documentation generator
|
||||
|
||||
@@ -12,11 +12,12 @@ 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-jinja python-setuptools
|
||||
Requires: python-docutils python-jinja python-pygments
|
||||
BuildRequires: python-devel python-docutils python-jinja2 python-setuptools
|
||||
Requires: python-docutils python-jinja2 python-pygments
|
||||
|
||||
|
||||
%description
|
||||
@@ -68,6 +69,7 @@ This package contains documentation in rST and HTML formats
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upstream_name}-%{version}
|
||||
%patch0 -p0 -b .setuptools
|
||||
|
||||
|
||||
%build
|
||||
@@ -84,12 +86,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 +109,37 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
|
||||
- Update to 0.6.4
|
||||
- Fixes a problem using autodoc with pylons projects.
|
||||
|
||||
* Fri Sep 4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1
|
||||
- Update to 0.6.3
|
||||
|
||||
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
|
||||
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user