1 |
vip-ire |
1.1 |
Name: perl-Net-IMAP-Simple |
2 |
|
|
Version: 1.1916 |
3 |
|
|
Release: 3%{?dist} |
4 |
|
|
Summary: Simple IMAP account handling |
5 |
|
|
Group: Development/Libraries |
6 |
|
|
License: GPL+ or Artistic |
7 |
|
|
URL: http://search.cpan.org/dist/Net-IMAP-Simple |
8 |
|
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JE/JETTERO/Net-IMAP-Simple-%{version}.tar.gz |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
|
|
11 |
|
|
BuildArch: noarch |
12 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) |
13 |
|
|
BuildRequires: perl(IO::Socket) |
14 |
|
|
BuildRequires: perl(Regexp::Common) |
15 |
|
|
BuildRequires: perl(Class::Accessor) |
16 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
Perl extension for simple IMAP account handling, mostly compatible |
20 |
|
|
with Net::POP3. |
21 |
|
|
|
22 |
|
|
%prep |
23 |
|
|
%setup -q -n Net-IMAP-Simple-%{version} |
24 |
|
|
|
25 |
|
|
%build |
26 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
27 |
|
|
make %{?_smp_mflags} |
28 |
|
|
|
29 |
|
|
%install |
30 |
|
|
rm -rf $RPM_BUILD_ROOT |
31 |
|
|
make %{?_smp_mflags} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
32 |
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
33 |
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
34 |
|
|
chmod -R u+w $RPM_BUILD_ROOT |
35 |
|
|
|
36 |
|
|
%check |
37 |
|
|
make %{?_smp_mflags} test || : |
38 |
|
|
|
39 |
|
|
%clean |
40 |
|
|
rm -rf $RPM_BUILD_ROOT |
41 |
|
|
|
42 |
|
|
%files |
43 |
|
|
%defattr(-,root,root,-) |
44 |
|
|
%doc README Changes |
45 |
|
|
%dir %{perl_vendorlib}/Net/ |
46 |
|
|
%dir %{perl_vendorlib}/Net/IMAP/ |
47 |
|
|
%{perl_vendorlib}/Net/IMAP/Simple.pm |
48 |
|
|
%{perl_vendorlib}/Net/IMAP/Simple.pod |
49 |
|
|
%{_mandir}/man3/Net::IMAP::Simple.3* |
50 |
|
|
|
51 |
|
|
%changelog |
52 |
|
|
* Sun Jun 27 2010 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.1916-3 |
53 |
|
|
- Fix Source0 URL (#607876) |
54 |
|
|
- New release after review (#607876) |
55 |
|
|
|
56 |
|
|
* Sat Jun 19 2010 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.1916-1 |
57 |
|
|
- First package |