File omcclp.spec of Package omc-clp
Summary: Implementation of the OMC-CLP specification
Name: omcclp
BuildRequires: gcc-c++ openwbem-devel openssl-devel ncurses-devel
BuildRequires: readline-devel >= 5.0
%if 0%{?fedora_version}
BuildRequires: termcap libtermcap-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 0.5
Release: 1
#Copyright: Novell Inc.
License: GPL
Group: System/Management
#Source: omcclp-0.1.tar.gz
Source: %{name}-%{version}.tar.gz
URL: https://svn.innerweb.novell.com/svn/novlclp/trunk/omcclp
%if 0%{?suse_version}
Distribution: SUSE Linux
%endif
%if 0%{?fedora_version}
Distribution: Fedora Linux
%endif
Packager: Brad Nicholes <bnicholes@novell.com>
%debug_package
%description
Implementation of the Server Management Command Line Protocol
%prep
%setup
%build
%configure
make
%install
%makeinstall
%files
%defattr(-,root,root)
%{_bindir}/omcclp
%{_sbindir}/omcclpd
%dir %{_sysconfdir}/omcclp
%config %{_sysconfdir}/omcclp/omcclp.conf
%config %{_sysconfdir}/omcclp/omcclpaddr.ini
%config %{_sysconfdir}/omcclp/oemextensions.ini