File python-markdown.spec of Package python-markdown

# spec file for package python-markdown (Version 2.0.3)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Summary:        Python Markdown Implementation

Name:           python-markdown
Version:        2.0.3
Release:        1
License:        BSD
Group:          Development/Libraries/Python
Source:         markdown-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%if %{?suse_version: %{suse_version} > 1010} %{!?suse_version:1}
BuildRequires:  python-xml
Requires:       python-xml
BuildRequires:  python-elementtree
Requires:       python-elementtree

This is a Python implementation of John Gruber's Markdown. It is almost
completely compliant with the reference implementation, though there are a few
known issues.

    Waylan Limberg <waylan [at]>

%setup -q -n markdown-%{version}

python build

%{__python} install \
	--root="%{buildroot}" \
	--prefix="%{_prefix}" \

%{__rm} -rf %{buildroot}

%defattr(-, root, root, 0755)
%doc docs/*