970533a
Name:           perl-PHP-Serialization
970533a
Version:        0.27
970533a
Release:        1%{?dist}
970533a
Summary:        Converts between PHP's serialize() output and the equivalent Perl structure
970533a
License:        GPL+ or Artistic
970533a
Group:          Development/Libraries
970533a
URL:            http://search.cpan.org/dist/PHP-Serialization/
970533a
Source0:        http://www.cpan.org/authors/id/J/JB/JBROWN/php-serialization/PHP-Serialization-%{version}.tar.gz
970533a
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
970533a
BuildArch:      noarch
970533a
BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More)
970533a
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
970533a
970533a
%description
970533a
Provides a simple, quick means of serializing perl memory structures
970533a
(including object data!) into a format that PHP can deserialize() and
970533a
access, and vice versa.
970533a
970533a
%prep
970533a
%setup -q -n PHP-Serialization-%{version}
970533a
970533a
%build
970533a
%{__perl} Makefile.PL INSTALLDIRS=vendor
970533a
make %{?_smp_mflags}
970533a
970533a
%install
970533a
rm -rf $RPM_BUILD_ROOT
970533a
970533a
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
970533a
970533a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
970533a
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
970533a
970533a
%{_fixperms} $RPM_BUILD_ROOT/*
970533a
970533a
%check
970533a
make test
970533a
970533a
%clean
970533a
rm -rf $RPM_BUILD_ROOT
970533a
970533a
%files
970533a
%defattr(-,root,root,-)
970533a
%doc Changes README
970533a
%{perl_vendorlib}/*
970533a
%{_mandir}/man3/*
970533a
970533a
%changelog
970533a
* Tue Feb 05 2008 Jason Tibbitts <tibbs@math.uh.edu> 0.27-1
970533a
- Specfile autogenerated by cpanspec 1.74.