sendmail/sendmail.spec

61 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: sendmail
Version: 8.17.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/sendmail-open-source
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
%patch0 -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
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 8.17.1-1mamba
- package created using the webbuild interface