auto-import perl-Text-Template-1.44-1 on branch devel from
perl-Text-Template-1.44-1.src.rpm
This commit is contained in:
parent
2512de63ac
commit
7764d5dad8
@ -0,0 +1 @@
|
||||
Text-Template-1.44.tar.gz
|
||||
61
perl-Text-Template.spec
Normal file
61
perl-Text-Template.spec
Normal file
@ -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 <jpo at di.uminho.pt> - 1.44-1
|
||||
- Update to Fedora Extras template.
|
||||
|
||||
* Sat Dec 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.44-0.fdr.1
|
||||
- First build.
|
||||
Loading…
Reference in New Issue
Block a user