require fetchmail, perl-LockFile-Simple and other perl requirements for fetchmail.pl

provide /var/run/fetchmail required by fetchmail.pl [release 2.3.7-3mamba;Sat Jun 21 2014]
This commit is contained in:
Silvan Calarco 2024-01-06 10:26:27 +01:00
parent 5c134fb828
commit 986e34dd7d

View File

@ -4,7 +4,7 @@
Name: postfixadmin Name: postfixadmin
Version: 2.3.7 Version: 2.3.7
Release: 1mamba Release: 3mamba
Summary: A Web Based Management tool for Postfix Summary: A Web Based Management tool for Postfix
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
@ -17,12 +17,20 @@ Source2: %{name}-vacation.conf
Patch0: %{name}-2.2.1.1-css_menu_width.patch Patch0: %{name}-2.2.1.1-css_menu_width.patch
Patch1: %{name}-2.3-fix_php_path.patch Patch1: %{name}-2.3-fix_php_path.patch
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN
BuildRequires: perl-Imap
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: mysql >= 4.1.22, mysql-client >= 4.1.22 Requires: mysql >= 4.1.22, mysql-client >= 4.1.22
Requires: postfix >= 2.3.8 Requires(pre): postfix >= 2.3.8
Requires: httpd, apache-mod_php Requires: httpd, apache-mod_php
Requires: php-mysql >= 5.1.5 Requires: php-mysql >= 5.1.5
Requires: php-imap
Requires: perl-LockFile-Simple
Requires: perl-DBD-mysql
Requires: fetchmail
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Postfix Admin is a Web Based Management tool created for Postfix. Postfix Admin is a Web Based Management tool created for Postfix.
@ -80,6 +88,8 @@ cp %{buildroot}%{htmldir}/ADDITIONS/cyrus/cyrus.conf %{buildroot}%{_sysconfdir}/
rm -rf %{buildroot}%{htmldir}/debian rm -rf %{buildroot}%{htmldir}/debian
#rm -f %{buildroot}%{htmldir}/*.TXT #rm -f %{buildroot}%{htmldir}/*.TXT
install -d -m0755 %{buildroot}%{_localstatedir}/run/fetchmail
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -179,6 +189,7 @@ exit 0
%{htmldir}/GPL-LICENSE.TXT %{htmldir}/GPL-LICENSE.TXT
%{htmldir}/INSTALL.TXT %{htmldir}/INSTALL.TXT
%{htmldir}/LICENSE.TXT %{htmldir}/LICENSE.TXT
%dir %attr(0750,vmail,vmail) %{_localstatedir}/run/fetchmail
%files cyrus %files cyrus
%defattr(-,root,root) %defattr(-,root,root)
@ -186,6 +197,13 @@ exit 0
%dir %{htmldir}/ADDITIONS/cyrus/* %dir %{htmldir}/ADDITIONS/cyrus/*
%changelog %changelog
* Sat Jun 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-3mamba
- require fetchmail, perl-LockFile-Simple and other perl requirements for fetchmail.pl
- provide /var/run/fetchmail required by fetchmail.pl
* Sat Jun 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-2mamba
- require php-imap
* Thu Feb 27 2014 Automatic Build System <autodist@mambasoft.it> 2.3.7-1mamba * Thu Feb 27 2014 Automatic Build System <autodist@mambasoft.it> 2.3.7-1mamba
- automatic update by autodist - automatic update by autodist