summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Kottler <shk@redhat.com>2013-06-30 22:33:29 -0400
committerSam Kottler <shk@redhat.com>2013-06-30 22:33:29 -0400
commitc7a43fbabbf379ec31b24f9610fc2391a5d9fc13 (patch)
treeb293ba6982d3726d2fe8bac6dc24618309cf7aa1
parenteb716ca3e6710cef92b42e98d62075ce76af1a11 (diff)
downloadwsmancli-c7a43fbabbf379ec31b24f9610fc2391a5d9fc13.tar.gz
wsmancli-c7a43fbabbf379ec31b24f9610fc2391a5d9fc13.tar.xz
wsmancli-c7a43fbabbf379ec31b24f9610fc2391a5d9fc13.zip
Started packaging work
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am4
-rwxr-xr-xbootstrap2
-rw-r--r--rel-eng/packages/wsmancli1
-rw-r--r--wsmancli.spec.in54
5 files changed, 3 insertions, 59 deletions
diff --git a/.gitignore b/.gitignore
index 2330974..7a6a333 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,7 +29,6 @@ Doxyfile
.cdtproject
wsman_config.h
wsman_config.h.in
-openwsman.spec
build
*.bz2
m4
diff --git a/Makefile.am b/Makefile.am
index 96cda27..3c8c9d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,4 @@ SUBDIRS += tests
endif
package: dist
- cp wsmancli.spec /usr/src/packages/SPEC
- cp wsmancli-*.tar.gz /usr/src/packages/SOURCES
- rpmbuild -ba wsmancli.spec
+ rpmbuild -ba --define "_sourcedir ." wsmancli.spec --nodeps
diff --git a/bootstrap b/bootstrap
index b953ba7..72e660e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh
UNAME=`uname`
diff --git a/rel-eng/packages/wsmancli b/rel-eng/packages/wsmancli
new file mode 100644
index 0000000..c079191
--- /dev/null
+++ b/rel-eng/packages/wsmancli
@@ -0,0 +1 @@
+2.3.1-1 /
diff --git a/wsmancli.spec.in b/wsmancli.spec.in
deleted file mode 100644
index 90fd5df..0000000
--- a/wsmancli.spec.in
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# spec file for package wsmancli (Version @PACKAGE_VERSION@)
-#
-
-# norootforbuild
-
-
-Name: wsmancli
-BuildRequires: gcc-c++ libwsman-devel >= 2.2.7 libwsman_clientpp-devel >= 2.2.7 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/
-License: BSD3c
-Group: System/Management
-Summary: Opensource Implementation of WS-Management - Command line utility
-Source: %{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
-%description
-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 -q -n %{name}-%{version}
-
-%build
-%configure --disable-more-warnings
-make %{?jobs:-j%jobs}
-
-%install
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root)
-%{_bindir}/wsman
-%{_bindir}/wseventmgr
-
-%changelog