1 |
%define name phpvirtualbox |
2 |
%define version 5.2.1 |
3 |
%define release 1 |
4 |
%define rpmver 5.2.1 |
5 |
Summary: smserver rpm to install phpvirtualbox |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
10 |
License: GNU GPL version 2 |
11 |
URL: http://mirror.de-labrusse.fr |
12 |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
Prefix: %{_prefix} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 10.0 |
18 |
AutoReqProv: no |
19 |
|
20 |
%description |
21 |
smserver rpm to install phpvirtualbox |
22 |
|
23 |
%changelog |
24 |
* Tue Oct 18 2022 Trevor batley <trevor@batley.id.au> 5.2-1.sme |
25 |
- change install diretory to /opt |
26 |
|
27 |
* Tue Aug 16 2022 Jean-Philipe Pialasse <tests@pialasse.com> 5.2.1-1.sme |
28 |
- import to SME 10 |
29 |
- upstream upgrade 5.2-1 |
30 |
|
31 |
* Sat Aug 15 2015 stephane de labrusse <stephdl@de-labrusse.fr> 5.0-2 |
32 |
- upstream upgrade 5.0-2 |
33 |
|
34 |
* Thu Aug 06 2015 stephane de labrusse <stephdl@de-labrusse.fr> 5.0-1 |
35 |
- upstream upgrade 5.0-1 |
36 |
|
37 |
* Wed Apr 15 2015 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.3-1 |
38 |
- upstream upgrade 4.3-3 |
39 |
|
40 |
* Fri Dec 19 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.2-1 |
41 |
- upstream upgrade |
42 |
|
43 |
* Sun May 18 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.1-2 |
44 |
-first release to sme9 |
45 |
|
46 |
* Wed Jan 15 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.1-1 |
47 |
- Update to phpvirtualbox 4.3.1, thanks to ian Moore |
48 |
- http://sourceforge.net/projects/phpvirtualbox |
49 |
|
50 |
* Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 4.3.0-8.sme |
51 |
- prepare rpm to import into buildsys |
52 |
|
53 |
* Fri Dec 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.7 |
54 |
- remove the web authentication for the buildin phpvirtualbox authentication |
55 |
|
56 |
* Tue Nov 05 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.6 |
57 |
- change name to match the phpvirtualbox version |
58 |
* Sat Oct 26 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.5 |
59 |
- add webauth to setting and "sme admin" as "phpvirtualbox admin" |
60 |
* Wed Oct 23 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.4 |
61 |
- Minor adjustment settings |
62 |
* Sat Oct 19 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.3 |
63 |
- Initial release |
64 |
|
65 |
%prep |
66 |
%setup |
67 |
#%patch0 -p1 |
68 |
%build |
69 |
|
70 |
%install |
71 |
rm -rf $RPM_BUILD_ROOT |
72 |
(find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
73 |
rm -f %{name}-%{version}-filelist |
74 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
75 |
#echo "%doc COPYING" >> %{name}-%{version}-filelist |
76 |
|
77 |
%clean |
78 |
cd .. |
79 |
rm -rf %{name}-%{version} |
80 |
|
81 |
%pre |
82 |
if [ $1 = 2 ] ; then |
83 |
/bin/cp /opt/phpvirtualbox/config.php /opt/phpvirtualbox/config.php-your-backup-`date +%Y-%m-%d-%H-%M` |
84 |
fi |
85 |
%preun |
86 |
|
87 |
%post |
88 |
|
89 |
|
90 |
|
91 |
%postun |
92 |
#uninstall |
93 |
|
94 |
%files -f %{name}-%{version}-filelist |
95 |
%defattr(-,root,root) |
96 |
|