Name: perl-Text-Markdown Version: 1.000031 Release: 26%{?dist} Summary: Convert Markdown syntax to (X)HTML License: BSD URL: https://metacpan.org/release/Text-Markdown Source0: https://cpan.metacpan.org/modules/by-module/Text/Text-Markdown-%{version}.tar.gz # Fix building on Perl without "." in @INC, # Patch0: Text-Markdown-1.000031-Unbundle-inc-Module-Install.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators # perl-podlators for pod2text BuildRequires: perl-podlators BuildRequires: perl(:VERSION) >= 5.8 BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Digest::MD5) BuildRequires: perl(Encode) BuildRequires: perl(Exporter) BuildRequires: perl(FindBin) BuildRequires: perl(Getopt::Long) %if 0%{fedora} < 36 BuildRequires: perl(HTML::Tidy) %endif BuildRequires: perl(inc::Module::Install) BuildRequires: perl(lib) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(re) BuildRequires: perl(strict) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Text::Balanced) # Text::Diff not helpful BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description 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
and as well). For more information about Markdown's syntax, see: http://daringfireball.net/projects/markdown/ %prep %setup -q -n Text-Markdown-%{version} %patch0 -p1 # Remove bundled modules rm -r inc perl -i -ne 'print $_ unless m{^inc/}' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check TEST_POD=1 make test %files %doc Changes License.text README Readme.text Todo # For noarch packages: vendorlib %{perl_vendorlib}/* %{_mandir}/man3/* %{_mandir}/man1/* %{_bindir}/Markdown.pl %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.000031-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.000031-25 - Perl 5.36 rebuild * Wed Apr 06 2022 Petr Pisar - 1.000031-24 - Specify all dependencies (bug #2063934) * Fri Jan 21 2022 Fedora Release Engineering - 1.000031-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.000031-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.000031-21 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.000031-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.000031-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.000031-18 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.000031-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.000031-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.000031-15 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.000031-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.000031-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 1.000031-12 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.000031-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.000031-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.000031-9 - Perl 5.26 rebuild * Thu May 18 2017 Petr Pisar - 1.000031-8 - Fix building on Perl without "." in @INC * Sat Feb 11 2017 Fedora Release Engineering - 1.000031-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 1.000031-6 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.000031-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.000031-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 1.000031-3 - Perl 5.22 rebuild * Tue Sep 09 2014 Jitka Plesnikova - 1.000031-1 - Perl 5.20 rebuild * Tue Sep 09 2014 Lubomir Rintel - 1.000031-1 - Update to new release * Fri Aug 29 2014 Jitka Plesnikova - 1.000029-13 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.000029-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.000029-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 26 2013 Petr Pisar - 1.000029-10 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.000029-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.000029-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 19 2012 Petr Pisar - 1.000029-7 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.000029-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.000029-5 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.000029-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 23 2010 Marcela Maslanova - 1.000029-3 - 661697 rebuild for fixing problems with vendorach/lib * Fri May 07 2010 Marcela Maslanova - 1.000029-2 - Mass rebuild with perl-5.12.0 * Fri Dec 04 2009 Iain Arnell 1.000029-1 - update to latest upstream version - perl-Text-MultiMarkdown split into separate package * Fri Dec 4 2009 Stepan Kasal - 1.0.24-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.0.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 17 2009 Jeffrey C. Ollie - 1.0.24-1 - Update to 1.0.24, for a full list of changes see: - http://cpansearch.perl.org/src/BOBTFISH/Text-Markdown-1.0.24/Changes - Package some docs. * Thu Mar 06 2008 Tom "spot" Callaway - 1.0.3-4 Rebuild for new perl * Tue Jul 3 2007 Jeffrey C. Ollie - 1.0.3-3 - Fix license field. * Sat Jun 30 2007 Jeffrey C. Ollie - 1.0.3-2 - BR some modules for tests * Fri Jun 1 2007 Jeffrey C. Ollie - 1.0.3-1 - First version for Fedora