File python-happydoc.spec of Package python-happydoc

%define modname happydoc
Name:           python-%{modname}
Version:        3.1
Release:        3
Summary:        Extract documentation from python projects
URL:            http://happydoc.sourceforge.net
License:        BSD License
Group:          Development/Languages/Python
Source:         HappyDoc_r3_1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires:  python-devel

%description
HappyDoc is a tool for extracting documentation from Python source code. It
differs from other such applications by the fact that it uses the parse tree
for a module to derive the information used in its output, rather that
importing the module directly. This allows the user to generate documentation
for modules which need special context to be imported.

Authors:
--------
    Doug Hellmann <doughellmann@users.sourceforge.net>
    wrobell <wrobell@users.sourceforge.net>

%prep
%setup -q -n HappyDoc3-r3_1

%install
rm -rf %{buildroot}
install -d $RPM_BUILD_ROOT%{py_sitedir}
cp -av happydoclib $RPM_BUILD_ROOT%{py_sitedir}
%py_compile $RPM_BUILD_ROOT%{py_sitedir}/happydoclib
install -D -m 0755 happydoc $RPM_BUILD_ROOT/usr/bin/happydoc

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc LICENSE.txt README.txt TODO USERS.txt
%{py_sitedir}/happydoclib
/usr/bin/happydoc

%changelog
* Thu Jan 19 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net> - 3.1
- update version
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 3.0-3
- Build under buildservice

* Tue Oct 25 2005 - James Oakley <jfunk@funktronics.ca> - 3.0-ft.2
- Build for SL10

* Tue Mar 01 2005 - James Oakley <jfunk@funktronics.ca> - 3.0-ft.1
- Build for SL92

* Tue Nov 04 2003 - James Oakley <jfunk@funktronics.ca> - 3.0-2
- Build for SUSE 9.0

* Wed Jun 04 2003 - James Oakley <jfunk@funktronics.ca> - 3.0-1
- Update
openSUSE Build Service is sponsored by