Group :: Development/Python
RPM: python-module-epydoc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 3.0alpha2
%define release alt1
%setup_python_module epydoc
%define pythondir python%__python_version
Summary: Edward Loper's API Documentation Generation Tool
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %modulename-%{version}.tar.gz
License: MIT
Group: Development/Python
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Edward Loper <edloper at gradient.cis.upenn.edu>
Url: http://epydoc.sourceforge.net
%description
Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. For an example of epydoc's output, see the API documentation for epydoc itself (html, pdf). A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.
%prep
%setup -q -n %{modulename}-%{version}
%build
python setup.py build
%install
python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%__mkdir_p %buildroot/%_mandir/man1/
%__install man/*.1 %buildroot/%_mandir/man1/
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%_mandir/man1/*
%changelog
…
Full changelog you can see here
%define release alt1
%setup_python_module epydoc
%define pythondir python%__python_version
Summary: Edward Loper's API Documentation Generation Tool
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %modulename-%{version}.tar.gz
License: MIT
Group: Development/Python
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Edward Loper <edloper at gradient.cis.upenn.edu>
Url: http://epydoc.sourceforge.net
%description
Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. For an example of epydoc's output, see the API documentation for epydoc itself (html, pdf). A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.
%prep
%setup -q -n %{modulename}-%{version}
%build
python setup.py build
%install
python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%__mkdir_p %buildroot/%_mandir/man1/
%__install man/*.1 %buildroot/%_mandir/man1/
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%_mandir/man1/*
%changelog
…
Full changelog you can see here