Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ec46ea822 | ||
|
|
2fc9a06ab1 | ||
|
|
f34abd4fb2 | ||
|
|
6236ecb188 |
5 changed files with 43 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
wsmancli-2.1.0.tar.bz2
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: wsmancli
|
|
||||||
# $Id$
|
|
||||||
NAME := wsmancli
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
6377cc8c015f669f710cd9eadb00f43f wsmancli-2.1.0.tar.bz2
|
||||||
41
wsmancli.spec
Normal file
41
wsmancli.spec
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
Name: wsmancli
|
||||||
|
Version: 2.1.0
|
||||||
|
Release: 1%{dist}
|
||||||
|
License: BSD
|
||||||
|
Url: http://www.openwsman.org/
|
||||||
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX)
|
||||||
|
Group: Applications/System
|
||||||
|
BuildRequires: openwsman-devel >= 2.1.0 pkgconfig curl-devel
|
||||||
|
Requires: openwsman curl
|
||||||
|
Summary: WS-Management-Command line Interface
|
||||||
|
|
||||||
|
%description
|
||||||
|
Command line interface for managing
|
||||||
|
systems using Web Services Management protocol.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-more-warnings
|
||||||
|
make %{?_smp_flags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make DESTDIR=%{buildroot} install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/wsman
|
||||||
|
%{_bindir}/wseventmgr
|
||||||
|
%doc COPYING README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Tue Sep 30 2008 <srinivas_ramanatha@dell.com> - 2.1.0-1%{?dist}
|
||||||
|
- Modified the spec file to adhere to fedora packaging guidelines.
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue