1 |
# $Id: smeserver-phpldapadmin.spec,v 1.4 2021/06/01 17:17:40 jpp Exp $ |
# $Id: smeserver-phpldapadmin.spec,v 1.6 2021/06/01 17:42:02 jpp Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
%define phpversion 73 |
%define phpversion %{nil} |
5 |
|
|
6 |
Summary: PhpLdapAdmin for SME server |
Summary: PhpLdapAdmin for SME server |
7 |
%define name smeserver-phpldapadmin |
%define name smeserver-phpldapadmin |
61 |
mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache} |
mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache} |
62 |
mkdir -p root/var/log/php/phpldapadmin |
mkdir -p root/var/log/php/phpldapadmin |
63 |
|
|
|
find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g' |
|
64 |
%build |
%build |
65 |
|
find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g' |
66 |
perl createlinks |
perl createlinks |
67 |
|
|
68 |
%install |
%install |