%define taglevel 9
%define plc_name %{name}-%{version}-%{taglevel}
-%define actual_name omf-resctl-5.3-1ubuntu10-2
+%define resctl_actual_name omf-resctl-5.3-1ubuntu11-2
Summary: OMF Resource Controller - for slivers
Name: %{name}
Distribution: %{pldistro} %{plrelease}
URL: %{SCMURL}
-# BuildArch: noarch
+BuildArch: noarch
Requires: pciutils
Requires: ruby
Requires: omf-common
Requires: liblog4r
Requires: libxmpp4r
-Requires: imagezip
+#Requires: imagezip
%description
The OMF Resource Controller (RC) is the experiment-side of the
resources. It relies on an XMPP server for exchanging with its EC.
####################
-%define common_actual_name omf-common-5.3-1ubuntu9-2
+%define common_actual_name omf-common-5.3-1ubuntu10-2
%package -n omf-common
Summary: OMF common utilities
An XMPP/Jabber library for Ruby, needed by OMF software
####################
-%define imagezip_actual_name imagezip-1.0.0-3
-
-%package -n imagezip
-Summary: filesystem image compression tool from EMULAB
-Group: System Environment/Base
-%description -n imagezip
-filesystem image compression tool from EMULAB
+#%define imagezip_actual_name imagezip-1.0.0-3
+#
+#%package -n imagezip
+#Summary: filesystem image compression tool from EMULAB
+#Group: System Environment/Base
+#%description -n imagezip
+#filesystem image compression tool from EMULAB
####################
mkdir unwrap
make omf-resctl
-(cd unwrap; rpm2cpio ../%{actual_name}.noarch.rpm | cpio -diu)
+(cd unwrap; rpm2cpio ../%{resctl_actual_name}.noarch.rpm | cpio -diu)
make omf-common
(cd unwrap ; rpm2cpio ../%{common_actual_name}.noarch.rpm | cpio -diu)
make liblog4r
(cd unwrap; rpm2cpio ../%{liblog4r_actual_name}.noarch.rpm | cpio -diu)
make libxmpp4r
(cd unwrap; rpm2cpio ../%{libxmpp4r_actual_name}.noarch.rpm | cpio -diu)
-make imagezip
-(cd unwrap; rpm2cpio ../%{imagezip_actual_name}.i386.rpm | cpio -diu)
+#make imagezip
+#(cd unwrap; rpm2cpio ../%{imagezip_actual_name}.i386.rpm | cpio -diu)
# remove any default config if any
rm -f unwrap/etc/omf-resctl-%{version}/omf-resctl.yaml
/usr/share/doc/libxmpp4r-ruby1.8
####################
-%files -n imagezip
-%defattr(-,root,root)
-/usr/bin/imagedump
-/usr/bin/imageunzip
-/usr/bin/imagezip
-/usr/share/doc/imagezip
+#%files -n imagezip
+#%defattr(-,root,root)
+#/usr/bin/imagedump
+#/usr/bin/imageunzip
+#/usr/bin/imagezip
+#/usr/share/doc/imagezip
####################
%changelog