Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-M
perl-Markdent
perl-Markdent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Markdent.spec of Package perl-Markdent
# # spec file for package perl-Markdent # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name Markdent Name: perl-Markdent Version: 0.40 Release: 0 Summary: An event-based Markdown parser toolkit License: Artistic-1.0 OR GPL-1.0-or-later URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Digest::SHA) BuildRequires: perl(File::Slurper) BuildRequires: perl(Getopt::Long::Descriptive) BuildRequires: perl(HTML::Entities) BuildRequires: perl(List::AllUtils) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moose) >= 2.1802 BuildRequires: perl(Moose::Meta::Class) BuildRequires: perl(Moose::Role) BuildRequires: perl(MooseX::Getopt::Dashes) BuildRequires: perl(MooseX::Getopt::OptionTypeMap) BuildRequires: perl(MooseX::Role::Parameterized) BuildRequires: perl(MooseX::SemiAffordanceAccessor) >= 0.05 BuildRequires: perl(MooseX::StrictConstructor) >= 0.08 BuildRequires: perl(Params::ValidationCompiler) >= 0.14 BuildRequires: perl(Specio::Declare) BuildRequires: perl(Specio::Exporter) BuildRequires: perl(Specio::Library::Builtins) BuildRequires: perl(Specio::Library::Numeric) BuildRequires: perl(Test2::V0) >= 0.000081 BuildRequires: perl(Test::More) >= 1.302015 BuildRequires: perl(Test::Requires) BuildRequires: perl(Tree::Simple) BuildRequires: perl(Tree::Simple::Visitor::ToNestedArray) BuildRequires: perl(Try::Tiny) BuildRequires: perl(namespace::autoclean) >= 0.09 BuildRequires: perl(parent) Requires: perl(Digest::SHA) Requires: perl(File::Slurper) Requires: perl(Getopt::Long::Descriptive) Requires: perl(HTML::Entities) Requires: perl(List::AllUtils) Requires: perl(Module::Runtime) Requires: perl(Moose) >= 2.1802 Requires: perl(Moose::Meta::Class) Requires: perl(Moose::Role) Requires: perl(MooseX::Getopt::Dashes) Requires: perl(MooseX::Getopt::OptionTypeMap) Requires: perl(MooseX::Role::Parameterized) Requires: perl(MooseX::SemiAffordanceAccessor) >= 0.05 Requires: perl(MooseX::StrictConstructor) >= 0.08 Requires: perl(Params::ValidationCompiler) >= 0.14 Requires: perl(Specio::Declare) Requires: perl(Specio::Exporter) Requires: perl(Specio::Library::Builtins) Requires: perl(Specio::Library::Numeric) Requires: perl(Tree::Simple) Requires: perl(Try::Tiny) Requires: perl(namespace::autoclean) >= 0.09 Requires: perl(parent) %{perl_requires} %description This distribution provides a toolkit for parsing Markdown (and Markdown variants, aka dialects). Unlike the other Markdown Perl tools, this module can be used for more than just generating HTML. The core parser generates events (like XML's SAX), making it easy to analyze a Markdown document in any number of ways. If you're only interested in converting Markdown to HTML, you can use the Markdent::Simple::Document class to do this, although you can just as well use better battle-tested tools like Text::Markdown. See Markdent::Manual for more details on how Markdent works and how you can use it. %prep %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md precious.toml README.md %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor