2011-10-27 19:53:23 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-App-SerializeUtils
|
|
|
|
#
|
2024-07-15 20:47:13 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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.
|
|
|
|
|
2024-07-15 20:47:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-10-27 19:53:23 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-07-15 20:47:13 +00:00
|
|
|
%define cpan_name App-SerializeUtils
|
2011-10-27 19:53:23 +00:00
|
|
|
Name: perl-App-SerializeUtils
|
2024-07-15 20:47:13 +00:00
|
|
|
Version: 0.110.0
|
2011-10-27 19:53:23 +00:00
|
|
|
Release: 0
|
2024-07-15 20:47:13 +00:00
|
|
|
# 0.11 -> normalize -> 0.110.0
|
|
|
|
%define cpan_version 0.11
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2015-04-16 19:52:28 +00:00
|
|
|
Summary: Utilities for serialization tasks
|
2024-07-15 20:47:13 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-16 19:52:28 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:11:47 +02:00
|
|
|
Source100: README.md
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl-macros
|
2016-06-12 14:06:11 +00:00
|
|
|
BuildRequires: perl(Cpanel::JSON::XS)
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl(Data::Dump)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(Data::Dump::Color)
|
2016-06-12 14:06:11 +00:00
|
|
|
BuildRequires: perl(JSON::MaybeXS)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(JSON::PP)
|
2011-10-27 19:53:23 +00:00
|
|
|
BuildRequires: perl(PHP::Serialization)
|
2015-04-16 19:52:28 +00:00
|
|
|
BuildRequires: perl(Sereal::Decoder)
|
|
|
|
BuildRequires: perl(Sereal::Encoder)
|
|
|
|
BuildRequires: perl(YAML::Syck)
|
|
|
|
BuildRequires: perl(YAML::XS)
|
2016-06-12 14:06:11 +00:00
|
|
|
Requires: perl(Cpanel::JSON::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)
|
2016-06-12 14:06:11 +00:00
|
|
|
Requires: perl(JSON::MaybeXS)
|
2015-04-16 19:52:28 +00:00
|
|
|
Requires: perl(JSON::PP)
|
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)
|
2024-07-15 20:47:13 +00:00
|
|
|
Provides: perl(App::SerializeUtils) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-16 19:52:28 +00:00
|
|
|
%{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
|
|
|
|
2017-03-06 07:04:44 +00:00
|
|
|
* * pp-dd
|
|
|
|
|
2016-01-02 21:16:27 +00:00
|
|
|
* * pp-json
|
2015-04-16 19:52:28 +00:00
|
|
|
|
2017-03-06 07:04:44 +00:00
|
|
|
* * pp-yaml
|
|
|
|
|
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
|
2024-07-15 20:47:13 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-15 20:47:13 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2015-04-16 19:52:28 +00:00
|
|
|
|
|
|
|
%check
|
2024-07-15 20:47:13 +00:00
|
|
|
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
|
2017-03-06 07:04:44 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license LICENSE
|
2011-10-27 19:53:23 +00:00
|
|
|
|
|
|
|
%changelog
|