/[packages]/updates/5/perl-MIME-EncWords/current/SPECS/perl-MIME-EncWords.spec
ViewVC logotype

Contents of /updates/5/perl-MIME-EncWords/current/SPECS/perl-MIME-EncWords.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1187523 - (show annotations) (download)
Sat Dec 30 05:31:51 2017 UTC (6 years, 2 months ago) by luigiwalser
File size: 1218 byte(s)
add patch to fix CVE-2016-1238
1 %define upstream_name MIME-EncWords
2 %define upstream_version 1.014.2
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 %define subrel 1
7 Release: %mkrel 4
8 Epoch: 1
9
10 Summary: Deal with RFC-1522 encoded words (improved)
11 License: GPL+ or Artistic
12 Group: Development/Perl
13 Url: http://search.cpan.org/dist/%{upstream_name}
14 Source0: http://www.cpan.org/modules/by-module/MIME/%{upstream_name}-%{upstream_version}.tar.gz
15 Patch0: perl-MIME-EncWords-CVE-2016-1238.patch
16
17 BuildRequires: perl(Encode) >= 1.980.0
18 BuildRequires: perl(ExtUtils::MakeMaker)
19 BuildRequires: perl(MIME::Base64) >= 2.130.0
20 BuildRequires: perl(MIME::Charset) >= 1.10.0
21 BuildRequires: perl(Test::More)
22 BuildArch: noarch
23
24 %description
25 Fellow Americans, you probably won't know what the hell this module is for.
26 Europeans, Russians, et al, you probably do. :-)
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30 %patch0 -p1
31
32 %build
33 %{__perl} Makefile.PL INSTALLDIRS=vendor
34 %make
35
36 %check
37 %{__make} test
38
39 %install
40 %makeinstall_std
41
42 %files
43 %doc ARTISTIC Changes GPL META.yml MYMETA.yml README
44 %{perl_vendorlib}/Encode
45 %{perl_vendorlib}/MIME
46 %{perl_vendorlib}/POD2
47 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30