SPECS: perl-AnyEvent.spec (NEW) - new

arekm arekm at pld-linux.org
Sun Aug 20 18:43:38 CEST 2006


Author: arekm                        Date: Sun Aug 20 16:43:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-AnyEvent.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-AnyEvent.spec
diff -u /dev/null SPECS/perl-AnyEvent.spec:1.1
--- /dev/null	Sun Aug 20 18:43:38 2006
+++ SPECS/perl-AnyEvent.spec	Sun Aug 20 18:43:33 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	AnyEvent
+%define		pnam	AnyEvent
+Summary:	AnyEvent - provide framework for multiple event loops
+Name:		perl-AnyEvent
+Version:	1.02
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{pnam}-%{version}.tar.gz
+# Source0-md5:	aa4cbbb028aba63119c3ed44b2e14001
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The AnyEvent extension aims to provide an simple and optimized event
+loop for a broad class of applications.
+
+%prep
+%setup -q -n %{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 README
+%{perl_vendorlib}/AnyEvent.pm
+%{perl_vendorlib}/AnyEvent
+%{_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/20 16:43:33  arekm
+- new
+
================================================================


More information about the pld-cvs-commit mailing list