2021-06-21 18:04:22 +02:00
|
|
|
# Icinga PHP Library for Icinga Web 2 | (c) 2021 Icinga GmbH | GPLv2+
|
2021-06-14 03:00:56 +02:00
|
|
|
|
|
|
|
%global revision 1
|
|
|
|
%global module_name icinga-php-library
|
|
|
|
|
|
|
|
Name: %{module_name}
|
|
|
|
Version: 0.6.0
|
|
|
|
Release: %{revision}%{?dist}
|
|
|
|
Summary: Icinga PHP Library for Icinga Web 2
|
|
|
|
Group: Applications/System
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://icinga.com
|
2021-06-29 10:21:11 +02:00
|
|
|
Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz
|
2021-06-14 03:00:56 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%global basedir %{_datadir}/icinga-php/ipl
|
|
|
|
|
|
|
|
Requires: icinga-php-common
|
|
|
|
|
|
|
|
%description
|
2021-06-21 18:04:22 +02:00
|
|
|
This project bundles all Icinga PHP libraries into one
|
|
|
|
piece and can be integrated as library into Icinga Web 2.
|
2021-06-14 03:00:56 +02:00
|
|
|
|
|
|
|
%prep
|
2021-06-29 10:21:11 +02:00
|
|
|
%setup -q
|
2021-06-14 03:00:56 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -vp %{buildroot}%{basedir}
|
|
|
|
|
2021-06-21 18:04:22 +02:00
|
|
|
cp -vr asset %{buildroot}%{basedir}
|
|
|
|
cp -vr vendor %{buildroot}%{basedir}
|
2021-06-14 03:00:56 +02:00
|
|
|
cp -vr composer.* %{buildroot}%{basedir}
|
2021-06-30 15:43:55 +02:00
|
|
|
cp -vr VERSION %{buildroot}%{basedir}
|
2021-06-14 03:00:56 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
2021-06-30 15:43:55 +02:00
|
|
|
%doc README.md
|
2021-06-30 15:14:44 +02:00
|
|
|
%license LICENSE
|
2021-06-14 03:00:56 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{basedir}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Jun 10 2021 Henrik Triem <henrik.triem@icinga.com> - 0.6.0-1
|
|
|
|
- Release 0.6.0-dev
|