SPECS: VirtualBox.spec - proper group deps (NOTE: PLD-doc/BuildReq...
glen
glen at pld-linux.org
Sat Sep 22 11:53:35 CEST 2007
Author: glen Date: Sat Sep 22 09:53:35 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper group deps (NOTE: PLD-doc/BuildRequires.txt is your friend)
---- Files affected:
SPECS:
VirtualBox.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.24 SPECS/VirtualBox.spec:1.25
--- SPECS/VirtualBox.spec:1.24 Sat Sep 22 11:38:40 2007
+++ SPECS/VirtualBox.spec Sat Sep 22 11:53:29 2007
@@ -5,7 +5,7 @@
# - Home page says that some addons should be compiled, I don't see any except.
# vboxaddon kernel module and {vboxmouse,vboxvideo)_drv.so. Are they required?
# - .desktop file
-# - it seems that VBoxSVC should not be started by init script but I'm still
+# - it seems that VBoxSVC should not be started by init script but I'm still
# testing this
# - /dev/vboxdrv should belong to vboxusers group and have rw rights to it
# - Devel stuff is not packaged yet.
@@ -27,7 +27,7 @@
Release: %{_rel}
License: GPL v2
Group: Applications/Emulators
-Source0: http://www.virtualbox.org/download/%{version}/VirtualBox-%{version}_OSE.tar.bz2
+Source0: http://www.virtualbox.org/download/%{version}/%{name}-%{version}_OSE.tar.bz2
# Source0-md5: 56c074900260c109ed735c08e726fe81
Source1: virtualbox.init
Source2: http://www.virtualbox.org/download/UserManual.pdf
@@ -36,11 +36,6 @@
Patch0: %{name}-configure.patch
Patch1: %{name}-qt-paths.patch
URL: http://www.virtualbox.org/
-Requires(postun): /usr/sbin/groupdel
-Requires(postun): /usr/sbin/userdel
-Requires(pre): /bin/id
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
BuildRequires: SDL-devel
BuildRequires: bash
BuildRequires: bcc
@@ -60,6 +55,10 @@
BuildRequires: xerces-c-devel >= 2.6.0
BuildRequires: xorg-lib-libXcursor-devel
BuildRequires: zlib-devel >= 1.2.1
+Requires(postun): /usr/sbin/groupdel
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Provides: group(vbox)
ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -257,7 +256,7 @@
#'
fi
-%preun
+%preun
if [ "$1" = "0" ]; then
%service virtualbox stop
/sbin/chkconfig --del virtualbox
@@ -310,6 +309,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2007/09/22 09:53:29 glen
+- proper group deps (NOTE: PLD-doc/BuildRequires.txt is your friend)
+
Revision 1.24 2007/09/22 09:38:40 pascalek
- Relase 0.3; use vbox group
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list