File centreon-clib.spec of Package centreon-clib

# spec file for package centreon-clib

Name:           centreon-clib
Version:        1.4.2
Release:        1
License:        GPL-3.0
Summary:        Centreon Clib
Group:          Development/Languages/C and C++
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  make
BuildRequires:  pkg-config
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Centreon Clib package.

%package devel
Requires:       %{name} = %{version}
Summary:        Development files for Centreon Clib
Group:          Development/Libraries/C and C++

%description devel
Development libraries for Centreon Clib package.

%setup -q -n %{name}-%{version}

cmake build/ \
        -DCMAKE_INSTALL_PREFIX="%_prefix" \
        -DCMAKE_C_FLAGS:STRING="%optflags" \
        -DCMAKE_CXX_FLAGS:STRING="%optflags" \
        -DWITH_PREFIX_INC="%_includedir/%name" \



%files devel
%doc license.txt