Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > cd87ca4adc44a098eb512473eea6af9f > files > 2

python-sphinx-0.4.2-1mdv2008.0.src.rpm

%define tarname Sphinx
%define name python-sphinx
%define version 0.4.2
%define release %mkrel 1

Summary: Python documentation generator
Name:	 %{name}
Version: %{version}
Release: %{release}
Source0: %{tarname}-%{version}.tar.lzma
License: BSD
Group: Development/Python
Url: http://sphinx.pocoo.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: python-pygments >= 0.8, python-jinja > 1.1, python-docutils >= 0.4
BuildRequires: python-devel, python-setuptools
BuildRequires: tetex-latex, python-docutils >= 0.4
BuildArch: noarch

%description
Sphinx is a tool that facilitates the creation of beautiful
documentation for Python projects from reStructuredText sources. It
was originally created to format the new documentation for Python, but
has since been cleaned up in the hope that it will be useful in many
other projects.

%prep
%setup -q -n %{tarname}-%{version}

%build

%install
%__rm -rf %{buildroot}
%__python setup.py install --root=%{buildroot} --record=FILELIST

make -C doc latex 
make -C doc/_build/latex all-pdf

%clean
%__rm -rf %{buildroot}

%files -f FILELIST
%defattr(-,root,root)
%doc AUTHORS CHANGES LICENSE TODO doc/_build/latex/sphinx.pdf



%changelog
* Wed Aug 06 2008 Lev Givon <lev@mandriva.org> 0.4.2-1mdv2008.0
+ Revision: 264111
- Update to 0.4.2.

* Fri Jul 11 2008 Lev Givon <lev@mandriva.org> 0.4.1-1mdv2009.0
+ Revision: 233844
- Update to 0.4.1.

* Mon Jun 23 2008 Lev Givon <lev@mandriva.org> 0.4-1mdv2009.0
+ Revision: 228282
- Update to 0.4.

* Fri May 30 2008 Lev Givon <lev@mandriva.org> 0.3-1mdv2009.0
+ Revision: 213482
- import python-sphinx


* Thu May 29 2008 Lev Givon <lev@mandriva.org> 0.3-1mdv2008.1
- Package for Mandriva.