sendmail/sendmail.spec

67 lines
1.9 KiB
RPMSpec

Name: sendmail
Version: 8.18.1
Release: 1mamba
Summary: Implementation of the sendmail Mail Filter API
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.proofpoint.com/us/products/email-protection/open-source-email-solution
Source: https://ftp.sendmail.org/sendmail.%{version}.tar.gz
Source1: libmilter-site.config.m4
Patch0: sendmail-8.17.1-fd-passing-libmilter.patch
License: Custom
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
Implementation of the sendmail Mail Filter API
%package -n libmilter-devel
Group: Development/Libraries
Summary: Development files for %{name}
%description -n libmilter-devel
This package contains libraries and header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
%patch 0 -p1 -b .fd-passing-libmilter
cp %{SOURCE1} devtools/Site/site.config.m4
%build
%make -C libmilter
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}
%makeinstall -C libmilter \
INCOWN=`id -u` INCGRP=`id -g` INCMODE=0644 \
LIBOWN=`id -u` LIBGRP=`id -g` LIBMODE=0644 \
LIBDIR=%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n libmilter-devel
%defattr(-,root,root)
%dir %{_includedir}/libmilter
%{_includedir}/libmilter/mfapi.h
%{_includedir}/libmilter/mfdef.h
%{_libdir}/libmilter.a
%doc README
%doc LICENSE
%changelog
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 8.18.1-1mamba
- automatic version update by autodist
* Sun Jun 04 2023 Automatic Build System <autodist@mambasoft.it> 8.17.2-1mamba
- automatic version update by autodist
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 8.17.1-1mamba
- package created using the webbuild interface