diff --git a/README.md b/README.md index 507cbe5..f9102db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # open-vm-tools +open-vm-tools is a set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests. It includes kernel modules for enhancing the performance of virtual machines running Linux or other VMware supported Unix like guest operating systems. + diff --git a/open-vm-tools.spec b/open-vm-tools.spec new file mode 100644 index 0000000..a407a45 --- /dev/null +++ b/open-vm-tools.spec @@ -0,0 +1,186 @@ +Name: open-vm-tools +Version: 12.3.5 +Release: 1mamba +Summary: a set of services and modules that enable several features in VMware products for better management of guests +Group: System/T +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/vmware/open-vm-tools +Source: https://github.com/vmware/open-vm-tools.git/stable-%{version}/open-vm-tools-%{version}.tar.bz2 +Source1: vmtoolsd.pam +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXtst-devel +BuildRequires: libat-spi2-core-devel +BuildRequires: libatkmm1-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libcairomm10-devel +BuildRequires: libdrm-devel +BuildRequires: libfuse3-devel +BuildRequires: libgcc +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libglibmm24-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk3-devel +BuildRequires: libgtkmm3-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libicu-devel +BuildRequires: libltdl-devel +BuildRequires: liblzma-devel +BuildRequires: libmspack-devel +BuildRequires: libopenssl-devel +BuildRequires: libpango-devel +BuildRequires: libpangomm1-devel +BuildRequires: libpcre-devel +BuildRequires: libsigc++2-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtirpc-devel +BuildRequires: libudev-devel +BuildRequires: libxcrypt-devel +BuildRequires: libxml2-devel +BuildRequires: libxmlsec1-devel +BuildRequires: libxslt-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +open-vm-tools is a set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests. It includes kernel modules for enhancing the performance of virtual machines running Linux or other VMware supported Unix like guest operating systems. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -D -T +:<< _EOF +cd open-vm-tools + +autoreconf -f -i + +%build +:<< _EOF +cd open-vm-tools +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C open-vm-tools + +install -D -m0644 %{SOURCE1} %{buildroot}%{_pam_confdir}/vmtoolsd + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%dir %{_sysconfdir}/vmware-tools +%{_sysconfdir}/vmware-tools/poweroff-vm-default +%{_sysconfdir}/vmware-tools/poweron-vm-default +%{_sysconfdir}/vmware-tools/resume-vm-default +%{_sysconfdir}/vmware-tools/scripts/vmware/network +%{_sysconfdir}/vmware-tools/statechange.subr +%{_sysconfdir}/vmware-tools/suspend-vm-default +%{_sysconfdir}/vmware-tools/tools.conf.example +%{_sysconfdir}/vmware-tools/vgauth.conf +%dir %{_sysconfdir}/vmware-tools/vgauth +%dir %{_sysconfdir}/vmware-tools/vgauth/schemas +%{_sysconfdir}/vmware-tools/vgauth/schemas/* +%{_sysconfdir}/xdg/autostart/vmware-user.desktop +%{_pam_confdir}/vmtoolsd +%{_bindir}/VGAuthService +%{_bindir}/vm-support +%{_bindir}/vmhgfs-fuse +%{_bindir}/vmtoolsd +%{_bindir}/vmware-* +%{_bindir}/vmwgfxctrl +%{_udevrulesdir}/99-vmware-scsi-udev.rules +%dir %{_datadir}/open-vm-tools/messages +%lang(de) %{_datadir}/open-vm-tools/messages/de +%lang(en) %{_datadir}/open-vm-tools/messages/en +%lang(es) %{_datadir}/open-vm-tools/messages/es +%lang(fr) %{_datadir}/open-vm-tools/messages/fr +%lang(it) %{_datadir}/open-vm-tools/messages/it +%lang(ja) %{_datadir}/open-vm-tools/messages/ja +%lang(ko) %{_datadir}/open-vm-tools/messages/ko +%lang(zh_CN) %{_datadir}/open-vm-tools/messages/zh_CN +%lang(zh_TW) %{_datadir}/open-vm-tools/messages/zh_TW + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libDeployPkg.so.* +%{_libdir}/libguestStoreClient.so.* +%{_libdir}/libguestlib.so.* +%{_libdir}/libhgfs.so.* +%{_libdir}/libvgauth.so.* +%{_libdir}/libvmtools.so.* +%dir %{_libdir}/open-vm-tools +%dir %{_libdir}/open-vm-tools/plugins +%dir %{_libdir}/open-vm-tools/plugins/common +%{_libdir}/open-vm-tools/plugins/common/*.so +%dir %{_libdir}/open-vm-tools/plugins/vmsvc +%{_libdir}/open-vm-tools/plugins/vmsvc/*.so +%dir %{_libdir}/open-vm-tools/plugins/vmusr +%{_libdir}/open-vm-tools/plugins/vmusr/*.so +%doc open-vm-tools/LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/libDeployPkg +%{_includedir}/libDeployPkg/*.h +%dir %{_includedir}/vmGuestLib +%{_includedir}/vmGuestLib/*.h +%{_libdir}/libDeployPkg.a +%{_libdir}/libDeployPkg.so +%{_libdir}/libguestStoreClient.a +%{_libdir}/libguestStoreClient.so +%{_libdir}/libguestlib.a +%{_libdir}/libguestlib.so +%{_libdir}/libhgfs.a +%{_libdir}/libhgfs.so +%{_libdir}/libvgauth.a +%{_libdir}/libvgauth.so +%{_libdir}/libvmtools.a +%{_libdir}/libvmtools.so +%{_libdir}/pkgconfig/libDeployPkg.pc +%{_libdir}/pkgconfig/vmguestlib.pc +%dir %{_docdir}/open-vm-tools +%dir %{_docdir}/open-vm-tools/api +%{_docdir}/open-vm-tools/api/* +%doc README.md + + +%changelog +* Wed Feb 07 2024 Silvan Calarco 12.3.5-1mamba +- package created using the webbuild interface diff --git a/vmtoolsd.pam b/vmtoolsd.pam new file mode 100644 index 0000000..5025a0f --- /dev/null +++ b/vmtoolsd.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth