You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
891 B
43 lines
891 B
Name: hestiacp-php-selector
|
|
Summary: Utility for manage php cli for HestiaCP
|
|
Version: 0.1.0
|
|
Release: 1%{?dist}
|
|
License: GPL-2.0-or-later
|
|
Group: System Environment/Base
|
|
URL: https://www.inferit.ru
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: golang
|
|
BuildRequires: git
|
|
Requires: alternatives
|
|
|
|
%undefine _missing_build_ids_terminate_build
|
|
|
|
%description
|
|
Utility for manage php cli for HestiaCP
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make build
|
|
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%check
|
|
make check
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc LICENSE
|
|
%attr(0755, root, root) %{_bindir}/hestiacp-php-selector
|
|
|
|
%changelog
|
|
* Wed Aug 21 2024 Alexey Berezhok <a@bayrepo.ru> 0.1.0-1
|
|
- Added hestiacp-php-selector
|