diff --git a/phpvirtualbox.spec b/phpvirtualbox.spec index 43cbb0d..8c259bf 100644 --- a/phpvirtualbox.spec +++ b/phpvirtualbox.spec @@ -14,31 +14,30 @@ %define theme_Paradice_version %{theme_version}a %define theme_Verysmall_version %{theme_version}a -%define majver %(echo %version | cut -d_ -f1) +%define majver %(echo %version | cut -d. -f1-2) %define pkgver %(echo %version | tr _ -) +%define gittag %(echo %version | cut -d. -f4) Name: %{?sitename:%sitename-}phpvirtualbox -Version: 5.2_1 -Release: 1mamba +Version: 6.1.20210127git.cf82d58 +Release: 2mamba Summary: An open source, AJAX implementation of the VirtualBox user interface written in PHP Group: Applications/Web Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://code.google.com/p/phpvirtualbox/ -Source: https://github.com/phpvirtualbox/phpvirtualbox.git/%{pkgver}/phpvirtualbox-%{version}.tar.bz2 -#Source: http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-%{pkgver}.zip +URL: https://github.com/phpvirtualbox/phpvirtualbox +Source: https://github.com/phpvirtualbox/phpvirtualbox.git/master@%{gittag}/phpvirtualbox-%{version}.tar.bz2 License: GPL BuildArch: noarch ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END -BuildRequires: apache -Requires(post):apache-mod_php >= 4.3 +#BuildRequires: apache +#Requires(post):apache-mod_php >= 4.3 Requires: php-mysql -Requires: mysql > 4.1.1 +#Requires: mysql > 4.1.1 Requires: VirtualBox-web >= %{majver} Requires(pre): php -BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. @@ -131,6 +130,12 @@ fi %doc LICENSE.txt %changelog +* Sat Feb 19 2022 Silvan Calarco 6.1.20210127git.cf82d58-2mamba +- fix version requirement for VirtualBox-web + +* Tue Jan 11 2022 Silvan Calarco 6.1.20210127git.cf82d58-1mamba +- update to 6.1.20210127git.cf82d58 + * Sat Nov 09 2019 Silvan Calarco 5.2_1-1mamba - update to 5.2_1