50 lines
1.4 KiB
RPMSpec
50 lines
1.4 KiB
RPMSpec
Name: altermime
|
|
Version: 0.3.11
|
|
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: https://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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
|
|
%build
|
|
%make \
|
|
CC=%{_host}-gcc \
|
|
CFLAGS="%{optflags} -Wno-error=format-truncation -Wno-error=restrict -DALTERMIME_PRETEXT"
|
|
|
|
%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
|
|
|
|
%changelog
|
|
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 0.3.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 07 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.10-1mamba
|
|
- package created by autospec
|