2008-04-24 01:47:24 +02:00
|
|
|
#
|
2011-04-29 12:44:49 +02:00
|
|
|
# spec file for package open-vm-tools
|
2008-04-24 01:47:24 +02:00
|
|
|
#
|
2011-04-29 12:44:49 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-11-25 15:06:18 +01:00
|
|
|
# Copyright (C) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
|
2008-04-24 01:47:24 +02:00
|
|
|
#
|
2008-09-06 02:58:45 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2010-03-05 11:55:11 +01:00
|
|
|
# exclude AMD PCnet32 LANCE pci.id from Supplements list [bnc#397554]
|
2008-06-24 00:14:21 +02:00
|
|
|
%define __find_supplements sh -c '/usr/lib/rpm/find-supplements %{name} | grep -v pci:v00001022d00002000'
|
2010-06-07 09:45:04 +02:00
|
|
|
|
2011-04-14 18:38:44 +02:00
|
|
|
# Modules that have to be build up to version 12.1 (Last checked on 2011-04-14 with kernel 2.6.38)
|
2011-05-25 16:31:38 +02:00
|
|
|
%if 0%{?suse_version} <= 1210
|
2011-04-14 18:38:44 +02:00
|
|
|
%define mod1210 vmblock vmhgfs vmsync vmxnet vmci vsock
|
2010-11-25 15:06:18 +01:00
|
|
|
%endif
|
|
|
|
|
2011-04-14 22:37:34 +02:00
|
|
|
# X modules are lower prio upstream and once in a while fail. Offer an easy way to enable/disable them.
|
2010-12-22 10:17:01 +01:00
|
|
|
%define with_X 1
|
2010-11-25 15:06:18 +01:00
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
Name: open-vm-tools
|
2011-06-02 15:29:11 +02:00
|
|
|
Version: 2011.05.27
|
|
|
|
%define svn_rev 420096
|
2010-11-25 15:06:18 +01:00
|
|
|
Release: 1
|
2011-05-25 16:31:38 +02:00
|
|
|
License: BSD3c ; GPLv2 ; LGPLv2.1
|
|
|
|
Summary: Open Virtual Machine Tools
|
2008-04-24 01:47:24 +02:00
|
|
|
Url: http://open-vm-tools.sourceforge.net/
|
2011-05-25 16:31:38 +02:00
|
|
|
Group: System/Emulators/PC
|
2009-01-19 02:16:54 +01:00
|
|
|
Source: %{name}-%{version}-%{svn_rev}.tar.bz2
|
2009-06-10 15:30:14 +02:00
|
|
|
Source1: vmtoolsd
|
|
|
|
Source2: vmware-user-autostart.desktop
|
|
|
|
Source4: open-vm-tools.permissions
|
|
|
|
Source5: vmware-user-autostart-wrapper
|
2010-03-23 22:27:15 +01:00
|
|
|
Source6: open-vm-tools-modprobe.conf
|
2009-06-10 15:30:14 +02:00
|
|
|
Source98: preamble
|
2008-09-06 02:58:45 +02:00
|
|
|
BuildRequires: gcc-c++
|
2011-05-31 13:30:28 +02:00
|
|
|
# don't use pkgconfig(gtk+-2.0) so we can build on SLE
|
|
|
|
BuildRequires: gtk2-devel
|
2011-05-25 16:31:38 +02:00
|
|
|
BuildRequires: gtkmm2-devel
|
2009-06-10 15:30:14 +02:00
|
|
|
BuildRequires: kernel-source
|
|
|
|
BuildRequires: kernel-syms
|
|
|
|
BuildRequires: libdnet-devel
|
|
|
|
BuildRequires: libicu-devel
|
2011-05-25 16:31:38 +02:00
|
|
|
BuildRequires: module-init-tools
|
2009-06-10 15:30:14 +02:00
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xorg-x11-devel
|
2011-05-25 16:31:38 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-09-06 02:58:45 +02:00
|
|
|
# liburiparser was not present before 11.0
|
|
|
|
%if 0%{?suse_version} >= 1100
|
|
|
|
BuildRequires: liburiparser-devel
|
|
|
|
%endif
|
2009-06-10 15:30:14 +02:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
Requires: vmware-guest-kmp
|
2008-06-24 00:14:21 +02:00
|
|
|
Supplements: modalias(pci:v000015ADd*sv*sd*bc*sc*i*)
|
2011-05-25 16:31:38 +02:00
|
|
|
Requires(pre): %fillup_prereq
|
|
|
|
Requires(pre): %insserv_prereq
|
|
|
|
Requires(pre): permissions
|
|
|
|
ExclusiveArch: %ix86 x86_64
|
2010-11-25 15:06:18 +01:00
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%define vm_modules %{?mod1210} %{?mod1120}
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%suse_kernel_module_package -n vmware-guest -p %{SOURCE98} xen um
|
2008-04-24 01:47:24 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Open Virtual Machine Tools (open-vm-tools) are the open source
|
|
|
|
implementation of VMware Tools. They are a set of guest operating
|
|
|
|
system virtualization components that enhance performance and user
|
|
|
|
experience of virtual machines. As virtualization technology rapidly
|
|
|
|
becomes mainstream, each virtualization solution provider implements
|
|
|
|
their own set of tools and utilities to supplement the guest virtual
|
|
|
|
machine. However, most of the implementations are proprietary and are
|
|
|
|
tied to a specific virtualization platform.
|
|
|
|
|
|
|
|
With the Open Virtual Machine Tools project, we are hoping to solve
|
|
|
|
this and other related problems. The tools are currently composed of
|
|
|
|
kernel modules for Linux and user-space programs for all VMware
|
|
|
|
supported Unix-like guest operating systems. They provide several
|
|
|
|
useful functions like:
|
|
|
|
|
|
|
|
* File transfer between a host and guest
|
|
|
|
|
|
|
|
* Improved memory management and network performance under
|
|
|
|
virtualization
|
|
|
|
|
|
|
|
* General mechanisms and protocols for communication between host and
|
|
|
|
guests and from guest to guest
|
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%package -n vmware-guest-KMP
|
2010-01-09 11:48:58 +01:00
|
|
|
License: BSD3c ; GPLv2 ; LGPLv2.1
|
2009-08-10 18:23:51 +02:00
|
|
|
Summary: Open Virtual Machine Tools - for VM GUESTS
|
2008-04-24 01:47:24 +02:00
|
|
|
Group: System/Emulators/PC
|
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%description -n vmware-guest-KMP
|
2008-04-24 01:47:24 +02:00
|
|
|
Open Virtual Machine Tools (open-vm-tools) are the open source
|
|
|
|
implementation of VMware Tools. They are a set of guest operating
|
|
|
|
system virtualization components that enhance performance and user
|
|
|
|
experience of virtual machines. As virtualization technology rapidly
|
|
|
|
becomes mainstream, each virtualization solution provider implements
|
|
|
|
their own set of tools and utilities to supplement the guest virtual
|
|
|
|
machine. However, most of the implementations are proprietary and are
|
|
|
|
tied to a specific virtualization platform.
|
|
|
|
|
|
|
|
With the Open Virtual Machine Tools project, we are hoping to solve
|
|
|
|
this and other related problems. The tools are currently composed of
|
|
|
|
kernel modules for Linux and user-space programs for all VMware
|
|
|
|
supported Unix-like guest operating systems. They provide several
|
|
|
|
useful functions like:
|
|
|
|
|
|
|
|
* File transfer between a host and guest
|
|
|
|
|
|
|
|
* Improved memory management and network performance under
|
|
|
|
virtualization
|
|
|
|
|
|
|
|
* General mechanisms and protocols for communication between host and
|
|
|
|
guests and from guest to guest
|
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2010-11-29 17:11:33 +01:00
|
|
|
|
2008-09-06 02:58:45 +02:00
|
|
|
%package gui
|
2010-01-09 11:48:58 +01:00
|
|
|
License: BSD3c ; GPLv2 ; LGPLv2.1
|
2008-09-06 02:58:45 +02:00
|
|
|
Summary: Open Virtual Machine Tools - GUI
|
|
|
|
Group: System/Emulators/PC
|
|
|
|
Requires: open-vm-tools
|
|
|
|
Supplements: packageand(open-vm-tools:xorg-x11)
|
2011-05-25 16:31:38 +02:00
|
|
|
Requires(pre): permissions
|
2008-09-06 02:58:45 +02:00
|
|
|
|
|
|
|
%description gui
|
|
|
|
GUI Toolbox for Open Virtual Machine Tools
|
2010-11-25 15:06:18 +01:00
|
|
|
%endif
|
2008-09-06 02:58:45 +02:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%package -n libvmtools0
|
2010-01-09 11:48:58 +01:00
|
|
|
License: BSD3c ; GPLv2 ; LGPLv2.1
|
2009-08-10 18:23:51 +02:00
|
|
|
Summary: Open Virtual Machine Tools - shared library
|
|
|
|
Group: System/Libraries
|
2009-06-10 15:30:14 +02:00
|
|
|
|
|
|
|
%description -n libvmtools0
|
2011-05-25 16:31:38 +02:00
|
|
|
This is a shared library used by several Open VM Tools components,
|
2009-08-10 18:23:51 +02:00
|
|
|
such as vmware-toolbox-cmd and vmtoolsd (and its plugins).
|
2009-06-10 15:30:14 +02:00
|
|
|
|
2009-08-10 18:23:51 +02:00
|
|
|
%package -n libvmtools-devel
|
2010-01-09 11:48:58 +01:00
|
|
|
License: BSD3c ; GPLv2 ; LGPLv2.1
|
2009-08-10 18:23:51 +02:00
|
|
|
Summary: Open Virtual Machine Tools - Development headers
|
|
|
|
Group: Development
|
|
|
|
Requires: libvmtools0 = %{version}
|
2009-06-10 15:30:14 +02:00
|
|
|
|
2009-08-10 18:23:51 +02:00
|
|
|
%description -n libvmtools-devel
|
|
|
|
Those are the development headers for libvmtools. They are needed
|
|
|
|
if you intend to create own plugins for vmtoolsd.
|
2009-06-10 15:30:14 +02:00
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}-%{svn_rev}
|
|
|
|
chmod -x AUTHORS COPYING ChangeLog NEWS README
|
2009-06-10 15:30:14 +02:00
|
|
|
# fix for an rpmlint warning regarding wrong line feeds
|
|
|
|
sed -i -e "s/\r//" README
|
2008-04-24 01:47:24 +02:00
|
|
|
|
|
|
|
%build
|
2011-05-31 13:30:28 +02:00
|
|
|
# disable warning unused-but-set-variable which will raise error because of -Werror
|
|
|
|
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"
|
2008-09-06 02:58:45 +02:00
|
|
|
# comments in a continued line seem not to work... shame
|
2009-01-19 02:16:54 +01:00
|
|
|
# --disable-unity : liburiparser was not present before 11.0
|
2008-09-06 02:58:45 +02:00
|
|
|
%configure \
|
2010-12-22 10:27:26 +01:00
|
|
|
%if 0%{?suse_version} < 1140
|
2008-09-06 02:58:45 +02:00
|
|
|
--disable-unity \
|
|
|
|
%endif
|
|
|
|
--without-kernel-modules \
|
2009-06-10 15:30:14 +02:00
|
|
|
--without-root-privileges \
|
2008-09-06 02:58:45 +02:00
|
|
|
--without-procps \
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2010-11-25 15:06:18 +01:00
|
|
|
--with-x \
|
|
|
|
%else
|
|
|
|
--without-x \
|
|
|
|
%endif
|
2009-06-10 15:30:14 +02:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-static
|
2008-04-24 01:47:24 +02:00
|
|
|
make
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
TOPDIR=$PWD
|
2008-04-24 01:47:24 +02:00
|
|
|
cd ..
|
|
|
|
mkdir -p obj
|
|
|
|
for flavor in %{flavors_to_build}; do
|
|
|
|
rm -rf obj/$flavor
|
|
|
|
cp -r %{name}-%{version}-%{svn_rev} obj/$flavor
|
|
|
|
pushd obj/$flavor
|
2008-04-28 15:39:39 +02:00
|
|
|
for module in %{vm_modules}; do
|
|
|
|
pushd modules/linux/$module
|
2009-06-10 15:30:14 +02:00
|
|
|
make -C /usr/src/linux-obj/%{_target_cpu}/$flavor modules M=$PWD VM_CCVER=$(gcc -dumpversion) HEADER_DIR="/usr/src/linux-obj/$(uname -i)/default/include" SRCROOT=$PWD OVT_SOURCE_DIR=$TOPDIR
|
2008-04-28 15:39:39 +02:00
|
|
|
popd
|
|
|
|
done
|
2008-04-24 01:47:24 +02:00
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
|
|
|
# let's use the kernel's own modules_install routine
|
2011-05-25 16:31:38 +02:00
|
|
|
export INSTALL_MOD_PATH=%{buildroot}
|
2008-04-24 01:47:24 +02:00
|
|
|
export INSTALL_MOD_DIR=updates
|
|
|
|
pushd ..
|
|
|
|
for flavor in %{flavors_to_build}; do
|
|
|
|
pushd obj/$flavor
|
|
|
|
for module in %{vm_modules}; do
|
|
|
|
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD/modules/linux/$module
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
popd
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
# fix some rights on the kernel modules, to have a complete -debuginfo package
|
2011-05-25 16:31:38 +02:00
|
|
|
chmod u+x %{buildroot}/lib/modules/*/updates/*
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%make_install
|
2009-06-10 15:30:14 +02:00
|
|
|
# Clean up the *.la files make install put all around
|
2010-01-09 11:48:58 +01:00
|
|
|
find %{buildroot} -name '*.la' -delete -print
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
# install the vmtoolsd init script and also it's rcvmtoolsd softlink
|
2011-05-25 16:31:38 +02:00
|
|
|
install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/vmtoolsd
|
|
|
|
ln -sf ../../etc/init.d/vmtoolsd %{buildroot}%{_sbindir}/rcvmtoolsd
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2009-06-10 15:30:14 +02:00
|
|
|
# vmware-user is started by vmware-user-suid-wrapper by xdg-autostart
|
|
|
|
# unfortunately, vmware-user-suid-wrapper does not wait for it's block device
|
|
|
|
# to appear. For this reason we have now a vmware-user-autostart-wrapper
|
|
|
|
# which checks for /proc/fs/vmblock/dev to appear and then starts vmware-user-suid-wrapper
|
2011-05-25 16:31:38 +02:00
|
|
|
install -D -m 0755 %{SOURCE5} %{buildroot}%{_bindir}/vmware-user-autostart-wrapper
|
|
|
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop
|
2010-12-22 10:17:01 +01:00
|
|
|
# We have our own 'safe' autostart wrapper, which checks for modules to start in autologin mode...
|
|
|
|
# Thus we drop the 'original' autostartup
|
2011-05-25 16:31:38 +02:00
|
|
|
rm %{buildroot}%{_sysconfdir}/xdg/autostart/vmware-user.desktop
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
# handle the .destop files for translations
|
|
|
|
%suse_update_desktop_file vmware-user-autostart
|
2010-11-25 15:06:18 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
# modprobe configuration for vmnics.
|
2011-05-25 16:31:38 +02:00
|
|
|
install -D -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/modprobe.d/50-vmnics.conf
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
# fix a link pointing to the buildroot for mount.vmhgfs
|
|
|
|
( cd %{buildroot}/sbin; rm mount.vmhgfs; ln -s ..%{_sbindir}/mount.vmhgfs )
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
# the script installs some binaries into /usr/share/open-vm-tools which are just some tests.
|
|
|
|
# So we drop them for the moment. Upstream has been informed about this.
|
2010-11-25 15:06:18 +01:00
|
|
|
rm -r %{buildroot}%{_datadir}/%{name}
|
2008-04-24 01:47:24 +02:00
|
|
|
|
|
|
|
%post
|
|
|
|
%run_permissions
|
|
|
|
/sbin/ldconfig
|
2009-06-10 15:30:14 +02:00
|
|
|
%{fillup_and_insserv -Y vmtoolsd}
|
2010-03-05 11:55:11 +01:00
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2009-08-10 18:23:51 +02:00
|
|
|
%verifyscript gui
|
|
|
|
%verify_permissions
|
2008-04-24 01:47:24 +02:00
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%post gui
|
|
|
|
%run_permissions
|
2010-11-25 15:06:18 +01:00
|
|
|
%endif
|
2009-06-10 15:30:14 +02:00
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
%preun
|
2010-11-25 15:06:18 +01:00
|
|
|
# stop service with the old name (if exists) on update (something like %%stop_on_update)
|
2009-06-10 15:30:14 +02:00
|
|
|
test -n "$FIRST_ARG" || FIRST_ARG=$1
|
|
|
|
if test "$FIRST_ARG" -ge 1 ; then
|
|
|
|
test -f /etc/sysconfig/services && . /etc/sysconfig/services
|
|
|
|
if test "$YAST_IS_RUNNING" != "instsys" ; then
|
2009-08-10 18:23:51 +02:00
|
|
|
/etc/init.d/vmware-guestd stop &> /dev/null || :
|
2009-06-10 15:30:14 +02:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
%stop_on_removal vmtoolsd
|
2008-04-24 01:47:24 +02:00
|
|
|
|
|
|
|
%postun
|
2009-06-10 15:30:14 +02:00
|
|
|
%restart_on_update vmtoolsd
|
2008-04-24 01:47:24 +02:00
|
|
|
%insserv_cleanup
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2009-06-10 15:30:14 +02:00
|
|
|
%post -n libvmtools0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libvmtools0 -p /sbin/ldconfig
|
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
%clean
|
2009-08-10 18:23:51 +02:00
|
|
|
rm -rf %{buildroot}
|
2008-04-24 01:47:24 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_bindir}/vmtoolsd
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/plugins
|
2010-01-09 11:48:58 +01:00
|
|
|
%dir %{_libdir}/%{name}/plugins/common
|
2009-06-10 15:30:14 +02:00
|
|
|
%dir %{_libdir}/%{name}/plugins/vmsvc
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2009-06-10 15:30:14 +02:00
|
|
|
%dir %{_libdir}/%{name}/plugins/vmusr
|
2010-11-25 15:06:18 +01:00
|
|
|
%endif
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_libdir}/%{name}/plugins/vmsvc/libguestInfo.so
|
|
|
|
%{_libdir}/%{name}/plugins/vmsvc/libpowerOps.so
|
|
|
|
%{_libdir}/%{name}/plugins/vmsvc/libtimeSync.so
|
|
|
|
%{_libdir}/%{name}/plugins/vmsvc/libvmbackup.so
|
2010-01-09 11:48:58 +01:00
|
|
|
%{_libdir}/%{name}/plugins/common/libhgfsServer.so
|
|
|
|
%{_libdir}/%{name}/plugins/common/libvix.so
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_bindir}/vmware-checkvm
|
|
|
|
%{_bindir}/vmware-hgfsclient
|
|
|
|
%{_bindir}/vmware-rpctool
|
|
|
|
%{_bindir}/vmware-toolbox-cmd
|
|
|
|
%{_bindir}/vmware-xferlogs
|
|
|
|
%{_sbindir}/mount.vmhgfs
|
|
|
|
/sbin/mount.vmhgfs
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/vmtoolsd
|
|
|
|
%{_sysconfdir}/vmware-tools
|
|
|
|
%{_sysconfdir}/init.d/vmtoolsd
|
2010-03-23 22:27:15 +01:00
|
|
|
%{_sysconfdir}/modprobe.d/50-vmnics.conf
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_sbindir}/rcvmtoolsd
|
|
|
|
%exclude %{_libdir}/*.so
|
2008-09-06 02:58:45 +02:00
|
|
|
|
2011-05-25 16:31:38 +02:00
|
|
|
%if %{with_X}
|
2010-11-29 17:11:33 +01:00
|
|
|
|
2008-09-06 02:58:45 +02:00
|
|
|
%files gui
|
|
|
|
%defattr(-, root, root)
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_sysconfdir}/xdg/autostart/vmware-user-autostart.desktop
|
2009-08-10 18:23:51 +02:00
|
|
|
%verify(not mode) %attr(0755,root,root) %{_bindir}/vmware-user-suid-wrapper
|
2010-12-22 10:17:01 +01:00
|
|
|
%{_libdir}/%{name}/plugins/vmusr/libdesktopEvents.so
|
|
|
|
%{_libdir}/%{name}/plugins/vmusr/libdndcp.so
|
2009-06-10 15:30:14 +02:00
|
|
|
%{_libdir}/%{name}/plugins/vmusr/libresolutionSet.so
|
2010-12-22 10:27:26 +01:00
|
|
|
%if 0%{?suse_version} >= 1140
|
2010-12-22 10:17:01 +01:00
|
|
|
%{_libdir}/%{name}/plugins/vmusr/libunity.so
|
2010-12-22 10:27:26 +01:00
|
|
|
%endif
|
2010-11-25 15:06:18 +01:00
|
|
|
%{_bindir}/vmware-user-autostart-wrapper
|
|
|
|
%endif
|
2009-06-10 15:30:14 +02:00
|
|
|
|
|
|
|
%files -n libvmtools0
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libvmtools.so.*
|
|
|
|
%{_libdir}/libguestlib.so.*
|
2010-11-25 15:06:18 +01:00
|
|
|
%{_libdir}/libhgfs.so.*
|
2008-04-24 01:47:24 +02:00
|
|
|
|
2009-08-10 18:23:51 +02:00
|
|
|
%files -n libvmtools-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/vmGuestLib
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/vmguestlib.pc
|
|
|
|
|
2008-04-24 01:47:24 +02:00
|
|
|
%changelog
|