SPECS: perl-IO-AIO.spec (NEW) - initial, rel=0.1
agaran
agaran at pld-linux.org
Sun Jan 22 03:00:33 CET 2006
Author: agaran Date: Sun Jan 22 02:00:33 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, rel=0.1
---- Files affected:
SPECS:
perl-IO-AIO.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-IO-AIO.spec
diff -u /dev/null SPECS/perl-IO-AIO.spec:1.1
--- /dev/null Sun Jan 22 03:00:33 2006
+++ SPECS/perl-IO-AIO.spec Sun Jan 22 03:00:28 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir IO
+%define pnam AIO
+Summary: IO::AIO - perl Asynchronous Input/Output
+Name: perl-IO-AIO
+Version: 1.5
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: eec38737bc5a5f7f16f71574488f086d
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements asynchronous I/O using whatever means your
+operating system supports.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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_vendorarch}/IO/AIO.pm
+%dir %{perl_vendorarch}/auto/IO/AIO
+%{perl_vendorarch}/auto/IO/AIO/AIO.*
+%{_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/01/22 02:00:28 agaran
+- initial, rel=0.1
+
================================================================
More information about the pld-cvs-commit
mailing list