Name: perl-Text-Smart-Plugin Version: 1.0.1 Release: 1%{?dist} Summary: Template Toolkit plugin for Text::Smart License: GPLv2 Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Smart-Plugin/ Source0: http://www.cpan.org/modules/by-module/Text/Text-Smart-Plugin-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Template) >= 2.06 BuildRequires: perl(Text::Smart) >= 1.0.0 Requires: perl(Template) >= 2.06 Requires: perl(Text::Smart) >= 1.0.0 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a plugin for the Template-Toolkit to enable the use of 'smart text', whose syntax is defined by the Text::Smart module. See that module's manual pages for details of the markup allowed. See the synopsis section above for how to use this module in combination with the Template toolkit. %prep %setup -q -n Text-Smart-Plugin-%{version} %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 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS CHANGES COPYING README Text-Smart-Plugin.spec %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri May 09 2008 Alan Pevec 1.0.1-1 - Specfile autogenerated by cpanspec 1.74.