File perl-Markdown-To-POD.spec of Package perl-Markdown-To-POD

# spec file for package perl-Markdown-To-POD
# Copyright (c) 2017 SUSE LINUX 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

Name:           perl-Markdown-To-POD
Version:        0.06
Release:        0
%define cpan_name Markdown-To-POD
Summary:        Convert Markdown syntax to POD
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Test::More) >= 0.98

*Markdown::To::POD notes*: Markdown::To::POD is a markdown-to-POD
converter. Currently it's implemented as a quick-and-dirty hack of forking
Text::Markdown 1.000031 then modifying just enough to produce POD instead
of HTML. I hacked it because I want an alternative to Markdown::Pod 0.005
which is too startup-heavy and has a couple of annoying bugs, like
converting 'an_identifier and another_identifier' to 'anI<identifier and
another>identifier'. The rest of the documentation is Text::Markdown's.

Markdown is a text-to-HTML filter; it translates an easy-to-read /
easy-to-write structured text format into HTML. Markdown's text format is
most similar to that of plain text email, and supports features such as
headers, *emphasis*, code blocks, blockquotes, and links.

Markdown's syntax is designed not as a generic markup language, but
specifically to serve as a front-end to (X)HTML. You can use span-level
HTML tags anywhere in a Markdown document, and you can use block level HTML
tags (like <div> and <table> as well).

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

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files
%doc Changes README
%license LICENSE