rpms/perl-Event-Lib/devel perl-Event-Lib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chauvet
kwizart at fedoraproject.org
Tue May 27 20:46:37 UTC 2008
Author: kwizart
Update of /cvs/pkgs/rpms/perl-Event-Lib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32501/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Event-Lib.spec
Log Message:
Initial import for devel
--- NEW FILE perl-Event-Lib.spec ---
Name: perl-Event-Lib
Version: 1.03
Release: 2%{?dist}
Summary: Perl wrapper around libevent
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Event-Lib/
Source0: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/Event-Lib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(GTop)
# Needed for test
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: libevent-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module is a Perl wrapper around libevent(3) as available from
http://monkey.org/~provos/libevent/. It allows to execute a function
whenever a given event on a filehandle happens, a timeout occurs or a signal is
received.
%prep
%setup -q -n Event-Lib-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
INC=-I%{_includedir} LIBS="-L%{_libdir} -levent"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Event/
%{_mandir}/man3/*.3*
%changelog
* Fri May 16 2008 kwizart < kwizart at gmail.com > - 1.0.3-2
- Add Missing BR for test
* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 1.0.3-1
- Initial package for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Event-Lib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 May 2008 20:08:13 -0000 1.1
+++ .cvsignore 27 May 2008 20:45:51 -0000 1.2
@@ -0,0 +1 @@
+Event-Lib-1.03.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Event-Lib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 May 2008 20:08:13 -0000 1.1
+++ sources 27 May 2008 20:45:51 -0000 1.2
@@ -0,0 +1 @@
+90b60028f7f5836072e95c6d5b1d069e Event-Lib-1.03.tar.gz
More information about the Fedora-perl-devel-list
mailing list