Package perl-MIME-EncWords: Specfile

%define _unpackaged_files_terminate_build 1
#
#   - MIME::EncWords -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only MIME-EncWords-1.012
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module MIME-EncWords
%define m_distro MIME-EncWords
%define m_name MIME::EncWords
%define m_author_id unknown
%define _disable_test 1

Name: perl-MIME-EncWords
Version: 1.015.0
Release: alt1

Summary: deal with RFC 2047 encoded words (improved)

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Slava Dubrovskiy <dubrsl@altlinux.org>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{module}-%{version}.tar.gz
BuildRequires: perl-devel perl-MIME-Charset

%description
Fellow Americans, you probably won't know what the hell this module
is for.  Europeans, Russians, et al, you probably do.  `:-)'.

For example, here's a valid MIME header you might get:

      From: =?US-ASCII?Q?Keith_Moore?= <moore@cs.utk.edu>
      To: =?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= <keld@dkuug.dk>
      CC: =?ISO-8859-1?Q?Andr=E9_?= Pirard <PIRARD@vm1.ulg.ac.be>
      Subject: =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?=
       =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=
       =?US-ASCII?Q?.._cool!?=

The fields basically decode to (sorry, I can only approximate the
Latin characters with 7 bit sequences /o and 'e):

      From: Keith Moore <moore@cs.utk.edu>
      To: Keld J/orn Simonsen <keld@dkuug.dk>
      CC: Andr'e  Pirard <PIRARD@vm1.ulg.ac.be>
      Subject: If you can read this you understand the example... cool!

Supplement: Fellow Americans, Europeans, you probably won't know
what the hell this module is for.  East Asians, et al, you probably do.
`(^_^)'.

For example, here's a valid MIME header you might get:

      Subject: =?EUC-KR?B?sNTAuLinKGxhemluZXNzKSwgwvzB9ri7seIoaW1w?=
       =?EUC-KR?B?YXRpZW5jZSksILGzuLgoaHVicmlzKQ==?=

The fields basically decode to (sorry, I cannot approximate the
non-Latin multibyte characters with any 7 bit sequences):

      Subject: ???(laziness), ????(impatience), ??(hubris)

%prep
%setup -q -n %{module}-%{version}
%build
%perl_vendor_build

%install
%perl_vendor_install

# pod in jp
rm -rf %buildroot%perl_vendor_privlib/POD2/JA

%files
%doc Changes ARTISTIC README GPL
%perl_vendor_privlib/MIME/*
%perl_vendor_privlib/Encode/MIME/EncWords.pm

%changelog
* Sat Feb 17 2024 Igor Vlasenko <viy@altlinux.org> 1.015.0-alt1
- automated CPAN update

* Fri Jun 29 2018 Igor Vlasenko <viy@altlinux.ru> 1.014.3-alt2
- fixed unpackaged files

* Tue Oct 07 2014 Igor Vlasenko <viy@altlinux.ru> 1.014.3-alt1
- automated CPAN update

* Tue Aug 27 2013 Igor Vlasenko <viy@altlinux.ru> 1.014.2-alt1
- automated CPAN update

* Fri Jul 26 2013 Igor Vlasenko <viy@altlinux.ru> 1.014-alt1
- automated CPAN update

* Wed Oct 03 2012 Igor Vlasenko <viy@altlinux.ru> 1.012.6-alt1
- automated CPAN update

* Mon Sep 19 2011 Igor Vlasenko <viy@altlinux.ru> 1.012.3-alt1
- automated CPAN update

* Thu Feb 24 2011 Slava Dubrovskiy <dubrsl@altlinux.org> 1.012-alt1
- initial build for ALT Linux Sisyphus