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