# rpm spec file for tnef 1.1.1
Summary: Decodes MS-TNEF attachments.
Name: tnef
Version: 1.4.5
Release: 1
Group: Mail/Encoders
License: GPL
Source: http://world.std.com/~damned/tnef-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
Prefix: /usr
Vendor: Atomic Rocket Turtle, http://www.atomicrocketturtle.com
Packager: Scott R. Shinn, <scott@atomicrocketturtle.com>
URL: http://tnef.sourceforge.net

%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}
make all

%install
make "DESTDIR=${RPM_BUILD_ROOT}" install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc README COPYING ChangeLog AUTHORS NEWS TODO BUGS
%{prefix}/bin/tnef
%{prefix}/share/man/man1/tnef.1.gz


%changelog
* Sat Jan 6 2009 Scott R. Shinn <scott@atomicrocketturtle.com> 1.4.5-1
- update 1.4.5

* Sat Jan 6 2007 Scott R. Shinn <scott@atomicrocketturtle.com> 1.4.3-1
- update 1.4.3