[packages/perl-Template-Plugin-Autoformat] - updated to 2.77

qboosh qboosh at pld-linux.org
Mon May 23 16:51:34 CEST 2022


commit 00263ed5668317ff78965523b8541491853f2400
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 23 16:52:27 2022 +0200

    - updated to 2.77

 perl-Template-Plugin-Autoformat.spec | 39 +++++++++++++++---------------------
 1 file changed, 16 insertions(+), 23 deletions(-)
---
diff --git a/perl-Template-Plugin-Autoformat.spec b/perl-Template-Plugin-Autoformat.spec
index a75e538..4d6ec92 100644
--- a/perl-Template-Plugin-Autoformat.spec
+++ b/perl-Template-Plugin-Autoformat.spec
@@ -7,42 +7,35 @@
 Summary:	Template::Plugin::Autoformat - Interface to Text::Autoformat module
 Summary(pl.UTF-8):	Template::Plugin::Autoformat - Interfejs do modułu Text::Autoformat
 Name:		perl-Template-Plugin-Autoformat
-Version:	2.71
+Version:	2.77
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Template/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	cb3d9224a0b4022cba7fd3f42d308bfa
-URL:		http://search.cpan.org/dist/Template-Plugin-Autoformat/
+# Source0-md5:	ecfceb3b8f0f68ff105b3c363c5cee14
+URL:		https://metacpan.org/dist/Template-Plugin-Autoformat
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 %if %{with tests}
-BuildRequires:	perl-Template-Toolkit >= 2.2
+BuildRequires:	perl-Template-Toolkit >= 2.20
 BuildRequires:	perl-Text-Autoformat >= 1.13
 %endif
+Provides:	perl-Template-Toolkit-Plugin-Autoformat = %{version}
+Obsoletes:	perl-Template-Toolkit-Plugin-Autoformat < 2.22
 BuildArch:	noarch
-Provides:	perl-Template-Toolkit-Plugin-Autoformat
-Obsoletes:	perl-Template-Toolkit-Plugin-Autoformat
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This Template Toolkit plugin module is an interface to Damian
-Conway's Text::Autoformat Perl module which provides advanced text wrapping
-and formatting.
+Conway's Text::Autoformat Perl module which provides advanced text
+wrapping and formatting.
 
-Configuration options may be passed to the plugin constructor via the 
-USE directive.
-
-    [% USE autoformat(right => 30) %]
-
-The autoformat subroutine can then be called, passing in text items which 
-will be wrapped and formatted according to the current configuration.
-
-    [% autoformat('The cat sat on the mat') %]
-
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Ten moduł wtyczki do Template Toolkitu jest interfgejsem do modułu
+Perla Damiana Conwaya, zapewniającego zaawansowane zawijanie i
+formatowanie tekstu.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -65,6 +58,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%{perl_vendorlib}/Template/Plugin/*.pm
-%{_mandir}/man3/*
+%doc Changes README.md
+%{perl_vendorlib}/Template/Plugin/Autoformat.pm
+%{_mandir}/man3/Template::Plugin::Autoformat.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Template-Plugin-Autoformat.git/commitdiff/00263ed5668317ff78965523b8541491853f2400



More information about the pld-cvs-commit mailing list