v1.0.0-1
This commit is contained in:
51
nginx-proxy-manager-plus.spec
Normal file
51
nginx-proxy-manager-plus.spec
Normal file
@@ -0,0 +1,51 @@
|
||||
Name: nginx-proxy-manager-plus
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: NPMplus - Nginx Proxy Manager Plus (container)
|
||||
License: AGPL-3.0
|
||||
Group: System Environment/Base
|
||||
URL: https://github.com/ZoeyVid/NPMplus
|
||||
|
||||
Source0: nginx-proxy-manager-plus.container
|
||||
Source1: container.conf
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: podman
|
||||
Requires: containers-common
|
||||
|
||||
%description
|
||||
NPMplus is a hardened fork of Nginx Proxy Manager with HTTP/3, post-quantum
|
||||
TLS, CrowdSec/openappsec WAF, OIDC, GoAccess analytics, and more.
|
||||
Runs as a Podman container via quadlet.
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
install -p -D -m 644 %{SOURCE0} %{buildroot}%{_datadir}/containers/systemd/nginx-proxy-manager-plus.container
|
||||
install -d -m 750 %{buildroot}%{_sysconfdir}/nginx-proxy-manager-plus
|
||||
install -m 640 %{SOURCE1} %{buildroot}%{_sysconfdir}/nginx-proxy-manager-plus/container.conf
|
||||
install -d -m 750 %{buildroot}%{_sharedstatedir}/nginx-proxy-manager-plus
|
||||
|
||||
%post
|
||||
%systemd_post nginx-proxy-manager-plus.service
|
||||
|
||||
%preun
|
||||
%systemd_preun nginx-proxy-manager-plus.service
|
||||
|
||||
%postun
|
||||
%systemd_postun nginx-proxy-manager-plus.service
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/containers/systemd/nginx-proxy-manager-plus.container
|
||||
%dir %attr(0750,root,root) %{_sysconfdir}/nginx-proxy-manager-plus
|
||||
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/nginx-proxy-manager-plus/container.conf
|
||||
%dir %attr(0750,root,root) %{_sharedstatedir}/nginx-proxy-manager-plus
|
||||
|
||||
%changelog
|
||||
* Thu Mar 19 2026 Zoran Pericic <zpericic@netst.org> - 1.0.0-1
|
||||
- Initial package
|
||||
Reference in New Issue
Block a user