SPECS: perl-POE-Component-Client-Telnet.spec (NEW) - initial, ver ...
agaran
agaran at pld-linux.org
Tue Aug 1 00:29:36 CEST 2006
Author: agaran Date: Mon Jul 31 22:29:36 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, ver 0.06, rel 0.1, builds here
---- Files affected:
SPECS:
perl-POE-Component-Client-Telnet.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-POE-Component-Client-Telnet.spec
diff -u /dev/null SPECS/perl-POE-Component-Client-Telnet.spec:1.1
--- /dev/null Tue Aug 1 00:29:36 2006
+++ SPECS/perl-POE-Component-Client-Telnet.spec Tue Aug 1 00:29:31 2006
@@ -0,0 +1,71 @@
+# $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-Client-Telnet
+Summary: perl(POE::Component::Client::Telnet) - Non-blocking POE interface to Net::Telnet
+Name: perl-POE-Component-Client-Telnet
+Version: 0.06
+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
+URL: http://search.cpan.org/dist/POE-Component-Client-Telnet/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+#BuildRequires: -
+%if %{with autodeps} || %{with tests}
+#BuildRequires: perl-
+#BuildRequires: perl-
+%endif
+#Requires: -
+#Provides: -
+#Obsoletes: -
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+POE::Component::Client::Telnet is a POE component that provides a non-blocking
+wrapper around Net::Telnet, or any other module based on Net::Telnet.
+Consult the Net::Telnet documentation for more details.
+
+%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/Component/Client/Telnet.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/31 22:29:31 agaran
+- initial, ver 0.06, rel 0.1, builds here
+
================================================================
More information about the pld-cvs-commit
mailing list