commit d3d17862f39ae5903553789a89e7236eacb19b73371aa5b91f9b52c2b6e5c112 Author: Pascal Bleser Date: Thu Oct 27 19:53:23 2011 +0000 0.02 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-SerializeUtils?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/App-SerializeUtils-0.02.tar.gz b/App-SerializeUtils-0.02.tar.gz new file mode 100644 index 0000000..a01b900 --- /dev/null +++ b/App-SerializeUtils-0.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ddba5184dc32a52ef8b0beb07cb37c17c5e5ed3055d6a496cec1445a1cf9f19 +size 10636 diff --git a/perl-App-SerializeUtils.changes b/perl-App-SerializeUtils.changes new file mode 100644 index 0000000..cd206fd --- /dev/null +++ b/perl-App-SerializeUtils.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Oct 27 19:55:31 CET 2011 - pascal.bleser@opensuse.org + +- initial version (0.02) + diff --git a/perl-App-SerializeUtils.spec b/perl-App-SerializeUtils.spec new file mode 100644 index 0000000..d24ee4b --- /dev/null +++ b/perl-App-SerializeUtils.spec @@ -0,0 +1,118 @@ +# +# spec file for package perl-App-SerializeUtils +# +# Copyright (c) 2011 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/ +# + + + +Name: perl-App-SerializeUtils +Version: 0.02 +Release: 0 +Summary: Perl Module for Serialization Tasks +Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHARYANTO/App-SerializeUtils-%{version}.tar.gz +Url: http://search.cpan.org/dist/App-SerializeUtils +Group: Development/Libraries/Perl +License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} +BuildRequires: perl-macros +BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Data::Dump) +BuildRequires: perl(YAML::Syck) +BuildRequires: perl(JSON) +BuildRequires: perl(PHP::Serialization) +Requires: perl(Data::Dump) +Requires: perl(YAML::Syck) +Requires: perl(JSON) +Requires: perl(PHP::Serialization) +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif + +%description +This package contains a Perl module to convert between different serializable +formats. + +%package -n serialize-utils +Summary: Command-Line Utilities for Serialization Tasks +Group: Productivity/Text/Convertors +Requires: %{name} = %{version} + +%description -n serialize-utils +This package contains command-line utilities to convert between different +serializable formats: +* Data::Dump +* PHP serializable +* YAML +* JSON +* YAML + +It also includes a pretty-printer for JSON. + +%prep +%setup -q -n "App-SerializeUtils-%{version}" + +%build +%__perl ./Build.PL +./Build + +%install +./Build pure_install --destdir "%{buildroot}" --installdirs vendor +%perl_process_packlist + +%check +./Build test + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%doc README Changes LICENSE +%dir %{perl_vendorlib}/App +%{perl_vendorlib}/App/SerializeUtils.pm +%doc %{perl_man3dir}/App::SerializeUtils.%{perl_man3ext}%{ext_man} + +%files -n serialize-utils +%defattr(-,root,root) +%{_bindir}/dd2json +%{_bindir}/dd2php +%{_bindir}/dd2yaml +%{_bindir}/json2dd +%{_bindir}/json2php +%{_bindir}/json2yaml +%{_bindir}/php2dd +%{_bindir}/php2json +%{_bindir}/php2yaml +%{_bindir}/pp-json +%{_bindir}/yaml2dd +%{_bindir}/yaml2json +%{_bindir}/yaml2php +%doc %{_mandir}/man1/dd2json.1* +%doc %{_mandir}/man1/dd2php.1* +%doc %{_mandir}/man1/dd2yaml.1* +%doc %{_mandir}/man1/json2dd.1* +%doc %{_mandir}/man1/json2php.1* +%doc %{_mandir}/man1/json2yaml.1* +%doc %{_mandir}/man1/php2dd.1* +%doc %{_mandir}/man1/php2json.1* +%doc %{_mandir}/man1/php2yaml.1* +%doc %{_mandir}/man1/pp-json.1* +%doc %{_mandir}/man1/yaml2dd.1* +%doc %{_mandir}/man1/yaml2json.1* +%doc %{_mandir}/man1/yaml2php.1* + +%changelog