commit fa028430d9b9b8755c0aba764eda0a05cba1b798 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Thu Jun 20 07:26:43 2013 +0200 Initial import .gitignore | 1 + perl-Object-Accessor.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e393768..d89d8c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Object-Accessor-0.32.tar.gz +/Object-Accessor-0.48.tar.gz diff --git a/perl-Object-Accessor.spec b/perl-Object-Accessor.spec new file mode 100644 index 0000000..ff7be2d --- /dev/null +++ b/perl-Object-Accessor.spec @@ -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@xxxxxxxxxx> 0.48-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..ff34cc4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +46a3ce50d8817938cecbb8e02eda9500 Object-Accessor-0.48.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel