diff options
author | Anas Nashif <nashif@intel.com> | 2006-11-11 04:06:18 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2006-11-11 04:06:18 +0000 |
commit | f9becc449b696b8fe39ed53dfa4f5121723b81b3 (patch) | |
tree | 5edfeb5a4adefdba906829151706dc48afbf3b7f | |
parent | 229f300df3229d6dd26a6b9fc931532696c16e83 (diff) | |
download | wsmancli-f9becc449b696b8fe39ed53dfa4f5121723b81b3.tar.gz wsmancli-f9becc449b696b8fe39ed53dfa4f5121723b81b3.tar.xz wsmancli-f9becc449b696b8fe39ed53dfa4f5121723b81b3.zip |
preparing for release
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rwxr-xr-x | src/wsmid_identify.c | 1 | ||||
-rw-r--r-- | wsmancli.spec.in | 35 |
4 files changed, 40 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index f558426..f6a25a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = src package: dist - cp openwsman.spec /usr/src/packages/SPEC - cp openwsman-*.tar.gz /usr/src/packages/SOURCES - rpmbuild -ba openwsman.spec + cp wsmancli.spec /usr/src/packages/SPEC + cp wsmancli-*.tar.gz /usr/src/packages/SOURCES + rpmbuild -ba wsmancli.spec diff --git a/src/Makefile.am b/src/Makefile.am index d142eb0..8db8653 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,8 +14,7 @@ wsmid_identify_LDADD = \ wsman_SOURCES = wsman.c \ wsman-client-options.c \ - wsman-client-options.h \ - wsman.h + wsman-client-options.h wsmid_identify_SOURCES = \ wsmid_identify.c diff --git a/src/wsmid_identify.c b/src/wsmid_identify.c index e50d10a..d62d98d 100755 --- a/src/wsmid_identify.c +++ b/src/wsmid_identify.c @@ -146,6 +146,7 @@ int main(int argc, char** argv) printf("%s\n", id->ProtocolVersion); if (!protocol && !vendor && !version ) { + printf("\n"); printf("%s %s supporting protocol %s\n", id->ProductVendor, id->ProductVersion,id->ProtocolVersion); } diff --git a/wsmancli.spec.in b/wsmancli.spec.in new file mode 100644 index 0000000..a91b6bc --- /dev/null +++ b/wsmancli.spec.in @@ -0,0 +1,35 @@ +Name: wsmancli +Version: @PACKAGE_VERSION@ +Release: 1 +License: BSD +Url: http://www.openwsman.org/ +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Group: Applications/Management +BuildRequires: openwsman-devel +Requires: openwsman +Summary: Opensource Implementation of WS-Management - Command line Utility + + +%description +Part of openwsman, an Opensource Implementation of WS-Management + + + +%prep +%setup + +%build +%configure +make + +%install +make DESTDIR=%{buildroot} install +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(-,root,root) +%{_bindir}/wsman +%{_bindir}/wsmid_identfy + |