/[smecontribs]/rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec
ViewVC logotype

Annotation of /rpms/smeserver-phpvirtualbox/contribs10/smeserver-phpvirtualbox.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Thu Oct 20 04:44:08 2022 UTC (19 months, 2 weeks ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-phpvirtualbox-5_2_1-3_el7_sme
Changes since 1.3: +7 -1 lines
Remove vbox passwd

1 jpp 1.1 %define name smeserver-phpvirtualbox
2 trevorb 1.2 %define version 5.2.1
3 trevorb 1.4 %define release 3
4 trevorb 1.2 %define rpmver 5.2.1
5 jpp 1.1 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 trevorb 1.2 Requires: e-smith-release >= 10.0
18 jpp 1.1 Requires: php-soap
19 trevorb 1.2 Requires: phpvirtualbox = 5.2.1
20     Requires: smeserver-virtualbox = 5.2
21 trevorb 1.3 Patch0: smeserver-phpvirtualbox-5.2.1-move_vbox_dir.patch
22 trevorb 1.4 Patch1: smeserver-phpvirtualbox-5.2.1-remove_vbox_passwd.patch
23 jpp 1.1
24     AutoReqProv: no
25     %description
26     smserver rpm to install phpvirtualbox : An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a
27     modern web interface, it allows you to access and control remote VirtualBox instances. phpVirtualBox is designed to allow users to
28     administer VirtualBox in a headless environment - mirroring the VirtualBox GUI through its web interface.
29 trevorb 1.2 phpvirtualbox version MUST align with VirtualBox version (i.e. VirtualBox-6.1 requires phpvirtualbox-6.1)
30 jpp 1.1
31     %changelog
32 trevorb 1.4 * Thu Oct 20 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-3
33     - remove vbox passwd from config.php
34    
35 trevorb 1.3 * Wed Oct 19 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-2
36     - vbox user home directory moved
37    
38     * Tue Oct 11 2022 Trevor Batley <trevor@batley.id.au> 5.2.1-1
39 trevorb 1.2 - Initial import to sme10
40     - requires phpvirtualbox 5.2.1, smeserver-virtualbox 5.2
41     - upgrade to httpd 2.4
42     - use php74-php-fpm
43     - bundle up patches and release new tarball
44    
45 jpp 1.1 * Thu Aug 06 2015 stephane de labrusse <stephdl@de-labrusse.fr> 5.0.0-1
46     - require to phpvirtualbox-5.0
47    
48     * Sun May 18 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.1-3
49     - first release to sme9
50     - unixgroup removed from the contribs
51     - fix ssl redirection
52    
53     * Wed Mar 19 2014 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.1-1
54     - due to the bug correction of phpvirtualbox, this version give back the web authentication with migrate fragment update
55     * Wed Jan 08 2014 JP Pialasse <tests@pialasse.com> 4.3.0-10.sme
56     - changing requires to phpvirtualbox = 4.3
57     * Mon Dec 30 2013 JP Pialasse <tests@pialasse.com> 4.3.0-9.sme
58     - renaming to import into buildsys
59     * Fri Dec 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-8
60     - remove the web authentication for the buildin phpvirtualbox authentication
61     * Sun Nov 10 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-7
62     - removing dependance to smeserver-virtualbox-4.3
63     * Tue Nov 05 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-6
64     - change name to match the phpvirtualbox version
65     * Wed Oct 23 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-5
66     - Clean 92phpvirtualbox to force only the localnetwork
67     - Add the plugin unixgroup (from pwauth) to allow unix groups to reach the apache server.
68     - you can see http://code.google.com/p/pwauth/ for more informations
69     * Sun Oct 20 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-4
70     - Force https protocol for phpvirtualbox
71     * Sat Oct 19 2013 stephane de labrusse <stephdl@de-labrusse.fr> 4.3.0-3
72     - Initial release
73    
74     %prep
75     %setup
76 trevorb 1.3 %patch0 -p1
77 trevorb 1.4 %patch1 -p1
78    
79 jpp 1.1 %build
80 trevorb 1.2 perl createlinks
81 jpp 1.1
82     %install
83     rm -rf $RPM_BUILD_ROOT
84     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
85     rm -f %{name}-%{version}-filelist
86     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
87     echo "%doc COPYING" >> %{name}-%{version}-filelist
88    
89     %clean
90     cd ..
91     rm -rf %{name}-%{version}
92    
93     %pre
94    
95     %preun
96    
97     %post
98    
99     echo "=============================================================="
100     echo " Please do not forget to install the extension pack "
101     echo " You need it to activate the virtualbox RDP server"
102     echo " And many features, see this page to manage it by CL"
103     echo " "
104     echo " https://www.virtualbox.org/manual/ch08.html#vboxmanage-extpack"
105     echo " "
106     echo " The download page : https://www.virtualbox.org/wiki/Downloads"
107     echo "=============================================================="
108    
109    
110     %postun
111     #uninstall
112     if [ $1 = 0 ] ; then
113     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
114 trevorb 1.2 /sbin/e-smith/systemctl restart httpd-e-smith
115 jpp 1.1 fi
116     %files -f %{name}-%{version}-filelist
117     %defattr(-,root,root)
118    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed