Пакет python-module-Pygments: Specfile

%define oname Pygments
Name: python-module-Pygments
Version: 1.0
Release: alt1

Summary: Pygments is a syntax highlighting package written in Python

License: BSD
Group: Development/Python
Url: http://pygments.org/

Packager: Vitaly Lipatov <lav@altlinux.ru>
Source: http://pypi.python.org/packages/source/P/%oname/%oname-%version.tar.bz2

BuildArch: noarch

%setup_python_module %oname

BuildPreReq: rpm-build-compat >= 1.2

# manually removed: pybliographic python-module-Rabbyt python-module-pybliographer
# Automatically added by buildreq on Sat Jan 05 2008
BuildRequires: python-module-MySQLdb python-module-Pyrex python-module-lxml python-module-ruledispatch python-module-setuptools

%description
It is a generic syntax highlighter for general use in all kinds of
software such as forum systems, wikis or other applications that need
to prettify source code. Highlights are:
 * a wide range of common languages and markup formats is supported
 * special attention is paid to details, increasing quality by a fair amount
 * support for new languages and formats are added easily
 * a number of output formats, presently HTML, LaTeX, RTF, SVG and ANSI sequences
 * it is usable as a command-line tool and as a library

%prep
%setup -q -n %oname-%version

%build
%python_build

%install
%python_install

%files
%_bindir/pygmentize
%doc AUTHORS CHANGES LICENSE
%python_sitelibdir/*

%changelog
* Thu Dec 11 2008 Vitaly Lipatov <lav@altlinux.ru> 1.0-alt1
- new version 1.0 (with rpmrb script)

* Sat Jan 05 2008 Vitaly Lipatov <lav@altlinux.ru> 0.9-alt1
- initial build for ALT Linux Sisyphus