1 |
# $Id: smeserver-phpldapadmin.spec,v 1.5 2021/06/01 17:29:33 jpp Exp $ |
# $Id: smeserver-phpldapadmin.spec,v 1.7 2021/06/01 18:01:48 jpp Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
%define phpversion %{nil} |
%define phpversion 74 |
5 |
|
# if empty set to %{nil} |
6 |
|
|
7 |
Summary: PhpLdapAdmin for SME server |
Summary: PhpLdapAdmin for SME server |
8 |
%define name smeserver-phpldapadmin |
%define name smeserver-phpldapadmin |
62 |
mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache} |
mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache} |
63 |
mkdir -p root/var/log/php/phpldapadmin |
mkdir -p root/var/log/php/phpldapadmin |
64 |
|
|
|
find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g' |
|
65 |
%build |
%build |
66 |
|
find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g' |
67 |
perl createlinks |
perl createlinks |
68 |
|
|
69 |
%install |
%install |