Name: perl-Net-IMAP-Client Version: 0.9507 Release: 4%{?dist} Summary: IMAP client library for Perl License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Net-IMAP-Client Source0: http://www.cpan.org/authors/id/G/GA/GANGLION/Net-IMAP-Client-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(vars) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(overload) BuildRequires: perl(Encode) BuildRequires: perl(Encode::MIME::Header) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Socket) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::Socket::SSL) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(List::Util) BuildRequires: perl(Test::More) %description Net::IMAP::Client provides methods to access an IMAP server. It aims to provide a simple and clean API, while employing a rigorous parser for IMAP responses in order to create Perl data structures from them. The code is simple, clean and extensible. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Net-IMAP-Client-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} # Remove author tests rm -f %{buildroot}%{_libexecdir}/%{name}/t/boilerplate.t rm -f %{buildroot}%{_libexecdir}/%{name}/t/pod* cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %{_fixperms} %{buildroot}/* %check make test %files %{perl_vendorlib}/* %{_mandir}/man3/* %doc Changes META.json README %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.9507-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.9507-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.9507-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Feb 17 2023 Michal Josef Špaček - 0.9507-1 - bump 0.9507 * Fri Jan 20 2023 Fedora Release Engineering - 0.9505-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 12 2022 Michal Josef Špaček - 0.9505-14 - Fix trailing whitespace - Package tests - Simplify and fix build and install phases - Update license to SPDX format * Fri Jul 22 2022 Fedora Release Engineering - 0.9505-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.9505-12 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.9505-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.9505-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.9505-9 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.9505-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.9505-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.9505-6 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.9505-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.9505-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.9505-3 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.9505-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 27 2018 Lubomir Rintel - 0.9505-1 - Initial packaging, based on cpanspec 1.78