2009-06-21 02:13:28 +00:00
|
|
|
#
|
2011-03-04 16:35:11 +00:00
|
|
|
# spec file for package perl-Data-Serializer
|
2011-01-15 12:18:28 +00:00
|
|
|
#
|
2020-02-03 12:01:03 +00:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-06-21 02:13:28 +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.
|
|
|
|
|
2020-02-03 12:01:03 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-06-21 02:13:28 +00:00
|
|
|
#
|
|
|
|
|
2015-04-14 08:06:24 +00:00
|
|
|
|
2009-06-21 02:13:28 +00:00
|
|
|
Name: perl-Data-Serializer
|
2020-02-03 12:01:03 +00:00
|
|
|
Version: 0.65
|
2015-04-14 08:06:24 +00:00
|
|
|
Release: 0
|
2011-01-15 12:18:28 +00:00
|
|
|
%define cpan_name Data-Serializer
|
|
|
|
Summary: Modules that serialize data structures
|
2020-02-03 12:01:03 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2009-06-21 02:13:28 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-02-03 12:01:03 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEELY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2011-03-04 16:35:11 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2009-06-21 02:13:28 +00:00
|
|
|
BuildRequires: perl(Digest::SHA)
|
2020-02-03 12:01:03 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.350000
|
2011-01-15 12:18:28 +00:00
|
|
|
Requires: perl(Digest::SHA)
|
2015-04-14 08:06:24 +00:00
|
|
|
Recommends: perl(Bencode)
|
|
|
|
Recommends: perl(Compress::PPMd)
|
|
|
|
Recommends: perl(Compress::Zlib)
|
|
|
|
Recommends: perl(Config::General)
|
|
|
|
Recommends: perl(Convert::Bencode)
|
|
|
|
Recommends: perl(Convert::Bencode_XS)
|
|
|
|
Recommends: perl(Crypt::Blowfish)
|
|
|
|
Recommends: perl(Crypt::CBC)
|
|
|
|
Recommends: perl(Data::Denter)
|
|
|
|
Recommends: perl(Data::Taxi)
|
|
|
|
Recommends: perl(FreezeThaw)
|
|
|
|
Recommends: perl(JSON)
|
|
|
|
Recommends: perl(JSON::Syck)
|
|
|
|
Recommends: perl(JSON::XS)
|
|
|
|
Recommends: perl(PHP::Serialization)
|
|
|
|
Recommends: perl(XML::Dumper)
|
|
|
|
Recommends: perl(XML::Simple)
|
|
|
|
Recommends: perl(YAML)
|
|
|
|
Recommends: perl(YAML::Syck)
|
2011-01-15 12:18:28 +00:00
|
|
|
%{perl_requires}
|
2009-06-21 02:13:28 +00:00
|
|
|
|
|
|
|
%description
|
2011-01-15 12:18:28 +00:00
|
|
|
Provides a unified interface to the various serializing modules currently
|
|
|
|
available. Adds the functionality of both compression and encryption.
|
2009-06-21 02:13:28 +00:00
|
|
|
|
2020-02-03 12:01:03 +00:00
|
|
|
By default Data::Serializer(3) adds minor metadata and encodes serialized
|
|
|
|
data structures in it's own format. If you are looking for a simple unified
|
|
|
|
pass through interface to the underlying serializers then look into
|
|
|
|
Data::Serializer::Raw(3) that comes bundled with Data::Serializer(3).
|
2009-06-21 02:13:28 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2020-02-03 12:01:03 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2009-06-21 02:13:28 +00:00
|
|
|
|
|
|
|
%build
|
2020-02-03 12:01:03 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
2011-01-15 12:18:28 +00:00
|
|
|
./Build build flags=%{?_smp_mflags}
|
2009-06-21 02:13:28 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%install
|
2011-01-15 12:18:28 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
2009-06-21 02:13:28 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2015-04-14 08:06:24 +00:00
|
|
|
%defattr(-,root,root,755)
|
2020-02-03 12:01:03 +00:00
|
|
|
%doc Changes examples README
|
2009-06-21 02:13:28 +00:00
|
|
|
|
|
|
|
%changelog
|