File ripmime.spec of Package ripmime
#
# Spec file for package ripmime (Version 1.4.0.9)
#
# Copyright (c) 2008 Exata T.I., Maringa, PR, Brasil.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
Name: ripmime
Version: 1.4.0.9
Release: 1
License: BSD
Summary: Extract attached files out of a MIME package
Url: http://www.pldaniels.com/ripmime
Group: Productivity/Networking/Other
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM MIME_headers_overflow.patch
Patch: MIME_headers_overflow.patch
BuildRequires: autoconf
BuildRequires: automake
Obsoletes: %{name}-toaster
Provides: %{name}-toaster
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ripMIME has a single sole pupose, to extract the attached files out of a
MIME package.
Author:
--------
Paul L Daniels
%prep
%setup -q
%patch
%build
%{__make} %{?jobs:-j%jobs} CFLAGS="%{optflags}"
%install
# install directories
#------------------------------------------------------------------------------------
%{__install} -d %{buildroot}%{_bindir}
%{__install} -d %{buildroot}%{_mandir}/man1
# install files
#------------------------------------------------------------------------------------
%{__install} -m 755 %{name} %{buildroot}%{_bindir}
%{__install} -m 644 %{name}.1 %{buildroot}%{_mandir}/man1
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc CHANGELOG CONTRIBUTORS INSTALL LICENSE README TODO
%attr(0755,root,root) %{_bindir}/ripmime
%{_mandir}/man1/*