SPECS: perl-Test-POE-Server-TCP.spec (NEW) - new spec, created using pldcpa...
agaran
agaran at pld-linux.org
Thu Nov 27 20:14:47 CET 2008
Author: agaran Date: Thu Nov 27 19:14:47 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new spec, created using pldcpan, ver 0.12, rel 1, builds here
---- Files affected:
SPECS:
perl-Test-POE-Server-TCP.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Test-POE-Server-TCP.spec
diff -u /dev/null SPECS/perl-Test-POE-Server-TCP.spec:1.1
--- /dev/null Thu Nov 27 20:14:47 2008
+++ SPECS/perl-Test-POE-Server-TCP.spec Thu Nov 27 20:14:42 2008
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Test
+%define pnam POE-Server-TCP
+Summary: Test::POE::Server::TCP - A POE Component providing TCP server services for test cases
+#Summary(pl.UTF-8):
+Name: perl-Test-POE-Server-TCP
+Version: 0.12
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 862c7d7bb01fcf34561facad81d27cfb
+# generic URL, check or change before uncommenting
+#URL: http://search.cpan.org/dist/Test-POE-Server-TCP/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-POE
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Test::POE::Server::TCP is a POE component that provides a TCP server framework for inclusion in
+client component test cases, instead of having to roll your own.
+
+Once registered with the component, a session will receive events related to client connects, disconnects,
+input and flushed output. Each of these events will refer to a unique client ID which may be used in
+communication with the component when sending data to the client or disconnecting a client connection.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Test/POE/Server/*.pm
+%dir %{perl_vendorlib}/Test/POE/Server
+# or that one to perl-dirs or perl-POE?
+%dir %{perl_vendorlib}/Test/POE
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%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 2008/11/27 19:14:42 agaran
+- new spec, created using pldcpan, ver 0.12, rel 1, builds here
+
================================================================
More information about the pld-cvs-commit
mailing list