root/openwsman/trunk/openwsman.spec.in

Revision 2274, 1.7 kB (checked in by kkaempf, 1 year ago)

source is .bz2

Line 
1 Name:           openwsman
2 Version:       @PACKAGE_VERSION@
3 Release:        1
4 License:        BSD
5 Url:            http://www.openwsman.org/
6 Source:         %{name}-%{version}.tar.bz2
7 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
8 Group:          Applications/Management
9 BuildRequires:  sblim-sfcc-devel curl-devel pkgconfig libxml2-devel pam-devel gcc-c++
10 Requires:       sblim-sfcc curl libxml2 openssl pam
11 Summary:        Opensource Implementation of WS-Management
12
13
14 %description
15 Opensource Implementation of WS-Management
16
17
18 %package devel
19 Summary:        Openwsman Development files
20 Group:          Applications/Management
21 Requires:       openwsman
22 %description devel
23 Openwsman Development files
24
25
26
27 %prep
28 %setup
29
30 %build
31 %configure --with-shttpd --disable-more-warnings
32 make
33
34 %install
35 make DESTDIR=%{buildroot} install
36 install -c -m 644 etc/openwsman.conf $RPM_BUILD_ROOT/etc/openwsman
37 install -c -m 644 etc/ssleay.cnf $RPM_BUILD_ROOT/etc/openwsman
38
39 %clean
40 rm -rf "$RPM_BUILD_ROOT"
41
42 %files
43 %defattr(-,root,root)
44 %{_libdir}/*.so*
45 %{_sbindir}/openwsmand
46 %dir %{_libdir}/openwsman
47 %dir %{_libdir}/openwsman/plugins
48 %{_libdir}/openwsman/plugins/*so*
49 %dir %{_libdir}/openwsman/authenticators
50 %{_libdir}/openwsman/authenticators/*so*
51 %dir /etc/openwsman
52 %config /etc/openwsman/openwsman.conf
53 /etc/openwsman/owsmangencert.sh
54 /etc/openwsman/ssleay.cnf
55
56
57 %files devel
58 %defattr(-,root,root)
59 %{_includedir}/*
60 %{_libdir}/*.a
61 %{_libdir}/*.la
62 %{_libdir}/openwsman/authenticators/*.a
63 %{_libdir}/openwsman/authenticators/*.la
64 %{_libdir}/openwsman/plugins/*.a
65 %{_libdir}/openwsman/plugins/*.la
66 %{_libdir}/pkgconfig/openwsman.pc
67 %{_libdir}/pkgconfig/openwsman++.pc
68 %{_libdir}/pkgconfig/openwsman-server.pc
69