Name: perl-MooseX-Storage Version: 0.17 Release: 2%{?dist} # lib/MooseX/Storage.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: A serialization framework for Moose classes Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Storage-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-Storage BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Digest) BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::AtomicFile) BuildRequires: perl(JSON::Any) BuildRequires: perl(Moose) >= 0.39 BuildRequires: perl(Moose::Util::TypeConstraints) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Storable) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::JSON) BuildRequires: perl(Test::More) >= 0.42 BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::TempDir) >= 0.02 BuildRequires: perl(Test::YAML::Valid) # optional BuildRequires: perl(Best) # testing BuildRequires: perl(Digest) BuildRequires: perl(Digest::SHA1) BuildRequires: perl(File::NFSLock) BuildRequires: perl(Test::YAML::Valid) BuildRequires: perl(Test::JSON) # testing, until RHBZ#495401 is resolved BuildRequires: perl(YAML) BuildRequires: perl(YAML::Syck) %description MooseX::Storage is a serialization framework for Moose, it provides a very flexible and highly pluggable way to serialize Moose classes to a number of different formats and styles. This is still an early release of this module, so use with caution. It's outward facing serialization API should be considered stable, but I still reserve the right to make tweaks if I need too. Anything beyond the basic pack/unpack, freeze/thaw and load/store should not be relied on. There are 3 levels to the serialization, each of which builds upon the other and each of which can be customized to the specific needs of your class. %prep %setup -q -n MooseX-Storage-%{version} %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 make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Apr 18 2009 Chris Weyl 0.17-2 - update grammatically poor summary * Sun Apr 12 2009 Chris Weyl 0.17-1 - update to 0.17 * Wed Apr 08 2009 Chris Weyl 0.15-1 - update for submission * Mon Mar 09 2009 Chris Weyl 0.15-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)