parent
1dd9a62de7
commit
fa028430d9
@ -1 +1,2 @@
|
||||
Object-Accessor-0.32.tar.gz
|
||||
/Object-Accessor-0.48.tar.gz
|
||||
|
@ -0,0 +1,62 @@
|
||||
Name: perl-Object-Accessor
|
||||
Version: 0.48
|
||||
Release: 1%{?dist}
|
||||
Summary: Interface to create per object accessors
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Object-Accessor/
|
||||
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Object-Accessor-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
%if 0%(perl -e 'print $] > 5.017')
|
||||
BuildRequires: perl(deprecate)
|
||||
%endif
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(Params::Check) >= 0.34
|
||||
# Tie::Scalar is not needed for tests
|
||||
# Tie::StdScalar is not needed for tests
|
||||
BuildRequires: perl(vars)
|
||||
# Tests:
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Test::More)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%if 0%(perl -e 'print $] > 5.017')
|
||||
Requires: perl(deprecate)
|
||||
%endif
|
||||
|
||||
%description
|
||||
Object::Accessor provides an interface to create per object accessors (as
|
||||
opposed to per Class accessors, as, for example, Class::Accessor provides).
|
||||
|
||||
%prep
|
||||
%setup -q -n Object-Accessor-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc CHANGES README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 19 2013 Jitka Plesnikova <jplesnik@redhat.com> 0.48-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue