]> git.pld-linux.org Git - SPECS.git/blob - sblim-wbemcli.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / sblim-wbemcli.spec
1 #
2 # Conditional build:
3 %bcond_with     python  # Python CLI ("doesn't work currently" says configure, only ghttp supported)
4 #
5 Summary:        SBLIM WBEM Command Line Interface
6 Summary(pl.UTF-8):      SBLIM WBEM CLI - interfejs linii poleceń
7 Name:           sblim-wbemcli
8 Version:        1.6.3
9 Release:        1
10 License:        Eclipse Public License v1.0
11 Group:          Libraries
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
20 %if %{with python}
21 BuildRequires:  python-devel >= 2
22 BuildRequires:  swig-python
23 %endif
24 Requires:       curl-libs >= 7.9.3
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
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
30 used in scripts.
31
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.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         %{?with_python:--enable-pythoncli}
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
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*
This page took 0.034831 seconds and 3 git commands to generate.