File epydoc.spec of Package epydoc
#
# spec file for package epydoc (Version 3.0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: epydoc
BuildRequires: fdupes python-devel
Summary: Tool for Generating Python API Documentation
Version: 3.0.1
Release: 1
Source0: %{name}-%{version}.tar.bz2
License: BSD 3-Clause
Group: Development/Tools/Doc Generators
Url: http://epydoc.sourceforge.net/
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
Epydoc is a tool for generating API documentation for Python modules
based on their documentation strings (docstrings). A lightweight markup
language, called epytext ,can be used to format docstrings and add
information about specific fields, such as parameters and instance
variables. Epydoc also understands docstrings written in
ReStructuredText, Javadoc, and plain text.
Authors:
--------
Edward Loper <edloper@gradient.cis.upenn.edu>
%prep
%setup
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%fdupes $RPM_BUILD_ROOT/%{_sharedir}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc/* LICENSE.txt README.txt
%changelog
* Sat Mar 22 2008 matejcik@suse.cz
- update to 3.0.1
* support for parsing sourcecode, in addition to introspection
* docstrings for variables
* ability to generate graphs & diagrams
* syntax highlighted source code
* according to the docs, version 3 is fully backwards compatible
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 08 2004 mcihar@suse.cz
- initial packaging