[go: up one dir, main page]

Menu

[r487]: / tools / trunk / omctools.spec  Maximize  Restore  History

Download this file

54 lines (44 with data), 1.2 kB

 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
Summary: Tools to aid in omc development and testing
Name: omctools
BuildRequires: gcc-c++ openwbem-devel openssl-devel readline-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 1.0.3
Release: 1
License: LGPL
#Copyright: Novell Inc.
Group: System/Management
Source: %{name}-%{version}.tar.gz
URL: http://www.omc-project.org
%if 0%{?suse_version}
Distribution: SUSE Linux
%endif
%if 0%{?fedora_version}
Distribution: Fedora Linux
%endif
Packager: Norm Paxton <npaxton@novell.com>
%description
Tools to aid in omc development and testing
%prep
%setup
%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector"
export CXXFLAGS="$CFLAGS"
%configure
make %{?jobs:-j%jobs}
%install
make install
install -d $RPM_BUILD_ROOT/usr/%_lib/omc/yawn
install yawn/yawn.py $RPM_BUILD_ROOT/usr/%_lib/omc/yawn
install yawn/deploy.* $RPM_BUILD_ROOT/usr/%_lib/omc/yawn
%files
%defattr(-,root,root)
%dir %{_libdir}/cimtester
%dir %{_libdir}/omc
%dir %{_libdir}/omc/yawn
%{_bindir}/provtest
%{_bindir}/cimtester
%{_libdir}/libcimtester*.*
%{_libdir}/cimtester/lib*.*
%{_libdir}/omc/yawn/yawn.py
%{_libdir}/omc/yawn/deploy.*