rpms/perl-Event/devel perl-Event.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Jun 14 19:13:59 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-Event/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29667/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Event.spec 
Log Message:
auto-import perl-Event-1.06-0.fc5 on branch devel from perl-Event-1.06-0.fc5.src.rpm


--- NEW FILE perl-Event.spec ---
Name:           perl-Event
Version:        1.06 
Release:        0%{?dist}
Summary:        Event - Event loop processing

Group:          Development/Libraries
License:        Artistic & GPL
URL:            http://search.cpan.org/dist/Event/ 
Source0:        http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Event-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl, perl(ExtUtils::MakeMaker), /usr/bin/iconv
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:  perl(Time::HiRes)

%description
The Event module provide a central facility to watch for various types of
events and invoke a callback when these events occur. The idea is to delay the
handling of events so that they may be dispatched in priority order when it is
safe for callbacks to execute.


%prep
%setup -q -n Event-%{version} 

# generate our two licenses...
perldoc perlgpl > LICENSE.GPL
perldoc perlartistic > LICENSE.Artistic

# fix some perm issues...
chmod -x demo/* util/*
%{_fixperms} demo util

# fix some other interperter issues..
cd demo
perl -pi -e 's|#!./perl|#!/usr/bin/perl|' *.t ../util/bench.pl


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

# not implemented yet, so lets avoid deps
cd demo
for i in *.pm ; do
    mv $i $i.unimplemented
done

# make sure the man page is UTF-8...
cd ../blib/man3 
iconv --from=ISO-8859-1 --to=UTF-8 Event.3pm > Event.3pm.new
mv Event.3pm.new Event.3pm

%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc ANNOUNCE TODO README Tutorial.pdf ChangeLog demo util LICENSE.* INSTALL
%{perl_vendorarch}/auto/Event
%{perl_vendorarch}/Event*
%{_mandir}/man3/*.3*


%changelog
* Thu Jun 08 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.06-0
- initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Event/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jun 2006 19:13:41 -0000	1.1
+++ .cvsignore	14 Jun 2006 19:13:59 -0000	1.2
@@ -0,0 +1 @@
+Event-1.06.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Event/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jun 2006 19:13:41 -0000	1.1
+++ sources	14 Jun 2006 19:13:59 -0000	1.2
@@ -0,0 +1 @@
+789cc8f0b011653cac6451cfef3053a8  Event-1.06.tar.gz




More information about the fedora-extras-commits mailing list