- Initial release: bash profile config & default library included.

This commit is contained in:
2026-03-17 12:25:59 +01:00
commit 97c05c4606
10 changed files with 1920 additions and 0 deletions

102
SPECS/rx3-base.spec Normal file
View File

@@ -0,0 +1,102 @@
%define name rx3-base
%define version 1.0.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 <arnaud@rx3.net>
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
# Libs
%{__mkdir_p} %{buildroot}%{_prefix}/lib/rx3
cp usr/lib/rx3/*.bash %{buildroot}%{_prefix}/lib/rx3
#-----------------------------------------------------------------------------------------------------------------------------------
# Files
#-----------------------------------------------------------------------------------------------------------------------------------
%files
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
%license GNU_GPL-3.0.txt GNU_FDL-1.3.txt
%defattr(644,root,root)
%{_sysconfdir}/profile.d/*
%{_prefix}/lib/rx3/*
#-----------------------------------------------------------------------------------------------------------------------------------
# ChangeLog
#-----------------------------------------------------------------------------------------------------------------------------------
%changelog
* Tue Mar 17 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.0.0-1rx3.mga9
- Initial release