# # spec file for package perl-Text-Trac # # Copyright (c) 2018 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 https://bugs.opensuse.org/ # Name: perl-Text-Trac Version: 0.24 Release: 1.82 %define cpan_name Text-Trac Summary: Perl extension for formatting text with Trac Wiki Style License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(Class::Data::Inheritable) BuildRequires: perl(HTML::Entities) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Test::Base) BuildRequires: perl(Test::More) >= 1.001014 BuildRequires: perl(Tie::IxHash) BuildRequires: perl(UNIVERSAL::require) Requires: perl(Class::Accessor::Fast) Requires: perl(Class::Data::Inheritable) Requires: perl(HTML::Entities) Requires: perl(List::MoreUtils) Requires: perl(Path::Tiny) Requires: perl(Tie::IxHash) Requires: perl(UNIVERSAL::require) %{perl_requires} %description Text::Trac parses text with Trac WikiFormatting and convert it to html format. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README.md %changelog * Wed Dec 12 2018 Stephan Kulow - updated to 0.24 see /usr/share/doc/packages/perl-Text-Trac/Changes 0.24 2018.12.09 MANWAR Removed +x from unit test scripts. * Sat Dec 8 2018 Stephan Kulow - updated to 0.23 see /usr/share/doc/packages/perl-Text-Trac/Changes 0.23 2018.12.08 MANWAR - Now using ExtUtils::MakeMaker for packaging. 0.22 2018.12.07 MANWAR - Moved author unit tests to subfolder xt/. 0.21 2018.12.06 MANWAR Fixed warning 'Use of uninitialized value $target ..' as reported by CPANTESTERS. https://www.cpantesters.org/cpan/report/f8fc5086-f8e1-11e8-b905-8feee4406f56 * Thu Dec 6 2018 Stephan Kulow - updated to 0.20 see /usr/share/doc/packages/perl-Text-Trac/Changes * Tue Apr 14 2015 coolo@suse.com - updated to 0.18 see /usr/share/doc/packages/perl-Text-Trac/Changes 0.18 2015.04.05 Remove auto_include from Makefile.PL to limit inc/ to the Module::Install code. 0.17 2015.04.05 Add lots of full html tests. Add command line script script/trac2html Enable excluding class="" from the HTML run Perl::Tidy run Perl::Critic Escape { in regex RT #100712 * Mon Sep 15 2014 daxim@cpan.org - update to v0.16 * Wed Dec 1 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Tue Jun 15 2010 pascal.bleser@opensuse.org - initial package (0.15)