# # spec file for package perl-Text-Trac # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # Name: perl-Text-Trac Version: 0.18 Release: 1.10 %define cpan_name Text-Trac Summary: Perl extension for formatting text with Trac Wiki Style License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-Trac/ Source: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz 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(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 -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 * 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)