Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jetchisel
phpvirtualbox
phpvirtualbox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File phpvirtualbox.spec of Package phpvirtualbox
# # spec file for package phpvirtualbox (Version 4.3-2) # # http://sourceforge.net/projects/phpvirtualbox/files/ # SHA1: 4ac1a4ec4e52eca3c2b1850b883509b274ccd1d6 # MD5: 7b81e319a259dbd68603e5ef6f203beb %define serverroot /srv/www/htdocs/ %define subversionnr 2 %define _sysconfdir /etc Name: phpvirtualbox License: GPL-3.0+ Group: Productivity/Networking/Web/Frontends Autoreqprov: on Version: 4.3 Release: 1 Summary: A web interface for VirtualBox URL: http://sourceforge.net/projects/phpvirtualbox/files/%{name}-%{version}-%{subversionnr}.zip/download Source: %{name}-%{version}-%{subversionnr}.zip Source1: README.SUSE BuildRoot: %{_tmppath}/%{name}-%{version}-%{subversionnr} BuildRequires: coreutils BuildRequires: tar BuildRequires: bzip2 BuildRequires: fdupes BuildRequires: gettext BuildRequires: unzip Requires: mod_php_any php5-soap php-gettext php-openssl php-xml php-pcre php-session BuildArch: noarch %description an open source, AJAX implementation of the VirtualBox user interface written in PHP. As a modern web interface, it allows you to access and control remote VirtualBox instances. Much of its verbage and some of its code is based on the (inactive) vboxweb project. phpVirtualBox was designed to allow users to administer VirtualBox in a headless environment - mirroring the VirtualBox GUI through its web interface. phpVirtualBox: - is designed to be a web interface replacement of the VirtualBox GUI program - is not designed to run in a "hosting" environment where the concept of VM ownership is required - when you are logged in to phpVirtualBox, you have full control over all VMs in the VirtualBox installation - aims to perform all VirtualBox administration actions through vboxwebsrv (a SOAP server distributed with VirtualBox) - does not directly interact with any files on the VirtualBox host - does not have automatic VM start / stop functionality on system boot / shutdown - this functionality is not provided by the VirtualBox API %prep %setup -qn %{name}-%{version}-%{subversionnr} find . -type d -exec chmod 755 {} + find . -type f -exec chmod 644 {} + find . -type f -name '*.txt' -exec perl -pi -e 's/\r\n/\n/' {} + %build %install install -m 0755 -d $RPM_BUILD_ROOT%{serverroot}%{name} install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir} cp -dR *.php *.html LICENSE.txt js css images languages lib panes rdpweb tightvnc $RPM_BUILD_ROOT%{serverroot}%{name} install -m 0644 config.php-example $RPM_BUILD_ROOT%{_sysconfdir}/phpvirtualbox-config.php ln -sf %{_sysconfdir}/phpvirtualbox-config.php $RPM_BUILD_ROOT%{serverroot}%{name}/config.php install -m 0644 recovery.php-disabled $RPM_BUILD_ROOT%{serverroot}%{name}/recovery.php-disabled install -Dm 0644 %{S:1} %{buildroot}%{_usr}/share/doc/packages/%{name}/README.SUSE # generate file list find $RPM_BUILD_ROOT%{serverroot}%{name} -mindepth 1 -maxdepth 1 -type d | sed -e "s|$RPM_BUILD_ROOT||" > FILELIST find $RPM_BUILD_ROOT%{serverroot}%{name} -maxdepth 1 -type f | grep -v 'config.php' | sed -e "s|$RPM_BUILD_ROOT||" >> FILELIST %clean rm -rf $RPM_BUILD_ROOT %files -f FILELIST %defattr(-,root,root) %doc CHANGELOG.txt GPLv3.txt README.txt %doc %{_usr}/share/doc/packages/%{name}/README.SUSE %{serverroot}%{name} %config (noreplace) %{_sysconfdir}/phpvirtualbox-config.php %changelog * Fri Jan 3 2014 jetchisel@opensuse.org - updated to 4.3.1 * Mon Oct 26 2013 jetchisel@opensuse.org - initial packaging
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor