File centreon-icons.spec of Package centreon-icons
#
# spec file for package centreon-icons
#
# Copyright (c) 2015 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: centreon-icons
Version: 1.0
Release: 0
Summary: Icon-Package for Centreon
License: GPL-2.0
Group: Productivity/Networking/Web/Frontends
Url: https://documentation.centreon.com/
BuildArch: noarch
Source0: %{name}.tar.gz
Source90: %{name}.README.SUSE
#BuildRequires: centreon-web
BuildRequires: apache2-devel
Requires: centreon-web
%description
This are Icons for Centreon media
%prep
%setup -q -n media
%build
# not need
%install
%{__install} -dm 0755 %{buildroot}/usr/share/centreon/www/img/media/{hardware,other,vendors}
%{__install} -Dm 0644 hardware/* %{buildroot}/usr/share/centreon/www/img/media/hardware
%{__install} -Dm 0644 other/* %{buildroot}/usr/share/centreon/www/img/media/other
%{__install} -Dm 0644 vendors/* %{buildroot}/usr/share/centreon/www/img/media/vendors
%{__install} -m 0644 %{S:90} ./README.SUSE
%files
%defattr(-,root,root,-)
%doc README.SUSE
%defattr(0644,wwwrun,www,0755)
%dir %{_datadir}/centreon
%dir %{_datadir}/centreon/www
%dir %{_datadir}/centreon/www/img
%dir %{_datadir}/centreon/www/img/media
%dir %{_datadir}/centreon/www/img/media/hardware
%dir %{_datadir}/centreon/www/img/media/other
%dir %{_datadir}/centreon/www/img/media/vendors
%{_datadir}/centreon/www/img/media/hardware/*
%{_datadir}/centreon/www/img/media/other/*
%{_datadir}/centreon/www/img/media/vendors/*
%changelog