rpms/perl-POE-Test-Loops/F-10 import.log, NONE, 1.1 perl-POE-Test-Loops.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Sun Apr 12 19:14:27 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-POE-Test-Loops/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18716/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-POE-Test-Loops.spec 
Log Message:
Initial import.


--- NEW FILE import.log ---
perl-POE-Test-Loops-1_005-1_fc10:F-10:perl-POE-Test-Loops-1.005-1.fc10.src.rpm:1239563630


--- NEW FILE perl-POE-Test-Loops.spec ---
Name:       perl-POE-Test-Loops 
Version:    1.005 
Release:    1%{?dist}
# META.yml, bin/poe-gen-tests -> perl
License:    GPL+ or Artistic
Group:      Development/Libraries
Summary:    Reusable tests for POE::Loop authors 
Source:     http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Test-Loops-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/POE-Test-Loops
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)

%description
POE::Test::Loops contains one function, generate(), which will generate
all the loop tests for one or more POE::Loop subclasses. The SYNOPSIS
example is a version of poe-gen-tests, which is a stand-alone utility
to generate the actual tests. The poe-gen-tests manpage also documents
the POE::Test::Loops system in more detail.


%prep
%setup -q -n POE-Test-Loops-%{version}

find . -type f -exec chmod -c -x {} ';'

# make sure doc/tests don't generate provides
# note we first filter out the bits in _docdir...
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'` | \
    sed -e '/perl([DIFMOSU].*)/d; /perl(POE::MySession)/d'
    #sed -e '/perl((?!(POE)).*)/d'
    #perl -p -e '/^(?!POE)/d'
EOF

%define __perl_provides %{_builddir}/POE-Test-Loops-%{version}/%{name}-prov
chmod +x %{__perl_provides}

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

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc CHANGES README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%{_bindir}/poe-gen-tests
%{_mandir}/man1/poe-gen-tests.1.gz

%changelog
* Fri Apr 10 2009 Chris Weyl <cweyl at alumni.drew.edu> 1.005-1
- update for submission

* Fri Apr 10 2009 Chris Weyl <cweyl at alumni.drew.edu> 1.005-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Test-Loops/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Apr 2009 18:28:32 -0000	1.1
+++ .cvsignore	12 Apr 2009 19:13:56 -0000	1.2
@@ -0,0 +1 @@
+POE-Test-Loops-1.005.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Test-Loops/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Apr 2009 18:28:32 -0000	1.1
+++ sources	12 Apr 2009 19:13:56 -0000	1.2
@@ -0,0 +1 @@
+a075c590ef3024293377678088ebfe50  POE-Test-Loops-1.005.tar.gz




More information about the Fedora-perl-devel-list mailing list