altermime/altermime.spec

50 lines
1.4 KiB
RPMSpec

Name: altermime
Version: 0.3.12
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://pldaniels.com/altermime/
Source: https://github.com/inflex/alterMIME.git/%{version}/alterMIME-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
A program which is used to alter mime-encoded mailpacks as typically received by Inflex, Xamime and AMaViS.
%debug_package
%prep
%setup -q -n alterMIME-%{version}
%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 LICENSE
%changelog
* Wed Aug 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.12-1mamba
- update to 0.3.12
* 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