SPECS: perl-POE-Session-AttributeBased.spec (NEW) - initial, 0.04, ...

agaran agaran at pld-linux.org
Tue Aug 1 20:26:51 CEST 2006


Author: agaran                       Date: Tue Aug  1 18:26:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, 0.04, rel 0.1, builds here

---- Files affected:
SPECS:
   perl-POE-Session-AttributeBased.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-POE-Session-AttributeBased.spec
diff -u /dev/null SPECS/perl-POE-Session-AttributeBased.spec:1.1
--- /dev/null	Tue Aug  1 20:26:51 2006
+++ SPECS/perl-POE-Session-AttributeBased.spec	Tue Aug  1 20:26:46 2006
@@ -0,0 +1,67 @@
+# $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	Session-AttributeBased
+Summary:	perl(POE::Session::AttributeBased) - POE::Session using attributes marking state handlers
+Name:		perl-POE-Session-AttributeBased
+Version:	0.04
+Release:	0.1
+# "same as perl"
+License:	GPLv1 or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	0f9b8de1dfce9f32a1607459414d5cb5
+URL:		http://search.cpan.org/dist/POE-Session-AttributeBased/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires:	perl-POE
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This perl module is early alpha code. This package wraps POE::Session and permits use of a
+'state' attributes to designate state handlers. Similar functionality is provided
+by perl POE::Session::Attribute module.
+
+%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}/POE/Session/AttributeBased.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/08/01 18:26:46  agaran
+- initial, 0.04, rel 0.1, builds here
+
================================================================


More information about the pld-cvs-commit mailing list