SPECS: perl-Net-NBsocket.spec (NEW) - new
glen
glen at pld-linux.org
Wed Feb 8 19:28:10 CET 2006
Author: glen Date: Wed Feb 8 18:28:10 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Net-NBsocket.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Net-NBsocket.spec
diff -u /dev/null SPECS/perl-Net-NBsocket.spec:1.1
--- /dev/null Wed Feb 8 19:28:10 2006
+++ SPECS/perl-Net-NBsocket.spec Wed Feb 8 19:28:04 2006
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Net
+%define pnam NBsocket
+Summary: Net::NBsocket -- Non-Blocking Sockets
+Name: perl-Net-NBsocket
+Version: 0.12
+Release: 0.1
+License: GPL v2+
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 0021addaae07925d10ad4df25d21c0cf
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::NBsocket provides a wrapper for Socket to supply Non-Blocking
+sockets of various flavors.
+
+%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
+
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Net/NBsocket/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Net/*.pm
+%dir %{perl_vendorlib}/auto/Net/NBsocket
+%{perl_vendorlib}/auto/Net/NBsocket/_accept.al
+%{perl_vendorlib}/auto/Net/NBsocket/_connect.al
+%{perl_vendorlib}/auto/Net/NBsocket/accept_Blk.al
+%{perl_vendorlib}/auto/Net/NBsocket/accept_NB.al
+%{perl_vendorlib}/auto/Net/NBsocket/autosplit.ix
+%{perl_vendorlib}/auto/Net/NBsocket/bind2pp.al
+%{perl_vendorlib}/auto/Net/NBsocket/connectBlk.al
+%{perl_vendorlib}/auto/Net/NBsocket/connect_NB.al
+%{perl_vendorlib}/auto/Net/NBsocket/open_Listen.al
+%{perl_vendorlib}/auto/Net/NBsocket/open_UDP.al
+%{perl_vendorlib}/auto/Net/NBsocket/open_listenNB.al
+%{perl_vendorlib}/auto/Net/NBsocket/open_udpNB.al
+%{perl_vendorlib}/auto/Net/NBsocket/set_NB.al
+%{perl_vendorlib}/auto/Net/NBsocket/set_so_linger.al
+%{_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/02/08 18:28:04 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list