2009-09-08 17:40:51 +02:00
|
|
|
#WMIC
|
|
|
|
#
|
|
|
|
%define name wmic
|
2011-09-15 18:11:42 +02:00
|
|
|
%define version 4.0.0tp4
|
2009-12-18 19:27:18 +01:00
|
|
|
Summary: Linux WMI client to do WMI querys using DCOM http://samba.org
|
2009-09-08 17:40:51 +02:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: 0
|
2009-12-18 19:27:18 +01:00
|
|
|
License: GPL2
|
2009-09-08 17:40:51 +02:00
|
|
|
Group: System/Management
|
2011-09-15 18:11:42 +02:00
|
|
|
Source0: wmic_SUSE11_32bit_4.0.0tp4.tar.bz2
|
2009-09-08 17:40:51 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-09-15 18:11:42 +02:00
|
|
|
BuildArch: i386
|
2009-09-08 17:40:51 +02:00
|
|
|
AutoReq: 1
|
|
|
|
Provides: %{name}-%{version}
|
|
|
|
|
|
|
|
%description
|
2009-12-18 19:27:18 +01:00
|
|
|
Linux WMI client to do WMI querys. More information at SAMBA4 project at http://www.samba.org/
|
2009-09-08 17:40:51 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%setup -c
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
|
|
|
cp -p wmic $RPM_BUILD_ROOT/usr/bin/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/usr/bin/wmic
|