- Add ip library,
- Move ip low level functions to ip library, - Add libs RPM package.
This commit is contained in:
@@ -50,7 +50,8 @@ Packager: Arnaud G. GIBERT <arnaud@rx3.net>
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: rx3-base
|
||||
Requires: %{name}-libs
|
||||
|
||||
|
||||
%description
|
||||
These tools aims to manage network operation on Rx3 systems. This include:
|
||||
@@ -69,6 +70,17 @@ This release support IPTables and OpenVPN.
|
||||
|
||||
|
||||
|
||||
%package libs
|
||||
Summary: Rx3 Network Tools Libraries
|
||||
Requires: rx3-base
|
||||
Requires: bind-utils
|
||||
|
||||
|
||||
%description libs
|
||||
These tools aims to manage network operation on Rx3 systems.
|
||||
This is the bash libraires.
|
||||
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -106,7 +118,6 @@ cp etc/sysconfig/* %{buildroot}%{_sysconfdir}/sysconfig
|
||||
%{__mkdir_p} %{buildroot}%{_unitdir}
|
||||
cp etc/systemd/system/* %{buildroot}%{_unitdir}
|
||||
|
||||
|
||||
# Bash completion
|
||||
%{__mkdir_p} %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
cp etc/bash_completion.d/* %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
@@ -142,7 +153,8 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%post
|
||||
%_post_service %{name}
|
||||
%_post_service rx3-network
|
||||
%_post_service rx3-vpn
|
||||
|
||||
|
||||
|
||||
@@ -153,7 +165,8 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%preun
|
||||
%_preun_service %{name}
|
||||
%_preun_service rx3-vpn
|
||||
%_preun_service rx3-network
|
||||
|
||||
|
||||
|
||||
@@ -170,11 +183,16 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
||||
%defattr(644,root,root)
|
||||
%{_sysconfdir}/bash_completion.d/*
|
||||
%{_unitdir}/*.service
|
||||
%{_prefix}/lib/rx3/*
|
||||
%defattr(0755,root,root)
|
||||
%{_sbindir}/*
|
||||
%{_webcgi}/*.cgi
|
||||
|
||||
%files libs
|
||||
%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
|
||||
%defattr(644,root,root)
|
||||
%{_prefix}/lib/rx3/*
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -184,5 +202,5 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Mon Apr 20 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.0-1rx3.mga9
|
||||
* Tue Apr 21 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.0-1rx3.mga9
|
||||
- Create initial SPEC file for 1.2.0 on Mageia 9
|
||||
|
||||
Reference in New Issue
Block a user