LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File centreon-widget-grid-map.spec of Package centreon-widget-grid-map (Project home:ecsos:monitoring)

# spec file for package centreon-widget-grid-map
# Copyright (c) 2014 SUSE LINUX Products 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/

%define inst_name grid-map

Name:       	centreon-widget-grid-map
Summary:	Centreon Widget Grid Map
Version:	19.04.0
Release:	0
Source:		https://github.com/centreon/centreon-widget-grid-map/archive/%{version}.tar.gz
Source100:      %{name}-rpmlintrc
License:	GPL-2.0
Group:		Productivity/Networking/Web/Frontends
Url:		http://www.centreon.com
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch
#BuildRequires:	centreon-web
Requires:	centreon-web >= 19.04.0

Display a grid Map.

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


%{__mkdir_p} %{buildroot}%{_datadir}/centreon/www/widgets/%{inst_name}
%{__cp} -r ./%{inst_name}/* %{buildroot}%{_datadir}/centreon/www/widgets/%{inst_name}

[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%attr(0644,centreon,centreon) %{_datadir}/centreon/www/widgets/%{inst_name}/*
%dir %attr(755, centreon, centreon) %{_datadir}/centreon
%dir %attr(755, centreon, centreon) %{_datadir}/centreon/www
%dir %attr(755, centreon, centreon) %{_datadir}/centreon/www/widgets
%dir %attr(755, centreon, centreon) %{_datadir}/centreon/www/widgets/%{inst_name}
%dir %attr(755, centreon, centreon) %{_datadir}/centreon/www/widgets/%{inst_name}/resources
%dir %attr(755, centreon, centreon) %{_datadir}/centreon/www/widgets/%{inst_name}/src