[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Class-Data-Accessor/FC-5 perl-Class-Data-Accessor.spec, NONE, 1.1 sources, 1.1, 1.2



Author: cweyl

Update of /cvs/extras/rpms/perl-Class-Data-Accessor/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14565

Modified Files:
	sources 
Added Files:
	perl-Class-Data-Accessor.spec 
Log Message:
pseudo-branch of perl-Class-Data-Accessor to FC-5


--- NEW FILE perl-Class-Data-Accessor.spec ---
Name:           perl-Class-Data-Accessor
Version:        0.04000
Release:        3%{?dist}
Summary:        Inheritable, overridable class and instance data accessor creation
License:        Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Class-Data-Accessor/
Source0:        http://www.cpan.org/authors/id/C/CL/CLACO/Class-Data-Accessor-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 1:5.6.1
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core
#BuildRequires: perl(Carp) 
BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(Test::More)
# cpan
# test -- note, following three only needed when author tests are enabled
#BuildRequires: perl(Test::Pod)
#BuildRequires: perl(Test::Pod::Coverage)
#BuildRequires: perl(Test::Spelling)



%description
Class::Data::Accessor is the marriage of Class::Accessor and
Class::Data::Inheritable into a single module. It is used for creating
accessors to class data that overridable in subclasses as well as in class
instances.

%prep
%setup -q -n Class-Data-Accessor-%{version}

sed -i 's/\r//' t/*.t Changes
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t

%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
# set TEST_AUTHOR=1 to enable the upstream author tests.
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed May 16 2007 Chris Weyl <cweyl alumni drew edu> 0.04000-3
- bump

* Wed May 16 2007 Chris Weyl <cweyl alumni drew edu> 0.04000-2
- license -> Artistic until conflicting statements are resolved. See also
  http://rt.cpan.org/Ticket/Display.html?id=27146

* Tue May 15 2007 Chris Weyl <cweyl alumni drew edu> 0.04000-1
- Specfile autogenerated by cpanspec 1.71.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Class-Data-Accessor/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 May 2007 20:35:40 -0000	1.1
+++ sources	16 May 2007 23:31:48 -0000	1.2
@@ -0,0 +1 @@
+9d886842b40c11456ce553ece7f5894a  Class-Data-Accessor-0.04000.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]