- Add bash completion support,
- Fix html file location.
This commit is contained in:
@@ -1,5 +1,29 @@
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
#
|
||||
# MPM (Meta Package Manager)
|
||||
# Copyright (C) 2024-2026 Arnaud G. GIBERT
|
||||
# mailto:arnaud@rx3.net
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or 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, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
%define name mpm
|
||||
%define version 1.1.0
|
||||
%define version 1.1.1
|
||||
%define release %mkrel 1rx3
|
||||
|
||||
%global debug_package %{nil}
|
||||
@@ -68,14 +92,15 @@ This is the server repository.
|
||||
|
||||
%install
|
||||
# Client
|
||||
install -D -pm 644 etc/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
install -D -pm 755 sbin/%{name} %{buildroot}%{_sbindir}/%{name}
|
||||
install -D -pm 644 etc/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
install -D -pm 644 etc/bash_completion.d/%{name} %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
|
||||
install -D -pm 755 sbin/%{name} %{buildroot}%{_sbindir}/%{name}
|
||||
|
||||
# Server
|
||||
cd var/www/%{name}-repository
|
||||
cd var/www/html/%{name}-repository
|
||||
for file in *.mpm
|
||||
do
|
||||
install -D -pm 644 ${file} %{buildroot}%{_webhtml}/%{name}-repository/${file}
|
||||
install -D -pm 644 ${file} %{buildroot}%{_webhtml}/%{name}-repository/${file}
|
||||
done
|
||||
|
||||
|
||||
@@ -100,6 +125,7 @@ done
|
||||
%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}
|
||||
|
||||
|
||||
@@ -116,5 +142,10 @@ done
|
||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Sat Mar 21 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.1-1rx3.mga9
|
||||
- Update to 1.1.1
|
||||
- Add bash completion support
|
||||
- Fix html file location
|
||||
|
||||
* Sat Mar 14 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.0-1rx3.mga9
|
||||
- Create initial SPEC file for 1.1.0 on Mageia 9
|
||||
|
||||
Reference in New Issue
Block a user