-
Notifications
You must be signed in to change notification settings - Fork 21
/
tnef.spec.in
44 lines (34 loc) · 1.12 KB
/
tnef.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Summary: Decodes MS-TNEF attachments.
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1
Group: Mail/Encoders
Copyright: GPL
Source: http://world.std.com/~damned/tnef-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: @prefix@
Vendor: Angst Programming I.G.
URL: http://tnef.sourceforge.net
Packager: Mark Simpson <@PACKAGE_BUGREPORT@>
%description
TNEF is a program for unpacking MIME attachments of type
"application/ms-tnef". This is a Microsoft only attachment.
Due to the proliferation of Microsoft Outlook and Exchange mail servers,
more and more mail is encapsulated into this format.
The TNEF program allows one to unpack the attachments which were
encapsulated into the TNEF attachment. Thus alleviating the need to use
Microsoft Outlook to view the attachment.
%prep
%setup
%build
CFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{prefix} --datarootdir=%{prefix}/share
make all
%install
make "DESTDIR=${RPM_BUILD_ROOT}" install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%doc README.md COPYING ChangeLog AUTHORS NEWS TODO BUGS
%{prefix}/bin/tnef
%{prefix}/share/man/man1/tnef.1.gz