2011-10-27 19:53:23 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-App-SerializeUtils
|
|
|
|
#
|
2016-01-02 21:16:27 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-10-27 19:53:23 +00:00
|
|
|
#
|
|
|
|
# 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
|
2016-01-02 21:16:27 +00:00
|
|
|
Version: 0.09
|
2011-10-27 19:53:23 +00:00
|
|
|
Release: 0
|
2015-04-16 19:52:28 +00:00
|
|
|
%define cpan_name App-SerializeUtils
|
|
|
|
Summary: Utilities for serialization tasks
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-10-27 19:53:23 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-16 19:52:28 +00:00
|
|
|
Url: http://search.cpan.org/dist/App-SerializeUtils/
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
BuildArch: noarch
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Data::Dump)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(Data::Dump::Color)
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl(JSON)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
BuildRequires: perl(JSON::XS)
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl(PHP::Serialization)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(Perl::osnames) >= 0.09
|
|
|
|
BuildRequires: perl(Sereal::Decoder)
|
|
|
|
BuildRequires: perl(Sereal::Encoder)
|
|
|
|
BuildRequires: perl(YAML::Syck)
|
|
|
|
BuildRequires: perl(YAML::XS)
|
2011-10-27 19:53:23 +00:00
|
|
|
Requires: perl(Data::Dump)
|
2015-04-16 19:52:28 +00:00
|
|
|
Requires: perl(Data::Dump::Color)
|
2011-10-27 19:53:23 +00:00
|
|
|
Requires: perl(JSON)
|
2015-04-16 19:52:28 +00:00
|
|
|
Requires: perl(JSON::PP)
|
|
|
|
Requires: perl(JSON::XS)
|
2011-10-27 19:53:23 +00:00
|
|
|
Requires: perl(PHP::Serialization)
|
2015-04-16 19:52:28 +00:00
|
|
|
Requires: perl(Sereal::Decoder)
|
|
|
|
Requires: perl(Sereal::Encoder)
|
|
|
|
Requires: perl(YAML::Syck)
|
|
|
|
Requires: perl(YAML::XS)
|
|
|
|
%{perl_requires}
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-16 19:52:28 +00:00
|
|
|
This distributions provides the following command-line utilities related to
|
|
|
|
serialization:
|
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * check-json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * check-phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * check-yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2ddc
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2sereal
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2storable
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * dd2yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2dd
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2ddc
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2sereal
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2storable
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * json2yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2dd
|
2011-10-27 19:53:23 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2ddc
|
2011-10-27 19:53:23 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2json
|
2011-10-27 19:53:23 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2sereal
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2storable
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * phpser2yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * pp-json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2dd
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2ddc
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2storable
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * sereal2yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * serializeutils-convert
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2dd
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2ddc
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2sereal
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * storable2yaml
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2dd
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2ddc
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2phpser
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2sereal
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * yaml2storabls
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%prep
|
2015-04-16 19:52:28 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%build
|
2015-04-16 19:52:28 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%install
|
2015-04-16 19:52:28 +00:00
|
|
|
%perl_make_install
|
2011-10-27 19:53:23 +00:00
|
|
|
%perl_process_packlist
|
2015-04-16 19:52:28 +00:00
|
|
|
%perl_gen_filelist
|
2011-10-27 19:53:23 +00:00
|
|
|
|
2015-04-16 19:52:28 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2016-01-02 21:16:27 +00:00
|
|
|
%doc Changes LICENSE README
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%changelog
|