|
|
|
|
@@ -4,20 +4,19 @@
|
|
|
|
|
%define upstream_name Sphinx
|
|
|
|
|
|
|
|
|
|
Name: python-sphinx
|
|
|
|
|
Version: 0.6.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 0.4.2
|
|
|
|
|
Release: 1%{?dist}.1
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: python-devel python-docutils python-jinja python-setuptools
|
|
|
|
|
Requires: python-docutils python-jinja python-pygments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
@@ -69,7 +68,6 @@ This package contains documentation in rST and HTML formats
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{upstream_name}-%{version}
|
|
|
|
|
%patch0 -p0 -b .setuptools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -86,17 +84,12 @@ 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 -f %{name}.lang
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS CHANGES LICENSE README TODO
|
|
|
|
|
%{_bindir}/sphinx-*
|
|
|
|
|
@@ -109,36 +102,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
|
|
|
|
|
- Fix for EL-5 build.
|
|
|
|
|
|
|
|
|
|
|