Name: perl-Text-MicroTemplate Version: 0.18 Release: 1%{?dist} Summary: Micro template engine with Perl5 language License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-MicroTemplate/ Source0: file:///home/dave/mirrors/minicpan//authors/id/K/KA/KAZUHO/Text-MicroTemplate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.0 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Text::MicroTemplate is a standalone, fast, intelligent, extensible template engine with following features. %prep %setup -q -n Text-MicroTemplate-%{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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 23 2012 Dave Cross 0.18-1 - Specfile autogenerated by cpanspec 1.78.