SPECS: perl-POE-Component-Logger.spec (NEW) - initial, works for me

agaran agaran at pld-linux.org
Wed Aug 24 12:58:37 CEST 2005


Author: agaran                       Date: Wed Aug 24 10:58:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, works for me

---- Files affected:
SPECS:
   perl-POE-Component-Logger.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Component-Logger.spec
diff -u /dev/null SPECS/perl-POE-Component-Logger.spec:1.1
--- /dev/null	Wed Aug 24 12:58:37 2005
+++ SPECS/perl-POE-Component-Logger.spec	Wed Aug 24 12:58:32 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	POE
+%define		pnam	Component-Logger
+Summary:	perl(POE::Component::Logger)
+Name:		perl-POE-Component-Logger
+Version:	1.00
+Release:	0.1
+License:	same as perl
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+URL:		poe.perl.org
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	perl-POE
+%if %{with tests}
+BuildRequires:	perl-Log-Dispatch-Config
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+POE::Component::Logger, a poe logging class, uses Log::Dispatch::Config
+
+%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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/POE/Component/Logger.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  2005/08/24 10:58:32  agaran
+- initial, works for me
+
================================================================



More information about the pld-cvs-commit mailing list