Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > d71401f3bb3eff30baa066ced579ff89 > files > 2

perl-DBIx-Class-ResultSet-RecursiveUpdate-0.240.0-1.mga2.src.rpm

%define upstream_name    DBIx-Class-ResultSet-RecursiveUpdate
%define upstream_version 0.24

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    DBIx-Class extension for providing recursive updates
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/DBIx/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp::Clan) >= 6.40.0
BuildRequires: perl(DBD::SQLite) >= 1.210.0
BuildRequires: perl(DBIx::Class) >= 0.81.30
BuildRequires: perl(DBIx::Class::IntrospectableM2M)
BuildRequires: perl(DateTime)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0
BuildRequires: perl(List::MoreUtils) >= 0.220.0
BuildRequires: perl(Readonly) >= 1.30.0
BuildRequires: perl(SQL::Translator) >= 0.110.60
BuildRequires: perl(Test::More) >= 0.880.0
BuildRequires: perl(Test::Warn) >= 0.200.0
BuildArch:  noarch

%description
You can feed the ->create method of DBIx::Class with a recursive datastructure
and have the related records created. Unfortunately you cannot do a similar
thing with update_or_create. This module tries to fill that void until
DBIx::Class has an api itself.

The functional interface can be used without modifications of the model, for
example by form processors like HTML::FormHandler::Model::DBIC.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE META.json META.yml README
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog
* Wed Jun 15 2011 jquelin <jquelin> 0.240.0-1.mga2
+ Revision: 106565
- update to 0.24

* Fri Feb 25 2011 jquelin <jquelin> 0.230.0-1.mga1
+ Revision: 59696
- update to 0.23

* Wed Jan 26 2011 jquelin <jquelin> 0.210.0-2.mga1
+ Revision: 39987
- mageia rebuild
- imported package perl-DBIx-Class-ResultSet-RecursiveUpdate


* Sat Dec 25 2010 Shlomi Fish <shlomif@mandriva.org> 0.210.0-2mdv2011.0
+ Revision: 624770
- Add the missing SQL::Abstract dependency
- import perl-DBIx-Class-ResultSet-RecursiveUpdate