File centreon-widget-grid-map.spec of Package centreon-widget-grid-map

# spec file for package centreon-widget-grid-map
# Copyright (c) 2019 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

%define inst_name grid-map
Name:           centreon-widget-grid-map
Version:        19.04.0
Release:        0
Summary:        Centreon Widget Grid Map
License:        GPL-2.0-only
Group:          Productivity/Networking/Web/Frontends
Source100:      %{name}-rpmlintrc
#BuildRequires:	centreon-web
Requires:       centreon-web >= 19.04.0
BuildArch:      noarch

Display a grid Map.

%setup -q

# nothing to build

mkdir -p %{buildroot}%{_datadir}/centreon/www/widgets/%{inst_name}
cp -r ./%{inst_name}/* %{buildroot}%{_datadir}/centreon/www/widgets/%{inst_name}

%dir %{_datadir}/centreon
%dir %{_datadir}/centreon/www
%dir %{_datadir}/centreon/www/widgets
%dir %{_datadir}/centreon/www/widgets/%{inst_name}
%dir %{_datadir}/centreon/www/widgets/%{inst_name}/resources
%dir %{_datadir}/centreon/www/widgets/%{inst_name}/src