smeserver-postfix/smeserver-postfix.spec

86 lines
2.2 KiB
RPMSpec
Raw Normal View History

2024-09-25 04:51:20 +02:00
%define name smeserver-postfix
%define version 1.0
%define release 5
2024-09-25 04:51:20 +02:00
Summary: This is what smeserver-postfix does.
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Source: %{name}-%{version}.tar.gz
License: GNU GPL version 2
Group: SMEserver/addon
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
Requires: e-smith-release >= 10.0
Requires: postfix
Requires: postfix-perl-scripts
Requires: postfix-pcre
Requires: zsh
Requires: smeserver-mini-qmail
2024-09-25 04:51:20 +02:00
AutoReqProv: no
%description
Koozali SME Server wrapper to configure postfix
%changelog
* Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-5.sme
- add mini-qmail as Message delivery agent [SME: 12737]
few other fixes; +x on needed executable files
migrate old qmail properties used in postfix
catch all non existing recipient / check BCC working
* Tue Nov 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-3.sme
- add requirements [SME: 12737]
- add conf-postfix
* Sun Nov 17 2024 <jpp@koozali.org> 1.0-2.sme
- listen only via sockets
- use both unix user and virtual users
- groups and pseudonyms implemented in virtual maps
- support smarthost with and without auth
- support global and per domain delegated mail server
- support ssl
- uses qmail - recipient delimiter in left part of email.
- all domains set as local domains in mydestination
- message_size_limit
- local and remote concurency limit
* Tue Oct 15 2024 <jpp@koozali.org> 1.0-1.sme
- Initial code - create RPM [SME: 12737]
templates from Stefano Zamboni
2024-09-25 04:51:20 +02:00
%prep
%setup -q
%build
perl createlinks
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /sbin/e-smith/systemd/postfix-reload 'attr(750,root,root)' \
--file /sbin/e-smith/systemd/postfix-pre 'attr(750,root,root)' \
--file /usr/bin/dotqmail 'attr(0554,root,root)' \
--file /usr/bin/postqmail-local 'attr(0554,root,root)' \
--file /usr/local/bin/seekablepipe 'attr(0554,root,root)' \
2024-09-25 04:51:20 +02:00
> %{name}-%{version}-filelist
%clean
cd ..
rm -rf %{name}-%{version}
%pre
%preun
%post
%postun
#uninstall
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)