diff --git a/.cvsignore b/.cvsignore index e69de29..413cda7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Text-Template-1.44.tar.gz diff --git a/perl-Text-Template.spec b/perl-Text-Template.spec new file mode 100644 index 0000000..8f9abfd --- /dev/null +++ b/perl-Text-Template.spec @@ -0,0 +1,61 @@ +Name: perl-Text-Template +Version: 1.44 +Release: 1%{?dist} +Summary: Expand template text with embedded Perl + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Text-Template/ +Source0: http://www.cpan.org/authors/id/M/MJ/MJD/Text-Template-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is a library for generating form letters, building HTML pages, or +filling in templates generally. A 'template' is a piece of text that +has little Perl programs embedded in it here and there. When you +'fill in' a template, you evaluate the little programs and replace +them with their values. + + +%prep +%setup -q -n Text-Template-%{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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Artistic COPYING README +%{perl_vendorlib}/Text/ +%{_mandir}/man3/*.3* + + +%changelog +* Wed Aug 10 2005 Jose Pedro Oliveira - 1.44-1 +- Update to Fedora Extras template. + +* Sat Dec 18 2004 Jose Pedro Oliveira - 0:1.44-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..7867557 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +81a43d284d9c3cdb2b28e104c1c18609 Text-Template-1.44.tar.gz