2009-09-08 17:40:51 +02:00
|
|
|
#WMIC
|
|
|
|
#
|
|
|
|
%define name wmic
|
|
|
|
%define version 4.0.0SVN
|
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
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
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
|