]> git.pld-linux.org Git - packages/epydoc.git/commitdiff
- based on python-logging.spec
authorwrobell <wrobell@pld-linux.org>
Mon, 25 Aug 2003 15:23:29 +0000 (15:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    epydoc.spec -> 1.1

epydoc.spec [new file with mode: 0644]

diff --git a/epydoc.spec b/epydoc.spec
new file mode 100644 (file)
index 0000000..b8c96c0
--- /dev/null
@@ -0,0 +1,48 @@
+%include       /usr/lib/rpm/macros.python
+
+Summary:       Tool for generating API documentation for Python modules
+Name:          epydoc
+Version:       2.0
+Release:       0.1
+License:       MIT
+Group:         Development/Languages/Python
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: fbb0bd482a872795c59f897b699f9549
+URL:           http://epydoc.sourceforge.net/
+BuildRequires: python-modules >= 2.2.1
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*
+%attr(755,root,root) %{_bindir}/*
+%dir %{py_sitedir}/epydoc
+%{py_sitedir}/epydoc/*.py[co]
+%dir %{py_sitedir}/epydoc/markup
+%{py_sitedir}/epydoc/markup/*.py[co]
This page took 0.367118 seconds and 4 git commands to generate.