Updated version and configure options for new upstream release 9.2.3

This commit is contained in:
Ravindra Kumar 2013-04-25 10:27:00 -07:00
parent b8c5edf198
commit 359e04812b

View File

@ -1,18 +1,19 @@
%global majorversion 9.2 %global majorversion 9.2
%global minorversion 2 %global minorversion 3
%global toolsbuild 893683 %global toolsbuild 1031360
%global toolsversion %{majorversion}.%{minorversion} %global toolsversion %{majorversion}.%{minorversion}
%global toolsdaemon vmtoolsd %global toolsdaemon vmtoolsd
Name: open-vm-tools Name: open-vm-tools
Version: %{toolsversion} Version: %{toolsversion}
Release: 12%{?dist} Release: 1%{?dist}
Summary: Open VMware Tools for virtual machines hosted on VMware Summary: Open VMware Tools for virtual machines hosted on VMware
Group: Applications/System Group: Applications/System
License: GPLv2 License: GPLv2
URL: http://%{name}.sourceforge.net/ URL: http://%{name}.sourceforge.net/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz
Source1: %{name}.service Source1: %{name}.service
ExclusiveArch: %{ix86} x86_64
BuildRequires: doxygen BuildRequires: doxygen
# Fuse is optional and enables vmblock-fuse # Fuse is optional and enables vmblock-fuse
@ -37,8 +38,6 @@ Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
ExclusiveArch: %{ix86} x86_64
%description %description
The %{name} project is an open source implementation of VMware Tools. It The %{name} project is an open source implementation of VMware Tools. It
is a suite of open source virtualization utilities and drivers to improve the is a suite of open source virtualization utilities and drivers to improve the
@ -70,15 +69,9 @@ VMware virtual machines.
%setup -q -n %{name}-%{version}-%{toolsbuild} %setup -q -n %{name}-%{version}-%{toolsbuild}
%build %build
# open-vm-tools source has some warnings generated because
# of some deprecated glib calls. Suppress these warning
# until these are fixed in open-vm-tools source code.
# Use -Wno-unused-local-typedefs to build with GCC 4.8 # Use -Wno-unused-local-typedefs to build with GCC 4.8
export CFLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations -Wno-unused-local-typedefs" export CFLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs"
export CXXLAGS="$RPM_OPT_FLAGS -Wno-deprecated-declarations -Wno-unused-local-typedefs" export CXXLAGS="$RPM_OPT_FLAGS -Wno-unused-local-typedefs"
# Following is required to configure to deal with libproc.so
# name appropriately
export CUSTOM_PROCPS_NAME=procps
%configure \ %configure \
--without-kernel-modules \ --without-kernel-modules \
--disable-static --disable-static
@ -161,12 +154,18 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
%{_libdir}/libvmtools.so %{_libdir}/libvmtools.so
%changelog %changelog
* Wed Apr 24 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-12 * Thu Apr 25 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.3-1
- Package new upstream version open-vm-tools-9.2.3-1031360.
- Removed configure options CUSTOM_PROCPS_NAME (for libproc) and
-Wno-deprecated-declarations as these have been addressed in
open-vm-tools-9.2.3-1031360.
* Wed Apr 24 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-12
- Removed %%defattr and BuildRoot. - Removed %%defattr and BuildRoot.
- Added ExclusiveArch. - Added ExclusiveArch.
- Replaced /usr/sbin/ldconfig with /sbin/ldconfig. - Replaced /usr/sbin/ldconfig with /sbin/ldconfig.
* Mon Apr 22 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-11 * Mon Apr 22 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-11
- Removed the conditional steps for old versions of Fedora and RHEL. - Removed the conditional steps for old versions of Fedora and RHEL.
* Thu Apr 18 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-10 * Thu Apr 18 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-10
@ -177,18 +176,18 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
- Removed rm command in %%check section. - Removed rm command in %%check section.
- Remove blank character at the beginning of each changelog line. - Remove blank character at the beginning of each changelog line.
* Mon Apr 15 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-8 * Mon Apr 15 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-8
- Removed FreeSans.ttf font file from packaging. - Removed FreeSans.ttf font file from packaging.
- Added 'rm' command to remove font file in %%check section because - Added 'rm' command to remove font file in %%check section because
'make check' adds it back. 'make check' adds it back.
- Added doxygen dependency back. - Added doxygen dependency back.
* Thu Apr 11 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-7 * Thu Apr 11 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-7
- Applied patch from Simone for removal of --docdir option from configure. - Applied patch from Simone for removal of --docdir option from configure.
- Removed unnecessary --enable-docs option from configure. - Removed unnecessary --enable-docs option from configure.
- Removed doxygen dependency. - Removed doxygen dependency.
* Thu Apr 11 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-6 * Thu Apr 11 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-6
- Replaced vmtoolsd with a variable. - Replaced vmtoolsd with a variable.
- Changed summary for subpackages to be more specific. - Changed summary for subpackages to be more specific.
- Removed drivers.txt file as we don't really need it. - Removed drivers.txt file as we don't really need it.
@ -203,16 +202,16 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
- Moved api documentation in devel subpackage. - Moved api documentation in devel subpackage.
- Removed static libraries. - Removed static libraries.
* Tue Apr 09 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-4 * Tue Apr 09 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-4
- Applied part of review fixes patch from Simone Caronni for systemd setup. - Applied part of review fixes patch from Simone Caronni for systemd setup.
- Replaced tabs with spaces all over. - Replaced tabs with spaces all over.
* Tue Apr 09 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-3 * Tue Apr 09 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-3
- Applied review fixes patch from Simone Caronni. - Applied review fixes patch from Simone Caronni.
- Added missing *.a and *.so files for devel package. - Added missing *.a and *.so files for devel package.
- Removed unnecessary *.la plugin files from base package. - Removed unnecessary *.la plugin files from base package.
* Mon Apr 08 2013 Ravindra Kumar <ravindrakumar at vmware.com> - 9.2.2-2 * Mon Apr 08 2013 Ravindra Kumar <ravindrakumar@vmware.com> - 9.2.2-2
- Modified SPEC to follow the conventions and guidelines. - Modified SPEC to follow the conventions and guidelines.
- Addressed review comments from Mohamed El Morabity. - Addressed review comments from Mohamed El Morabity.
- Added systemd script. - Added systemd script.
@ -222,5 +221,5 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service
- Split the help files in a separate package for help. - Split the help files in a separate package for help.
- Split the guestlib headers in a separate devel package. - Split the guestlib headers in a separate devel package.
* Mon Jan 28 2013 Sankar Tanguturi <stanguturi at vmware.com> - 9.2.2-1 * Mon Jan 28 2013 Sankar Tanguturi <stanguturi@vmware.com> - 9.2.2-1
- Initial SPEC file to build open-vm-tools for Fedora 17. - Initial SPEC file to build open-vm-tools for Fedora 17.