import perl-Text-VCardFast-0.11-6.el8

This commit is contained in:
CentOS Sources 2019-05-07 09:37:12 -04:00 committed by Andrew Lukoshko
commit c82c4125ff
3 changed files with 86 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/Text-VCardFast-0.11.tar.gz

View File

@ -0,0 +1 @@
cd6046240a3814de1f418c5e787e2090b73106bf SOURCES/Text-VCardFast-0.11.tar.gz

View File

@ -0,0 +1,84 @@
Name: perl-Text-VCardFast
Version: 0.11
Release: 6%{?dist}
Summary: Perl extension for very fast parsing of VCards
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-VCardFast/
Source0: http://www.cpan.org/authors/id/B/BR/BRONG/Text-VCardFast-%{version}.tar.gz
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(:VERSION) >= 5.14.2
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Tests:
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(FindBin)
BuildRequires: perl(JSON::XS)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Text::VCardFast is designed to parse VCards very quickly compared to pure-Perl
solutions. It has a Perl and an XS version of the same API, accessible
as vcard2hash_pp and vcard2hash_c, with the XS version being preferred.
%prep
%setup -q -n Text-VCardFast-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Text*
%{_mandir}/man3/*
%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Nov 21 2016 Petr Pisar <ppisar@redhat.com> - 0.11-1
- 0.11 bump
* Tue Nov 15 2016 Petr Pisar <ppisar@redhat.com> - 0.09-2
- Respect default compiler flags (CPAN RT#118784)
* Tue Nov 15 2016 Petr Pisar <ppisar@redhat.com> - 0.09-1
- 0.09 bump
* Fri Nov 11 2016 Petr Pisar <ppisar@redhat.com> 0.08-1
- Specfile autogenerated by cpanspec 1.78.