forked from pool/perl-PHP-Serialization
new package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PHP-Serialization?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
PHP-Serialization-0.32.tar.gz
Normal file
3
PHP-Serialization-0.32.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:37aa5bb2f4c63cc187defcafbf139c788a429b738b536c2136d57113fbc30aac
|
||||||
|
size 6879
|
34
perl-PHP-Serialization.changes
Normal file
34
perl-PHP-Serialization.changes
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 21 03:04:11 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 0.32
|
||||||
|
o 0.32
|
||||||
|
- Making finite state machine
|
||||||
|
- Fixed bug in arrays RT21218
|
||||||
|
- RT24441 is not a bug
|
||||||
|
- Croaks on incomplete strings. RT44700
|
||||||
|
- Fixed bug with float as index. RT42029
|
||||||
|
- Removed warning from POD
|
||||||
|
- Changed todo in POD
|
||||||
|
- BOLAV@cpan.org
|
||||||
|
o 0.31
|
||||||
|
- Add warning note to POD
|
||||||
|
- Take patch from RT#45024 to fix boolean deserialization bug.
|
||||||
|
o 0.30
|
||||||
|
- Significantly cleanup the code to be much prettier.
|
||||||
|
- Fix RT#42279, output sizes a bytes, not characters so that
|
||||||
|
serializing multibyte data works correctly.
|
||||||
|
o 0.29
|
||||||
|
- Fix bug with negative numbers, RT#6402, patch from
|
||||||
|
<tom [...] eborcom.com>
|
||||||
|
- Add TODO test for RT21218
|
||||||
|
- Add TODO test for RT24441
|
||||||
|
o 0.28
|
||||||
|
- Serializing long integers comes out as -1 on the PHP end
|
||||||
|
as noted in RT#6112 patch from <kcivey [...] cpcug.org>.
|
||||||
|
- Add test for the issue above (t0m).
|
||||||
|
- Fix POD as noted in RT#6113 by MCMAHON.
|
||||||
|
- Only require perl 5.6 in Makefile.PL as noted in RT#17034
|
||||||
|
by <kcivey [...] cpcug.org>
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
91
perl-PHP-Serialization.spec
Normal file
91
perl-PHP-Serialization.spec
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-PHP-Serialization
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
#Distribution: %dist
|
||||||
|
#Packager: %packager
|
||||||
|
#Vendor: %vendor
|
||||||
|
|
||||||
|
Name: perl-PHP-Serialization
|
||||||
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
|
Summary: De-/serialize() PHP output into Perl
|
||||||
|
Version: 0.32
|
||||||
|
Release: 1
|
||||||
|
License: artistic
|
||||||
|
Group: Applications/CPAN
|
||||||
|
Url: http://www.cpan.org
|
||||||
|
Source0: %{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
#BuildRequires: perl(Module::Build)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%description
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%{cpan_name} module for perl
|
||||||
|
|
||||||
|
This module provides a quick, clean, and simple means of decoding/encoding PHP
|
||||||
|
serialized memory structures/objects into compatible Perl memory structures.
|
||||||
|
It provides both a Object oriented methodology, as well as function based
|
||||||
|
wrappers using the same calling interface
|
||||||
|
as PHP`s serialize()/unserialize() functions.
|
||||||
|
|
||||||
|
Author: Jesse Brown <jbrown@cpan.org>
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%prep
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%build
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||||
|
%{__make}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%install
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%clean
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%files -f %{name}.files
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# normally you only need to check for doc files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
%changelog
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.27
|
||||||
|
- initial Package
|
Reference in New Issue
Block a user