perl-Mail-ListDetector/perl-Mail-ListDetector.spec

Name: perl-Mail-ListDetector
Summary: Mailing list message detector
Version: 1.02
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Mail-ListDetector/
Description: Mailing list message detector.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: cmr
# Upstream: Michael Stevens <michael$etla,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Mail-ListDetector

Summary: Mailing list message detector
Name: perl-Mail-ListDetector
Version: 1.02
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Mail-ListDetector/

Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSTEVENS/Mail-ListDetector-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Email::Abstract) >= 3.001
BuildRequires: perl(Email::Valid) >= 0.182
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Mail::Internet) >= 2.04
BuildRequires: perl(Test::More) >= 0.08
BuildRequires: perl(URI) >= 1.1
Requires: perl(Carp)
Requires: perl(Email::Abstract) >= 3.001
Requires: perl(Email::Valid) >= 0.182
Requires: perl(Mail::Internet) >= 2.04
Requires: perl(Test::More) >= 0.08
Requires: perl(URI) >= 1.1

%filter_from_requires /^perl*/d
%filter_setup

%description
Mailing list message detector.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

### Clean up docs
find examples/ -type f -exec %{__chmod} a-x {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS BUGS Changes LICENSE MANIFEST META.yml README TODO examples/
%doc %{_mandir}/man3/Mail::ListDetector*.3pm*
%dir %{perl_vendorlib}/Mail/
%{perl_vendorlib}/Mail/ListDetector/
%{perl_vendorlib}/Mail/ListDetector.pm
%{perl_vendorlib}//auto/Mail/ListDetector/autosplit.ix

%changelog
* Tue Dec 15 2009 Christoph Maser <cmr@financial.com> - 1.02-1
- Updated to version 1.02.

* Thu Jun 11 2009 Unknown - 1.01-1
- Initial package. (using DAR)