File perl-Email-MIME-Encodings.spec of Package perl-Email-MIME-Encodings

#
# spec file for package perl-Email-MIME-Encodings
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Email-MIME-Encodings
%define cpan_name Email-MIME-Encodings
Summary:        A unified Interface to MIME Encoding and Decoding
Version:        1.313
Release:        1.0
License:        Perl License
Group:          Development/Libraries/Perl
Url:            http://github.com/rjbs/email-mime-encodings
Source:         %{cpan_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros
# others not perl
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
BuildRequires:  perl(Test::Pod) >= 1.14

%description
Email::MIME::Encodings - A unified interface to MIME encoding and decoding.

This module simply wraps "MIME::Base64" and "MIME::QuotedPrint" so that 
you can throw the contents of a "Content-Transfer-Encoding" header at 
some text and have the right thing happen.


%prep
%setup -qn %{cpan_name}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%__rm -rf %{buildroot}

%files -f %{name}.files
%defattr(-,root,root)
%doc Changes LICENSE README

%changelog
openSUSE Build Service is sponsored by