You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
5.0 KiB
156 lines
5.0 KiB
Name: perl-CBOR-XS
|
|
Version: 1.83
|
|
Release: 1%{?dist}
|
|
Summary: Concise Binary Object Representation (CBOR)
|
|
# COPYING: GPLv3+
|
|
## Replaced by system header-only package
|
|
# ecb.h: BSD or GPLv2+
|
|
License: GPLv3+ and (BSD or GPLv2+)
|
|
URL: https://metacpan.org/release/CBOR-XS
|
|
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/CBOR-XS-%{version}.tar.gz
|
|
# Use system libecb
|
|
Patch0: CBOR-XS-1.6-Include-ecb.h-from-system.patch
|
|
# Silent compiler warnings
|
|
Patch1: CBOR-XS-1.5-Cast-char-and-U8-where-needed.patch
|
|
BuildRequires: coreutils
|
|
BuildRequires: findutils
|
|
# gcc for standard header files
|
|
BuildRequires: gcc
|
|
BuildRequires: libecb-static
|
|
BuildRequires: make
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl-devel
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(Canary::Stability)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: sed
|
|
# Run-time:
|
|
BuildRequires: perl(common::sense)
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(Math::BigFloat)
|
|
BuildRequires: perl(Math::BigInt)
|
|
BuildRequires: perl(Math::BigRat)
|
|
BuildRequires: perl(Time::Piece)
|
|
BuildRequires: perl(Types::Serialiser)
|
|
BuildRequires: perl(URI)
|
|
BuildRequires: perl(XSLoader)
|
|
# Tests:
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(Math::BigInt::FastCalc)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Math::BigFloat)
|
|
Requires: perl(Math::BigInt)
|
|
Requires: perl(Math::BigRat)
|
|
Requires: perl(Time::Piece)
|
|
Requires: perl(URI)
|
|
|
|
%description
|
|
This module converts Perl data structures to the Concise Binary Object
|
|
Representation (CBOR) and vice versa. CBOR is a fast binary serialization
|
|
format that aims to use an (almost) superset of the JSON data model, i.e.
|
|
when you can represent something useful in JSON, you should be able to
|
|
represent it in CBOR.
|
|
|
|
%prep
|
|
%setup -q -n CBOR-XS-%{version}
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
# Remove bundled libecb
|
|
rm ecb.h
|
|
sed -i -e '/^ecb\.h/d' MANIFEST
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" </dev/null
|
|
%{make_build}
|
|
|
|
%install
|
|
%{make_install}
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc Changes README
|
|
%{perl_vendorarch}/auto/*
|
|
%{perl_vendorarch}/CBOR*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Tue Dec 08 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.83-1
|
|
- 1.83 bump
|
|
|
|
* Tue Dec 01 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.82-1
|
|
- 1.82 bump
|
|
|
|
* Mon Nov 30 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.80-1
|
|
- 1.8 bump
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-6
|
|
- Perl 5.32 rebuild
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-3
|
|
- Perl 5.30 rebuild
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.71-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Mon Nov 19 2018 Petr Pisar <ppisar@redhat.com> - 1.71-1
|
|
- 0.71 bump
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.7-5
|
|
- Perl 5.28 rebuild
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Tue Jun 27 2017 Petr Pisar <ppisar@redhat.com> - 1.7-1
|
|
- 1.7 bump
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.6-3
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Thu Dec 08 2016 Petr Pisar <ppisar@redhat.com> - 1.6-1
|
|
- 1.6 bump
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-2
|
|
- Perl 5.24 rebuild
|
|
|
|
* Wed Apr 27 2016 Petr Pisar <ppisar@redhat.com> - 1.5-1
|
|
- 1.5 bump
|
|
|
|
* Mon Feb 29 2016 Petr Pisar <ppisar@redhat.com> - 1.4.1-1
|
|
- 1.41 bump
|
|
|
|
* Tue Feb 09 2016 Petr Pisar <ppisar@redhat.com> - 1.4-1
|
|
- 1.4 bump
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Sep 29 2015 Petr Pisar <ppisar@redhat.com> 1.3-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|