|
|
add4a89 |
Name: perl-Mixin-ExtraFields
|
|
|
39c88a6 |
Version: 0.100971
|
|
|
c7e7d6e |
Release: 2%{?dist}
|
|
|
add4a89 |
Summary: Add extra stashes of data to your objects
|
|
|
add4a89 |
License: GPL+ or Artistic
|
|
|
add4a89 |
Group: Development/Libraries
|
|
|
add4a89 |
URL: http://search.cpan.org/dist/Mixin-ExtraFields/
|
|
|
add4a89 |
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-ExtraFields-%{version}.tar.gz
|
|
|
add4a89 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
add4a89 |
BuildArch: noarch
|
|
|
add4a89 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
add4a89 |
BuildRequires: perl(Sub::Exporter) => 0.972
|
|
|
add4a89 |
BuildRequires: perl(Sub::Install)
|
|
|
add4a89 |
BuildRequires: perl(String::RewritePrefix)
|
|
|
add4a89 |
BuildRequires: perl(Test::More)
|
|
|
add4a89 |
BuildRequires: perl(Test::Pod)
|
|
|
add4a89 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
add4a89 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
add4a89 |
|
|
|
add4a89 |
%{?perl_default_filter}
|
|
|
add4a89 |
|
|
|
add4a89 |
%description
|
|
|
add4a89 |
Mixin::ExtraFields provides a simple way to add an arbitrary number of stashes
|
|
|
add4a89 |
for named data. These data can be stored in the object, in a database, or
|
|
|
add4a89 |
anywhere else. The storage mechanism is abstracted away from the provided
|
|
|
add4a89 |
interface, so one storage mechanism can be easily swapped for another.
|
|
|
add4a89 |
Multiple ExtraFields stashes can be mixed into one class, using one or many
|
|
|
add4a89 |
storage mechanisms.
|
|
|
add4a89 |
|
|
|
add4a89 |
%prep
|
|
|
add4a89 |
%setup -q -n Mixin-ExtraFields-%{version}
|
|
|
add4a89 |
|
|
|
add4a89 |
%build
|
|
|
add4a89 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
add4a89 |
make %{?_smp_mflags}
|
|
|
add4a89 |
|
|
|
add4a89 |
%install
|
|
|
add4a89 |
rm -rf $RPM_BUILD_ROOT
|
|
|
add4a89 |
|
|
|
add4a89 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
add4a89 |
|
|
|
add4a89 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
add4a89 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
add4a89 |
|
|
|
add4a89 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
add4a89 |
|
|
|
add4a89 |
%check
|
|
|
add4a89 |
make test
|
|
|
add4a89 |
|
|
|
add4a89 |
%clean
|
|
|
add4a89 |
rm -rf $RPM_BUILD_ROOT
|
|
|
add4a89 |
|
|
|
add4a89 |
%files
|
|
|
add4a89 |
%defattr(-,root,root,-)
|
|
|
add4a89 |
%doc Changes LICENSE README
|
|
|
add4a89 |
%{perl_vendorlib}/*
|
|
|
add4a89 |
%{_mandir}/man3/*
|
|
|
add4a89 |
|
|
|
add4a89 |
%changelog
|
|
|
c7e7d6e |
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.100971-2
|
|
|
c7e7d6e |
- Mass rebuild with perl-5.12.0
|
|
|
c7e7d6e |
|
|
|
39c88a6 |
* Sun Apr 11 2010 Iain Arnell <iarnell@gmail.com> 0.100971-1
|
|
|
39c88a6 |
- update to latest upstream version
|
|
|
39c88a6 |
|
|
|
add4a89 |
* Sun Feb 21 2010 Iain Arnell <iarnell@gmail.com> 0.008-1
|
|
|
add4a89 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
add4a89 |
- use perl_default_filter and DESTDIR
|
|
|
add4a89 |
- tweak {build,}requires
|