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.*