mirror of
https://git.icinga.com/packaging/rpm-icinga-php-thirdparty.git
synced 2025-07-31 01:44:04 +02:00
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
# Icinga PHP Thirdparty for Icinga Web 2 | (c) 2021 Icinga GmbH | GPLv2+
|
|
|
|
%global revision 1
|
|
%global module_name icinga-php-thirdparty
|
|
|
|
Name: %{module_name}
|
|
Version: 0.10.0
|
|
Release: %{revision}%{?dist}
|
|
Summary: Icinga PHP Thirdparty for Icinga Web 2
|
|
Group: Applications/System
|
|
License: MIT
|
|
URL: https://icinga.com
|
|
Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
%global basedir %{_datadir}/icinga-php/vendor
|
|
|
|
Requires: icinga-php-common
|
|
|
|
%description
|
|
This package bundles all 3rd party PHP libraries
|
|
used by Icinga Web products into one piece,
|
|
which can be integrated as library into Icinga Web 2.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%install
|
|
mkdir -vp %{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 Jul 08 2021 Henrik Triem <henrik.triem@icinga.com> - 0.10.0-1
|
|
- Release 0.10.0
|