SPECS: perl-Filter-Template.spec (NEW) - initial, ugly, builds her...

agaran agaran at pld-linux.org
Tue Jul 11 23:01:51 CEST 2006


Author: agaran                       Date: Tue Jul 11 21:01:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, ugly, builds here, version 1.02, rel 0.1 (needed by POE upgrade)

---- Files affected:
SPECS:
   perl-Filter-Template.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Filter-Template.spec
diff -u /dev/null SPECS/perl-Filter-Template.spec:1.1
--- /dev/null	Tue Jul 11 23:01:51 2006
+++ SPECS/perl-Filter-Template.spec	Tue Jul 11 23:01:46 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	Filter
+%define		pnam	Template
+Summary:	perl(Filter::Template)
+Name:		perl-Filter-Template
+Version:	1.02
+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:	15aa7b46d94c2dcd9fe0acc8914943df
+# most of CPAN modules have generic URL (substitute pdir and pnam here)
+URL:		http://search.cpan.org/dist/Filter-Template
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+#BuildRequires:	perl-
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+perl(Filter::Template)
+
+
+%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}/Filter/Template.pm
+%dir %{perl_vendorlib}/Filter/Template
+%{perl_vendorlib}/Filter/Template/UseBytes.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  2006/07/11 21:01:46  agaran
+- initial, ugly, builds here, version 1.02, rel 0.1 (needed by POE upgrade)
+
================================================================


More information about the pld-cvs-commit mailing list