summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-05 22:46:22 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-05 22:46:22 +0700
commite20a767ac758edb306981c12d6faff4bcf79cb80 (patch)
tree3888a2ba088436d090de98ae1d4dddfeb3510a4a /admin
parenta4e504457a0035b1139d6781203cbceada3b62de (diff)
downloadspecs-e20a767ac758edb306981c12d6faff4bcf79cb80.tar.gz
specs-e20a767ac758edb306981c12d6faff4bcf79cb80.tar.xz
specs-e20a767ac758edb306981c12d6faff4bcf79cb80.zip
python-tracing reviewed
Diffstat (limited to 'admin')
-rw-r--r--admin/python-tracing.spec65
1 files changed, 0 insertions, 65 deletions
diff --git a/admin/python-tracing.spec b/admin/python-tracing.spec
deleted file mode 100644
index e352eec..0000000
--- a/admin/python-tracing.spec
+++ /dev/null
@@ -1,65 +0,0 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-
-%global pkgname tracing
-
-Name: python-%{pkgname}
-Version: 0.6
-Release: 1%{?dist}
-Summary: Python debug logging helper
-
-# ask upstream to include license text
-License: GPLv3+
-URL: http://liw.fi/%{pkgname}/
-Source0: http://code.liw.fi/debian/pool/main/p/%{name}/%{name}_%{version}.orig.tar.gz
-
-BuildArch: noarch
-BuildRequires: python-sphinx
-
-%description
-The Python library tracing helps with logging debug messages. It
-provides a couple of functions for logging debug messages, and allows
-the user to enable or disable logging for particular code modules.
-
-It is sometimes practical to add a lot of debugging log messages to a
-program, but having them enabled all the time results in very large
-log files. Also, logging that much takes quite a bit of time.
-
-This module provides a way to turn such debugging or tracing messages
-on and off, based on the filename they occur in. The logging can that
-be left in the code, and only enabled when it is needed.
-
-
-%package doc
-Summary: Documentation for %{pkgname}
-Requires: %{name} = %{version}-%{release}
-
-%description doc
-This package contains the documentation for %{pkgname}, a Python debug
-logging helper.
-
-
-%prep
-%setup -q -n %{pkgname}-%{version}
-
-
-%build
-%{__python} setup.py build
-# Build documentation
-make -C doc html
-
-
-%install
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-
-
-%files
-%doc NEWS README
-%{python_sitelib}/*
-
-%files doc
-%doc doc/_build/html/*
-
-
-%changelog
-* Sun Jun 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.6-1
-- Initial package