- Add sudoers config file,

- Bug fixies,
- Change rx3-base to rx3-base-libs dependency.
This commit is contained in:
2026-04-30 18:37:35 +02:00
parent 4ed3d26dad
commit bcf1c09fa0
7 changed files with 161 additions and 140 deletions

View File

@@ -35,14 +35,19 @@
#-----------------------------------------------------------------------------------------------------------------------------------
# Package
#-----------------------------------------------------------------------------------------------------------------------------------
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Rx3 Network Tools
License: GPL
URL: https://git.rx3.org/gitea/rx3/%{name}
Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz
Group: System
Distribution: Rx3 Free Software
Vendor: Rx3
@@ -52,6 +57,9 @@ BuildArch: noarch
Requires: %{name}-libs
Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz
%description
These tools aims to manage network operation on Rx3 systems. This include:
@@ -72,7 +80,7 @@ This release support IPTables and OpenVPN.
%package libs
Summary: Rx3 Network Tools Libraries
Requires: rx3-base
Requires: rx3-base-libs
Requires: bind-utils
@@ -113,6 +121,8 @@ This is the bash libraires.
# Config
%{__mkdir_p} %{buildroot}%{_sysconfdir}/sysconfig
cp etc/sysconfig/* %{buildroot}%{_sysconfdir}/sysconfig
%{__mkdir_p} %{buildroot}%{_sysconfdir}/sudoers.d
cp etc/sudoers.d/* %{buildroot}%{_sysconfdir}/sudoers.d
# SystemD
%{__mkdir_p} %{buildroot}%{_unitdir}
@@ -180,6 +190,7 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
%license COPYING COPYING.LESSER GNU_GPL-3.0.txt GNU_LGPL-3.0.txt GNU_FDL-1.3.txt
%config(noreplace) %{_sysconfdir}/sysconfig/*
%config(noreplace) %{_sysconfdir}/sudoers.d/*
%defattr(644,root,root)
%{_sysconfdir}/bash_completion.d/*
%{_unitdir}/*.service
@@ -202,5 +213,5 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
#-----------------------------------------------------------------------------------------------------------------------------------
%changelog
* Tue Apr 21 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.0-1rx3.mga9
* Sun May 3 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.0-1rx3.mga9
- Create initial SPEC file for 1.2.0 on Mageia 9