%define ver 0.4.7 %define rel 2mdk %define pyversion 2.3 %define oname logging %define dname %{oname}-%{ver} Name: python-%oname Version: %{ver} Release: %{rel} Source: %{dname}.tar.bz2 Summary: Fast Python module for rational numbers License: Distributable Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot Url: http://www.red-dove.com/python_logging.html Requires: python >= %{pyversion} BuildRequires: python >= %{pyversion} BuildRequires: libpython-devel >= %{pyversion} BuildArch: noarch %description This is a python module that implements a full-featured logging system in line with PEP 282 (comparable to java.util.logging, log4j, etc.). %prep %setup -q -n %{dname} %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README.txt PKG-INFO python_logging.html default.css %{_libdir}/python%{pyversion}/site-packages/logging/ %changelog * Sat Aug 9 2003 Austin Acton <aacton@yorku.ca> 0.4.7-2mdk - python 2.3 * Wed Jul 9 2003 Austin Acton <aacton@yorku.ca> 0.4.7-1mdk - from andi payn <payn@myrealbox.com> : - Initial specfile