Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
perl-Pod-Markdown
perl-Pod-Markdown.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Pod-Markdown.spec of Package perl-Pod-Markdown
# # spec file for package perl-Pod-Markdown # # Copyright (c) 2024 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 Pod-Markdown Name: perl-Pod-Markdown Version: 3.400.0 Release: 0 %define cpan_version 3.400 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Convert POD to Markdown URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RW/RWSTAUNER/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Pod::Simple) >= 3.27 BuildRequires: perl(Pod::Simple::Methody) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(URI::Escape) BuildRequires: perl(parent) Requires: perl(Pod::Simple) >= 3.27 Requires: perl(Pod::Simple::Methody) Requires: perl(URI::Escape) Requires: perl(parent) Provides: perl(Pod::Markdown) = 3.400.0 Provides: perl(Pod::Perldoc::ToMarkdown) = 3.400.0 %undefine __perllib_provides Recommends: perl(HTML::Entities) %{perl_requires} %description This module uses Pod::Simple to convert POD to Markdown. Literal characters in Pod that are special in Markdown (like *asterisks*) are backslash-escaped when appropriate. By default 'markdown' and 'html' formatted regions are accepted. Regions of 'markdown' will be passed through unchanged. Regions of 'html' will be placed inside a '<div>' tag so that markdown characters won't be processed. Regions of ':markdown' or ':html' will be processed as POD and included. To change which regions are accepted use the Pod::Simple API: my $parser = Pod::Markdown->new; $parser->unaccept_targets(qw( markdown html )); %prep %autosetup -n %{cpan_name}-%{cpan_version} %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 Changes README %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