- Migrate to rx3 base library.
- Support rx3-base 1.1.2.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
#
|
||||
# MPM (Meta Package Manager)
|
||||
#
|
||||
# Copyright (C) 2024-2026 Arnaud G. GIBERT
|
||||
# mailto:arnaud@rx3.net
|
||||
#
|
||||
@@ -22,32 +23,45 @@
|
||||
|
||||
|
||||
|
||||
%define name mpm
|
||||
%define version 1.1.1
|
||||
%define release %mkrel 1rx3
|
||||
%define name mpm
|
||||
%define version 1.1.2
|
||||
%define release %mkrel 1rx3
|
||||
|
||||
%global debug_package %{nil}
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global _webdir %{_localstatedir}/www
|
||||
%global _webcgi %{_webdir}/cgi-bin
|
||||
%global _webhtml %{_webdir}/html
|
||||
%global _webdir %{_localstatedir}/www
|
||||
%global _webcgi %{_webdir}/cgi-bin
|
||||
%global _webhtml %{_webdir}/html
|
||||
|
||||
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Summary: Meta Package Manager - Client tool
|
||||
License: GPL
|
||||
URL: https://git.rx3.org/gitea/rx3/%{name}
|
||||
|
||||
Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
Distribution: Rx3 Free Software
|
||||
Vendor: Rx3
|
||||
Packager: Arnaud G. GIBERT <arnaud@rx3.net>
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
# Package
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
|
||||
Summary: Meta Package Manager - Client tool
|
||||
|
||||
License: GPL 3.0
|
||||
URL: https://git.rx3.org/gitea/rx3/%{name}
|
||||
Group: System
|
||||
|
||||
Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
Distribution: Rx3 Free Software
|
||||
Vendor: Rx3
|
||||
Packager: Arnaud G. GIBERT <arnaud@rx3.net>
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: rx3-base-libs
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
MPM is a Meta Package Manager, based upon URPMI and RPM packages.
|
||||
@@ -55,16 +69,18 @@ This is the client tool.
|
||||
|
||||
|
||||
|
||||
%package server
|
||||
Summary: Meta Package Manager - Server repository
|
||||
Requires: apache
|
||||
%package server
|
||||
Summary: Meta Package Manager - Server repository
|
||||
Requires: apache
|
||||
|
||||
%description server
|
||||
%description server
|
||||
MPM is a Meta Package Manager, based upon URPMI and RPM packages.
|
||||
This is the server repository.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
# Prep
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -97,7 +113,7 @@ install -D -pm 644 etc/bash_completion.d/%{name} %{buildroot}%{_sysconfdir}/bas
|
||||
install -D -pm 755 sbin/%{name} %{buildroot}%{_sbindir}/%{name}
|
||||
|
||||
# Server
|
||||
cd var/www/html/%{name}-repository
|
||||
cd www/html/%{name}-repository
|
||||
for file in *.mpm
|
||||
do
|
||||
install -D -pm 644 ${file} %{buildroot}%{_webhtml}/%{name}-repository/${file}
|
||||
@@ -122,16 +138,18 @@ done
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%files
|
||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||
%license GNU_GPL-3.0.txt
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%{_sysconfdir}/bash_completion.d/%{name}
|
||||
%{_sbindir}/%{name}
|
||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||
%license GNU_GPL-3.0.txt
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%{_sysconfdir}/bash_completion.d/%{name}
|
||||
%{_sbindir}/%{name}
|
||||
|
||||
|
||||
|
||||
%files server
|
||||
%{_webhtml}/%{name}-repository/*
|
||||
%files server
|
||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||
%license GNU_GPL-3.0.txt
|
||||
%{_webhtml}/%{name}-repository/*
|
||||
|
||||
|
||||
|
||||
@@ -142,6 +160,9 @@ done
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Sun May 3 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.2-1rx3.mga9
|
||||
- Update to 1.1.2
|
||||
|
||||
* Sat Mar 21 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.1-1rx3.mga9
|
||||
- Update to 1.1.1
|
||||
- Add bash completion support
|
||||
|
||||
Reference in New Issue
Block a user