File centreon-widget-graph-monitoring.spec of Package centreon-widget-graph-monitoring

#
# spec file for package centreon-widget-graph-monitoring
#
# 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 graph-monitoring

Name:			centreon-widget-graph-monitoring
Summary:		Centreon widget graph-monitoring
Version:		19.04.0
Release:		0
Source:			https://github.com/centreon/centreon-widget-graph-monitoring/archive/%{version}.tar.gz
License:		GPL-2.0
Group:			Productivity/Networking/Web/Frontends
Url:			http://www.centreon.com
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
BuildArch:		noarch
#BuildRequires:	centreon-web
Recommends:		centreon-web >= 18.10.0

%description
Centreon Widgets
%{name}-%{version}.tar.gz


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

%build


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


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


%files
%defattr(-,root,root,-)
%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


%changelog
openSUSE Build Service is sponsored by