File epydoc.spec of Package epydoc

#
# spec file for package epydoc (Version 3.0.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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:        52
Source0:        %{name}-%{version}.tar.bz2
License:        BSD 3-clause (or similar)
Group:          Development/Tools/Doc Generators
Url:            http://epydoc.sourceforge.net/
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%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
openSUSE Build Service is sponsored by