altermime/altermime.spec

43 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: altermime
Version: 0.3.10
Release: 1mamba
Summary: A program which is used to alter mime-encoded mailpacks as typically received by Inflex, Xamime and AMaViS
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.pldaniels.com/altermime/
Source: http://www.pldaniels.com/altermime/altermime-%{version}.tar.gz
Patch0: altermime-0.3.10-gcc-4.9.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A program which is used to alter mime-encoded mailpacks as typically received by Inflex, Xamime and AMaViS.
%prep
%setup -q
%patch0 -p1
%build
%make CC=%{_host}-gcc
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 altermime %{buildroot}%{_bindir}/altermime
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/altermime
%doc LICENCE README
%changelog
* Tue Dec 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.10-1mamba
- package created by autospec