summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2011-09-08 09:26:14 +0200
committerKlaus Kämpf <kkaempf@suse.de>2011-09-08 09:26:14 +0200
commit851a2cacb6a8e6473528266a6b90ee1976c31550 (patch)
treedb864be22dedfaa9f1521a27944a6b36c2e1e599
parent69ddc10b31d158e5ceeab9d2e0fc78b9b1a4c244 (diff)
downloadwsmancli-851a2cacb6a8e6473528266a6b90ee1976c31550.tar.gz
wsmancli-851a2cacb6a8e6473528266a6b90ee1976c31550.tar.xz
wsmancli-851a2cacb6a8e6473528266a6b90ee1976c31550.zip
Fix build with gcc 4.6, add wseventmgr
-rw-r--r--wsmancli.spec.in51
1 files changed, 36 insertions, 15 deletions
diff --git a/wsmancli.spec.in b/wsmancli.spec.in
index 69a50fa..95bfb45 100644
--- a/wsmancli.spec.in
+++ b/wsmancli.spec.in
@@ -1,33 +1,54 @@
+#
+# spec file for package wsmancli (Version @PACKAGE_VERSION@)
+#
+
+# norootforbuild
+
+
Name: wsmancli
-Version: @PACKAGE_VERSION@
-Release: 1
-License: BSD
+BuildRequires: gcc-c++ libwsman-devel pkgconfig
+%if 0%{?suse_version} > 1010
+BuildRequires: libcurl-devel
+%else
+# SLE 10
+BuildRequires: curl-devel
+%endif
+Version: @PACKAGE_VERSION@
+Release: 11
Url: http://www.openwsman.org/
-Source: %{name}-%{version}.tar.gz
+License: BSD3c
+Group: System/Management
+Summary: Opensource Implementation of WS-Management - Command line utility
+Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Group: Applications/Management
-BuildRequires: openwsman-devel pkgconfig curl-devel
-Requires: openwsman curl
-Summary: Opensource Implementation of WS-Management - Command line Utility
-
%description
-Part of openwsman, an Opensource Implementation of WS-Management
+Part of Openwsman, an Opensource Implementation of WS-Management
+Authors:
+--------
+ Anas Nashif <anas.nashif@intel.com>
+ Vadim Revyakin <vadim.revyakin@intel.com>
+ Denis Sadykov <denis.sadykov@intel.com>
+
%prep
-%setup
+%setup -q -n %{name}-%{version}
%build
-%configure
-make
+%configure --disable-more-warnings
+make %{?jobs:-j%jobs}
%install
-make DESTDIR=%{buildroot} install
+make DESTDIR=$RPM_BUILD_ROOT install
+
%clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/wsman
+%{_bindir}/wseventmgr
+
+%changelog