SPECS: VMware-server.spec - packaged perl files and missing pixmap...
tommat
tommat at pld-linux.org
Tue May 2 01:43:54 CEST 2006
Author: tommat Date: Mon May 1 23:43:54 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- packaged perl files and missing pixmaps
- rel 0.3
---- Files affected:
SPECS:
VMware-server.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/VMware-server.spec
diff -u SPECS/VMware-server.spec:1.7 SPECS/VMware-server.spec:1.8
--- SPECS/VMware-server.spec:1.7 Sun Apr 30 11:20:37 2006
+++ SPECS/VMware-server.spec Tue May 2 01:43:49 2006
@@ -32,7 +32,7 @@
#
%define _ver e.x.p
%define _build 22874
-%define _rel 0.2
+%define _rel 0.3
%define _urel 101
%define _ccver %(rpm -q --qf "%{VERSION}" gcc)
#
@@ -324,6 +324,7 @@
cp -a vmnet-only{,.clean}
cd -
%patch1 -p1
+tar xf lib/perl/control.tar
%build
sed -i 's:vm_db_answer_LIBDIR:VM_LIBDIR:g;s:vm_db_answer_BINDIR:VM_BINDIR:g' bin/vmware
@@ -340,6 +341,18 @@
%endif
cd -
+%if %{with userspace}
+ cd control-only
+ perl Makefile.PL
+ sed -i "s:^INSTALLSITEARCH.*$:INSTALLSITEARCH = %{perl_vendorarch}:" Makefile
+ sed -i "s:^INSTALLSITELIB.*$:INSTALLSITELIB = %{perl_vendorlib}:" Makefile
+ sed -i "s:^INSTALLSITEMAN1DIR.*$:INSTALLSITEMAN1DIR = %{_mandir}/man1:" Makefile
+ sed -i "s:^INSTALLSITEMAN3DIR.*$:INSTALLSITEMAN3DIR = %{_mandir}/man3:" Makefile
+
+ %{__make}
+ cd ..
+%endif
+
%if %{with kernel}
cd lib/modules/source
rm -rf built
@@ -439,6 +452,11 @@
$RPM_BUILD_ROOT%{_desktopdir} \
$RPM_BUILD_ROOT/etc/rc.d/init.d \
$RPM_BUILD_ROOT/var/run/vmware
+
+ cd control-only
+ %{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+ cd ..
%endif
%if %{with kernel}
@@ -492,7 +510,7 @@
install lib/bin/vmware-vmx $RPM_BUILD_ROOT%{_libdir}/vmware-server/bin
#cp -r lib/{bin-debug,config,help*,isoimages,licenses,messages,smb,xkeymap} \
-cp -r lib/{bin-debug,config,help*,isoimages,licenses,messages,xkeymap} \
+cp -r lib/{bin-debug,config,help*,isoimages,licenses,messages,xkeymap,share} \
$RPM_BUILD_ROOT%{_libdir}/vmware-server
cp -r vmware-console-distrib/lib/{bin-debug,config,help*,messages,xkeymap,share} \
@@ -617,8 +635,12 @@
%dir %{_libdir}/vmware-server/messages
%{_libdir}/vmware-server/messages/en
%lang(ja) %{_libdir}/vmware-server/messages/ja
+%{_libdir}/vmware-server/share
%{_libdir}/vmware-server/xkeymap
%{_mandir}/man1/vmware.1*
+%{_mandir}/man3/*
+%{perl_vendorarch}/VMware
+%{perl_vendorarch}/auto/VMware
%attr(1777,root,root) %dir /var/run/vmware
%{_pixmapsdir}/*.png
%{_desktopdir}/%{name}.desktop
@@ -638,6 +660,7 @@
%attr(755,root,root) %{_libdir}/vmware-console/lib/wrapper-gtk24.sh
%endif
%dir %{_libdir}/vmware-console/messages
+#%{_libdir}/vmware-console/messages/en
%lang(ja) %{_libdir}/vmware-console/messages/ja
%{_libdir}/vmware-console/share
%{_libdir}/vmware-console/xkeymap
@@ -736,6 +759,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2006/05/01 23:43:49 tommat
+- packaged perl files and missing pixmaps
+- rel 0.3
+
Revision 1.7 2006/04/30 09:20:37 tommat
- packaged console menu pixmaps
- rel 0.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/VMware-server.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list