-
Notifications
You must be signed in to change notification settings - Fork 1
/
wseventsink.spec.in
67 lines (53 loc) · 1.72 KB
/
wseventsink.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# spec file for package wseventsink (Version @PACKAGE_VERSION@)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wseventsink
BuildRequires: gcc-c++ libwsman-devel pkgconfig
%if 0%{?suse_version} > 1010
BuildRequires: libcurl-devel
%else
# SLE 10
BuildRequires: curl-devel
%endif
Version: @PACKAGE_VERSION@
Release: 1
Url: http://www.openwsman.org/
License: BSD3c
Group: System/Management
Summary: Opensource Implementation of WS-Management - Event Sink Handler
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Part of Openwsman, an Opensource Implementation of WS-Management
Authors:
--------
Liang Hou <[email protected]>
%prep
%setup -q -n %{name}-%{version}
%build
sh ./bootstrap
%configure --disable-static
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -rf $RPM_BUILD_ROOT/%{_libdir}/*a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/wseventsink
%{_libdir}/libwseventlistener.so*
%changelog