2097f42
Name:           perl-Mail-IMAPClient
b859f4e
Version:        3.39
0e825ab
Release:        3%{?dist}
2097f42
Summary:        An IMAP Client API
2097f42
Group:          Development/Libraries
bc2d1d3
License:        GPL+ or Artistic
2097f42
URL:            http://search.cpan.org/dist/Mail-IMAPClient/
a9b8a06
Source0:        http://search.cpan.org/CPAN/authors/id/P/PL/PLOBBES/Mail-IMAPClient-%{version}.tar.gz
2097f42
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
688b3c2
BuildRequires:  perl-generators
2097f42
BuildRequires:  perl(ExtUtils::MakeMaker), perl(IO::Socket), perl(constant), perl(Socket)
2097f42
BuildRequires:  perl(IO::File), perl(IO::Select), perl(Fcntl), perl(Errno), perl(Carp)
bc2d1d3
BuildRequires:  perl(Data::Dumper), perl(Parse::RecDescent), perl(Test::More)
b859f4e
BuildRequires:	perl(Authen::SASL), perl(Test::Pod)
2097f42
BuildArch:      noarch
2097f42
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2097f42
2097f42
%description
2097f42
This module provides perl routines that simplify a sockets connection 
2097f42
to and an IMAP conversation with an IMAP server. 
2097f42
2097f42
%prep
2097f42
%setup -q -n Mail-IMAPClient-%{version}
a9b8a06
sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' examples/*.pl
2097f42
7b3b607
# Turn off exec bits in examples to avoid docfile dependencies
7b3b607
chmod -c -x examples/*.pl
7b3b607
7b3b607
# Fix character encoding in documentation
7b3b607
iconv -f iso-8859-1 -t utf-8 < Changes > Changes.utf8
7b3b607
mv Changes.utf8 Changes
7b3b607
2097f42
%build
a9b8a06
# the extended tests cannot be run without an IMAP server
2097f42
yes n | %{__perl} Makefile.PL INSTALLDIRS=vendor
2097f42
make
2097f42
2097f42
%install
2097f42
rm -rf $RPM_BUILD_ROOT
2097f42
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
2097f42
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
2097f42
chmod -R u+w $RPM_BUILD_ROOT/*
2097f42
2097f42
%check
2097f42
make test
2097f42
2097f42
%clean
2097f42
rm -rf $RPM_BUILD_ROOT
2097f42
2097f42
%files
2097f42
%defattr(-,root,root,-)
5315e1d
%doc Changes README examples/
2097f42
%{perl_vendorlib}/Mail/
2097f42
%{_mandir}/man3/*.3*
2097f42
2097f42
%changelog
0e825ab
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.39-3
0e825ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0e825ab
bce15f1
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.39-2
bce15f1
- Perl 5.26 rebuild
bce15f1
b859f4e
* Tue Feb  7 2017 Tom Callaway <spot@fedoraproject.org> - 3.39-1
b859f4e
- update to 3.39
b859f4e
2baefff
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.38-2
2baefff
- Perl 5.24 rebuild
2baefff
cf9885f
* Thu Feb 11 2016 Tom Callaway <spot@fedoraproject.org> - 3.38-1
cf9885f
- update to 3.38
cf9885f
2cb455e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.37-2
2cb455e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2cb455e
7b916e7
* Thu Sep 24 2015 Tom Callaway <spot@fedoraproject.org> - 3.37-1
7b916e7
- update to 3.37
7b916e7
d00c729
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.35-5
d00c729
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d00c729
c5911fa
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.35-4
c5911fa
- Perl 5.22 rebuild
c5911fa
0012040
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.35-3
0012040
- Perl 5.20 rebuild
0012040
b53cca2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.35-2
b53cca2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b53cca2
25b3e78
* Thu Mar 13 2014 Nick Bebout <nb@fedoraproject.org> - 3.35-1
25b3e78
- Upgrade to 3.35
25b3e78
9950547
* Thu Oct 17 2013 Nick Bebout <nb@fedoraproject.org> - 3.34-1
9950547
- Upgrade to 3.34
9950547
fa12ada
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.33-3
fa12ada
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fa12ada
f0da96e
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 3.33-2
f0da96e
- Perl 5.18 rebuild
f0da96e
Nick Bebout 5a96c69
* Tue May 21 2013 Nick Bebout <nb@fedoraproject.org> - 3.33-1
Nick Bebout 5a96c69
- Upgrade to 3.33
Nick Bebout 5a96c69
98ab271
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.32-2
98ab271
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
98ab271
7542bfd
* Tue Sep 11 2012 Nick Bebout <nb@fedoraproject.org> - 3.32-1
7542bfd
- Upgrade to 3.32
7542bfd
482d75d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.31-3
482d75d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
482d75d
294f631
* Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 3.31-2
294f631
- Perl 5.16 rebuild
294f631
b5acc38
* Mon Apr 16 2012 Nick Bebout <nb@fedoraproject.org> - 3.31-1
b5acc38
- Upgrade to 3.31
b5acc38
fe99ce2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.30-2
fe99ce2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe99ce2
061ba59
* Tue Dec 13 2011 Nick Bebout <nb@fedoraproject.org> - 3.30-1
061ba59
- Upgrade to 3.30
061ba59
81337ec
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.28-2
81337ec
- Perl mass rebuild
81337ec
Nick Bebout 50a2245
* Wed Mar 16 2011 Nick Bebout <nb@fedoraproject.org> - 3.28-1
Nick Bebout 50a2245
- Upgrade to 3.28
Nick Bebout 50a2245
13ea195
* Mon Feb 21 2011 Nick Bebout <nb@fedoraproject.org> - 3.27-1
13ea195
- Upgrade to 3.27
13ea195
d1ad6ef
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.25-3
d1ad6ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d1ad6ef
7b3b607
* Sat Oct  2 2010 Paul Howarth <paul@city-fan.org> - 3.25-2
7b3b607
- turn off exec bits on examples to avoid docfile dependencies (#639523)
7b3b607
- fix character encoding in documentation
7b3b607
4662966
* Mon Jul 12 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.25-1
4662966
- update to 3.25
4662966
16632d7
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.21-3
16632d7
- Mass rebuild with perl-5.12.0
16632d7
4ea9b15
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 3.21-2
4ea9b15
- rebuild against perl 5.10.1
4ea9b15
25039b1
* Fri Sep 25 2009 Stepan Kasal <skasal@redhat.com> - 3.21-1
25039b1
- new upstream source
25039b1
a9b8a06
* Sat Sep  5 2009 Stepan Kasal <skasal@redhat.com> - 3.20-1
a9b8a06
- new upstream source
a9b8a06
61b4efb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14-2
61b4efb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
61b4efb
9e147cc
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.14-1
9e147cc
- update to 3.14
9e147cc
24f49c4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.08-2
24f49c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
24f49c4
9ecdd12
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.08-1
9ecdd12
- 3.08
9ecdd12
a9f85a5
* Tue Mar 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.05-1
a9f85a5
- 3.05
a9f85a5
db7bb85
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-6
db7bb85
- Rebuild for perl 5.10 (again)
db7bb85
5df8caf
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-5
5df8caf
- rebuild for new perl
5df8caf
bc2d1d3
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-4
bc2d1d3
- license tag fix
bc2d1d3
2097f42
* Mon Apr  9 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-3
2097f42
- set examples as non-exec, fix intepreter
2097f42
2097f42
* Wed Apr  4 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-2
2097f42
- add docs/ and examples/ as %%doc
2097f42
2097f42
* Mon Apr  2 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.9-1
2097f42
- Initial package for Fedora