SPECS (DEVEL): perl-POE-Component-Cache.spec (NEW) - initial, vers...

agaran agaran at pld-linux.org
Sat Sep 2 10:57:07 CEST 2006


Author: agaran                       Date: Sat Sep  2 08:57:07 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- initial, vers 0.1.1, rel 0.1, module has no docs at all, builds here.

---- Files affected:
SPECS:
   perl-POE-Component-Cache.spec (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Component-Cache.spec
diff -u /dev/null SPECS/perl-POE-Component-Cache.spec:1.1.2.1
--- /dev/null	Sat Sep  2 10:57:07 2006
+++ SPECS/perl-POE-Component-Cache.spec	Sat Sep  2 10:57:02 2006
@@ -0,0 +1,70 @@
+# $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	POE
+%define		pnam	Component-Cache
+Summary:	perl(POE::Component::Cache)
+Name:		perl-POE-Component-Cache
+Version:	0.1.1
+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:	ba1468dda04b53300588d8d13d6a4ba7
+URL:		http://search.cpan.org/dist/POE-Component-Cache/
+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 for POE, implements cacheing component, only documentation is source of module.
+
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+# if module isn't noarch, use:
+# %{__make} \
+#	OPTIMIZE="%{rpmcflags}"
+
+%{?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}/POE/Component/Cache.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/09/02 08:57:02  agaran
+- initial, vers 0.1.1, rel 0.1, module has no docs at all, builds here.
+
================================================================


More information about the pld-cvs-commit mailing list