21 |
Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch |
Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch |
22 |
Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch |
Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch |
23 |
Patch2: smeserver-phpvirtualbox-5.2.1-multiple_changes.patch |
Patch2: smeserver-phpvirtualbox-5.2.1-multiple_changes.patch |
|
Patch3: smeserver-phpvirtualbox-5.2.1-remove_defaults.patch |
|
24 |
|
|
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
%description |
%description |
91 |
%patch0 -p1 |
%patch0 -p1 |
92 |
%patch1 -p1 |
%patch1 -p1 |
93 |
%patch2 -p1 |
%patch2 -p1 |
|
%patch3 -p1 |
|
94 |
|
|
95 |
%build |
%build |
96 |
perl createlinks |
perl createlinks |
99 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
100 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
101 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
102 |
mkdir -p /opt/vbox/{ISOs,VMs} |
mkdir -p $RPM_BUILD_ROOT/opt/vbox/{ISOs,VMs} |
103 |
mkdir -p /var/log/php/phpvirtualbox |
mkdir -p $RPM_BUILD_ROOT/var/log/php/phpvirtualbox |
104 |
mkdir -p /var/lib/php/phpvirtualbox/{opcache,tmp,session} |
mkdir -p $RPM_BUILD_ROOT/var/lib/php/phpvirtualbox/{opcache,tmp,session} |
105 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
106 |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
--dir /opt/vbox 'attr(0755,vbox,vboxusers)' \ |
107 |
--dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \ |
--dir /opt/vbox/ISOs 'attr(0774,vbox,vboxusers)' \ |