1 |
Summary: Decodes MS-TNEF attachments |
2 |
Name: tnef |
3 |
Version: 1.4.9 |
4 |
Release: %mkrel 6 |
5 |
License: GPL |
6 |
Group: Networking/Mail |
7 |
URL: http://sourceforge.net/projects/tnef/ |
8 |
Source0: http://prdownloads.sourceforge.net/tnef/%{name}-%{version}.tar.gz |
9 |
Patch0: tnef-1.4.5-format_not_a_string_literal_and_no_format_arguments.diff |
10 |
Patch1: tnef-1.4.9-CVE-2017-6307.patch |
11 |
Patch2: tnef-1.4.9-CVE-2017-6308.patch |
12 |
Patch3: tnef-1.4.9-CVE-2017-6309-6310.patch |
13 |
BuildRequires: mawk |
14 |
BuildRequires: gettext-devel |
15 |
BuildRequires: autoconf2.5 |
16 |
BuildRequires: libtool |
17 |
|
18 |
%description |
19 |
TNEF is a program for unpacking MIME attachments of type "application/ms-tnef". |
20 |
This is a Microsoft only attachment. Due to the proliferation of Microsoft |
21 |
Outlook and Exchange mail servers, more and more mail is encapsulated into |
22 |
this format. The TNEF program allows one to unpack the attachments which were |
23 |
encapsulated into the TNEF attachment. Thus alleviating the need to use |
24 |
Microsoft Outlook to view the attachment. |
25 |
|
26 |
%prep |
27 |
|
28 |
%setup -q |
29 |
%patch0 -p0 |
30 |
%patch1 -p1 |
31 |
%patch2 -p1 |
32 |
%patch3 -p1 |
33 |
|
34 |
%build |
35 |
%serverbuild |
36 |
|
37 |
%configure2_5x |
38 |
|
39 |
%make |
40 |
|
41 |
%check |
42 |
make check |
43 |
|
44 |
%install |
45 |
%makeinstall_std |
46 |
|
47 |
%files |
48 |
%doc AUTHORS ChangeLog NEWS README THANKS TODO doc/FAQ |
49 |
%{_bindir}/tnef |
50 |
%{_mandir}/man1/tnef.1* |
51 |
|
52 |
|