File assimilation.spec of Package assimilation

#
# spec file for package assimilation
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%if 0%{?suse_version} > 1140 || 0%{?fedora_version} > 14
%define has_systemd 1
%else
%define has_systemd 0
%endif

Name:           assimilation

Requires(pre):  sed coreutils grep /bin/hostname
Version:        1.1.7
Release:        0
Url:            https://github.com/assimilation/assimilation-official
Summary:        A variety of system management capabilities with near-zero configuration. 
License:        GPLv3
Group:          System/Management
Source:         %{name}-v%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  cmake
BuildRequires:  doxygen
BuildRequires:  gcc-c++
BuildRequires:  glib2-devel
BuildRequires:  java-devel
BuildRequires:  libpcap-devel
BuildRequires:  libsodium-devel
BuildRequires:  pkgconfig

%if 0%{?has_systemd}
BuildRequires:  systemd
%{?systemd_requires}
%endif

%description
The Assimilation System Management Suite provides a variety of system
management capabilities with near-zero configuration. The project web
site is at assimproj.org, and commercial support and alternative
licenses are available from Assimilation Systems. A more comprehensive
explanation of our many capabilities can be found on the Assimilation
Systems site, and on their blog.

#%%package cma
#%%package nanoprobe

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

%build
rm -rf build
%cmake

%install
cd build
make DESTDIR=$RPM_BUILD_ROOT install


%files
%defattr(-,root,root)


%changelog
openSUSE Build Service is sponsored by