3 %bcond_with python # Python CLI ("doesn't work currently" says configure, only ghttp supported)
5 Summary: SBLIM WBEM Command Line Interface
6 Summary(pl.UTF-8): SBLIM WBEM CLI - interfejs linii poleceń
10 License: Eclipse Public License v1.0
12 Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
13 # Source0-md5: 521e64351e663e12f6a19ed1a2fa8e79
14 Patch0: %{name}-python.patch
15 URL: http://sblim.sourceforge.net/
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: curl-devel >= 7.9.3
19 BuildRequires: libstdc++-devel
21 BuildRequires: python-devel >= 2
22 BuildRequires: swig-python
24 Requires: curl-libs >= 7.9.3
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 WBEM Command Line Interface is a standalone, command line WBEM client.
29 It is specially suited for basic systems management tasks as it can be
32 %description -l pl.UTF-8
33 WBEM Command Line Interface to samodzielny klient WBEM działający z
34 linii poleceń. Jest przydatny zwłaszcza do podstawowych zadań
35 zarządzania systemem, które można wykonywać w skryptach.
46 %{?with_python:--enable-pythoncli}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc AUTHORS COPYING ChangeLog NEWS README README.pycli
62 %attr(755,root,root) %{_bindir}/wbem*
63 %{_mandir}/man1/wbemcli.1*