35 lines
782 B
Plaintext
35 lines
782 B
Plaintext
#WMIC
|
|
#
|
|
%define name wmic
|
|
%define version 4.0.0tp4
|
|
Summary: Linux WMI client to do WMI querys using DCOM http://samba.org
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: 0
|
|
License: GPL2
|
|
Group: System/Management
|
|
Source0: wmic_SUSE11_32bit_4.0.0tp4.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: i386
|
|
AutoReq: 1
|
|
Provides: %{name}-%{version}
|
|
|
|
%description
|
|
Linux WMI client to do WMI querys. More information at SAMBA4 project at http://www.samba.org/
|
|
|
|
%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
|