rpm-icinga-php-library/icinga-php-library.spec

47 lines
1.1 KiB
Plaintext

# Icinga PHP Library for Icinga Web 2 | (c) 2021 Icinga GmbH | GPLv2+
%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
Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz
BuildArch: noarch
%global basedir %{_datadir}/icinga-php/ipl
Requires: icinga-php-common
%description
This project bundles all Icinga PHP libraries into one
piece and can be integrated as library into Icinga Web 2.
%prep
%setup -q
%install
mkdir -vp %{buildroot}%{basedir}
cp -vr asset %{buildroot}%{basedir}
cp -vr vendor %{buildroot}%{basedir}
cp -vr composer.* %{buildroot}%{basedir}
cp -vr VERSION %{buildroot}%{basedir}
%clean
rm -rf %{buildroot}
%files
%doc README.md
%license LICENSE
%defattr(-,root,root)
%{basedir}
%changelog
* Thu Jun 10 2021 Henrik Triem <henrik.triem@icinga.com> - 0.6.0-1
- Release 0.6.0-dev