2013-11-26 14:52:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Types-Serialiser
|
|
|
|
#
|
2020-12-01 10:05:41 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2013-11-26 14:52:53 +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-12-01 10:05:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-11-26 14:52:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Types-Serialiser
|
2020-12-01 10:05:41 +00:00
|
|
|
Version: 1.01
|
2013-11-26 14:52:53 +00:00
|
|
|
Release: 0
|
2020-12-01 10:05:41 +00:00
|
|
|
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
2013-11-26 14:52:53 +00:00
|
|
|
%define cpan_name Types-Serialiser
|
2014-05-27 14:02:56 +00:00
|
|
|
Summary: Simple data types for common serialisation formats
|
2020-12-01 14:05:51 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2013-11-26 14:52:53 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-12-01 10:05:41 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:18:18 +02:00
|
|
|
Source100: README.md
|
2013-11-26 14:52:53 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(common::sense)
|
|
|
|
Requires: perl(common::sense)
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module provides some extra datatypes that are used by common
|
|
|
|
serialisation formats such as JSON or CBOR. The idea is to have a
|
|
|
|
repository of simple/small constants and containers that can be shared by
|
|
|
|
different implementations so they become interoperable between each other.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2020-12-01 10:05:41 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2013-11-26 14:52:53 +00:00
|
|
|
|
|
|
|
%check
|
2020-12-01 10:05:41 +00:00
|
|
|
make test
|
2013-11-26 14:52:53 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2020-12-01 10:05:41 +00:00
|
|
|
%doc Changes README
|
|
|
|
%license COPYING
|
2013-11-26 14:52:53 +00:00
|
|
|
|
|
|
|
%changelog
|