File mpack.spec of Package mpack

Name:		mpack
License:	CMU
Packager:	Brian K. White - brian@lajex.com - Aljex Software
Group:		Productivity/Networking/Email/Utilities
Version:	1.6
Release:	2
Summary:	Pack/Unpack messages in MIME format
# original source is http://andrews.freeshell.org/urldec.tar
Url:		ftp://ftp.andrew.cmu.edu:pub/mpack/
Source:		%{name}-%{version}.tar.bz2
Patch:		%{name}-%{version}.diff
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

%description
Mpack and munpack are utilities for encoding and decoding
(respectively) binary files in MIME (Multipurpose Internet Mail
Extensions) format mail messages.  For compatibility with older forms
of transferring binary files, the munpack program can also decode
messages in split-uuencoded format.  The Macintosh version can also
decode messages in split-BinHex format.

This MIME implementation is intended to be as simple and portable as
possible.  For a more sophisticated MIME implementation, MetaMail.

%prep
%setup -q
%patch -p1
./configure --prefix=%{buildroot}/usr --mandir=%{buildroot}/%{_mandir}

%build
CFLAGS="%{optflags}" make

%install
make install

%files
%defattr(-,root,root)
/usr/bin/m*pack
%doc %{_mandir}/man1/*

%changelog
* Sun Feb 08 2009 - brian@aljex.com
- initial .spec and openSUSE build service