#----------------------------------------------------------------------------------------------------------------------------------- # # Rx3 Base # # Copyright (C) 2026 Arnaud G. GIBERT # mailto:arnaud@rx3.net # # This is free software: you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; If not, see # . # #----------------------------------------------------------------------------------------------------------------------------------- %define name rx3-base %define version 1.1.0 %define release %mkrel 1rx3 #----------------------------------------------------------------------------------------------------------------------------------- # Package #----------------------------------------------------------------------------------------------------------------------------------- Summary: Rx3 Base Package Name: %{name} Version: %{version} Release: %{release} License: GPL 3.0 URL: https://git.rx3.org/gitea/rx3/%{name} Group: System Distribution: Rx3 Free Software Vendor: Rx3 Packager: Arnaud G. GIBERT BuildArch: noarch Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz %description This is the base component of an Rx3 system: - Default config files, - Base bash libraries, - Default tools. #----------------------------------------------------------------------------------------------------------------------------------- # Prep #----------------------------------------------------------------------------------------------------------------------------------- %prep %autosetup -p1 -n %{name} #----------------------------------------------------------------------------------------------------------------------------------- # Build #----------------------------------------------------------------------------------------------------------------------------------- %build #----------------------------------------------------------------------------------------------------------------------------------- # Install #----------------------------------------------------------------------------------------------------------------------------------- %install # Config %{__mkdir_p} %{buildroot}%{_sysconfdir}/profile.d cp etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d %{__mkdir_p} %{buildroot}%{_sysconfdir}/bash_completion.d cp etc/bash_completion.d/* %{buildroot}%{_sysconfdir}/bash_completion.d # Libs %{__mkdir_p} %{buildroot}%{_prefix}/lib/rx3 cp usr/lib/rx3/*.bash %{buildroot}%{_prefix}/lib/rx3 # Bin %{__mkdir_p} %{buildroot}%{_sbindir} cp sbin/* %{buildroot}%{_sbindir} #----------------------------------------------------------------------------------------------------------------------------------- # Files #----------------------------------------------------------------------------------------------------------------------------------- %files %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) %{_sysconfdir}/profile.d/* %{_sysconfdir}/bash_completion.d/* %{_prefix}/lib/rx3/* %attr(0755,root,root) %{_sbindir}/* #----------------------------------------------------------------------------------------------------------------------------------- # ChangeLog #----------------------------------------------------------------------------------------------------------------------------------- %changelog * Mon Apr 6 2026 Arnaud G. GIBERT - 1.1.0-1rx3.mga9 - Update to 1.1.0 * Tue Mar 17 2026 Arnaud G. GIBERT - 1.0.0-1rx3.mga9 - Initial release