From 8f5e01ea852fa30b56da37ebfc677d62634a4ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= <ti...@fedoraproject.org> Date: Wed, 28 May 2008 20:11:32 +0000 Subject: Initial import.
--- .cvsignore | 1 + perl-PHP-Serialization.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+) create mode 100644 perl-PHP-Serialization.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b0e7afa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +PHP-Serialization-0.27.tar.gz diff --git a/perl-PHP-Serialization.spec b/perl-PHP-Serialization.spec new file mode 100644 index 0000000..902e316 --- /dev/null +++ b/perl-PHP-Serialization.spec @@ -0,0 +1,50 @@ +Name: perl-PHP-Serialization +Version: 0.27 +Release: 1%{?dist} +Summary: Converts between PHP's serialize() output and the equivalent Perl structure +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/PHP-Serialization/ +Source0: http://www.cpan.org/authors/id/J/JB/JBROWN/php-serialization/PHP-Serialization-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Provides a simple, quick means of serializing perl memory structures +(including object data!) into a format that PHP can deserialize() and +access, and vice versa. + +%prep +%setup -q -n PHP-Serialization-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Feb 05 2008 Jason Tibbitts <ti...@math.uh.edu> 0.27-1 +- Specfile autogenerated by cpanspec 1.74. diff --git a/sources b/sources index e69de29..f5d935d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2fb3f63071c5c2119b4eebe39b329684 PHP-Serialization-0.27.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-PHP-Serialization.git/commit/?h=epel7&id=8f5e01ea852fa30b56da37ebfc677d62634a4ba6 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org