File altermime.spec of Package altermime

#
# Spec file for package altermime (Version 0.3.10)
#
# 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
#

# norootforbuild

Name:           altermime
Version:        0.3.10
Release:        1.3
License:        alterMIME license
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Productivity/Networking/Diagnostic
Summary:        A small program which is used to alter your mime-encoded mailpacks
Url:            http://pldaniels.com/altermime
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}.1
Patch0:         %{name}-overflow.patch

%description
alterMIME is a small program which is used to alter your mime-encoded mailpacks
as typically received by Inflex, Xamime and AMaViS.

%prep
%setup -q
%patch0

%build
%{__make} CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}

%install
%{__install} -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
%{__install} -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGELOG LICENCE README
%{_bindir}/%{name}
%doc %{_mandir}/man1/%{name}.1.gz
%changelog
* Tue Jun 19 2012 dnh@opensuse.org
- added manpage
* Mon May  3 2010 prusnak@suse.cz
- fix buffer overflow (overflow.patch)
* Wed Sep 23 2009 alexandre@exatati.com.br
- Minor fixes in the spec file;
- Fixed rpm lints.
  Sáb Jan 24 00:00:00 BRST 2009 - petr.uzel@suse.cz
- add Url tag
* Tue Jan  1 2008 leo@exatati.com.br
- First import;
- Some code fixes for x86_64.