SPECS (DEVEL): perl-HTML-Template-HashWrapper.spec (NEW) - initial...
agaran
agaran at pld-linux.org
Mon Aug 28 23:55:21 CEST 2006
Author: agaran Date: Mon Aug 28 21:55:21 2006 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- initial, ver 1.3, rel 0.1, builds on my machine
---- Files affected:
SPECS:
perl-HTML-Template-HashWrapper.spec (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-HTML-Template-HashWrapper.spec
diff -u /dev/null SPECS/perl-HTML-Template-HashWrapper.spec:1.1.2.1
--- /dev/null Mon Aug 28 23:55:21 2006
+++ SPECS/perl-HTML-Template-HashWrapper.spec Mon Aug 28 23:55:15 2006
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir HTML
+%define pnam Template-HashWrapper
+Summary: perl(HTML::Template::HashWrapper) - Easy association with HTML::Template
+Name: perl-HTML-Template-HashWrapper
+Version: 1.3
+Release: 0.1
+# note if it is "same as perl"
+License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: eee47d1b8e86dd309539898f6afe458d
+#Patch0: %{name}
+URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+#%define _noautoreq 'perl(anything_fake_or_conditional)'
+
+%description
+Perl module HTML::Template::HashWrapper provides a simple way to use arbitrary
+hash references (and hashrefâbased objects) with HTML::Template's "associate"
+option.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/HTML/Template/HashWrapper.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1.2.1 2006/08/28 21:55:15 agaran
+- initial, ver 1.3, rel 0.1, builds on my machine
+
================================================================
More information about the pld-cvs-commit
mailing list