automatic version update by autodist [release 2.100-1mamba;Tue Jul 25 2023]

This commit is contained in:
Automatic Build System 2024-01-05 19:13:00 +01:00
parent 8c1dafb61b
commit 3fdc798e41

View File

@ -1,12 +1,12 @@
Name: webmin Name: webmin
Version: 1.995 Version: 2.100
Release: 1mamba Release: 1mamba
Summary: A web-based interface for system administration for Unix Summary: A web-based interface for system administration for Unix
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.webmin.com/index.html URL: https://webmin.com/
Source: http://prdownloads.sourceforge.net/webadmin/webmin-%{version}.tar.gz Source: http://prdownloads.sourceforge.net/webadmin/webmin-%{version}.tar.gz
Source1: webmin.service Source1: webmin.service
Source2: webmin-desktop Source2: webmin-desktop
@ -56,7 +56,14 @@ Webmin is a web-based interface for system administration for Unix. Using any mo
%global __provides_exclude_from ^%{_datadir}/webmin/.*$ %global __provides_exclude_from ^%{_datadir}/webmin/.*$
%global __requires_exclude_from ^%{_datadir}/webmin/.*$ %global __requires_exclude_from ^%{_datadir}/webmin/.*$
%patch0 -p1 #%patch 0 -p1
# Don't set root permissions during packaging
sed -i "s|uid=0|uid=.*|" setup.sh
sed -i "s|chown|true|" setup.sh
sed -i "s|chgrp|true|" setup.sh
sed -i "s|chmod|true|" setup.sh
#rm acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so #rm acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so
mkdir tmp mkdir tmp
@ -88,6 +95,8 @@ rm -f %{buildroot}%{_sysconfdir}/webmin/uninstall.sh
# strip buildroot from configuration files # strip buildroot from configuration files
find %{buildroot}%{_sysconfdir}/webmin -type f -exec sed -i 's|%{buildroot}||g' {} \; find %{buildroot}%{_sysconfdir}/webmin -type f -exec sed -i 's|%{buildroot}||g' {} \;
chmod +x %{buildroot}%{_sysconfdir}/webmin/{.*-init,.post-install,.pre-install}
# install systemd service # install systemd service
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/webmin.service install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/webmin.service
@ -132,6 +141,8 @@ fi
%dir %{_sysconfdir}/webmin %dir %{_sysconfdir}/webmin
%config(noreplace) %{_sysconfdir}/webmin/* %config(noreplace) %{_sysconfdir}/webmin/*
%{_sysconfdir}/webmin/.*-init %{_sysconfdir}/webmin/.*-init
%{_sysconfdir}/webmin/.post-install
%{_sysconfdir}/webmin/.pre-install
%{_sysconfdir}/pam.d/webmin %{_sysconfdir}/pam.d/webmin
%{_sysconfdir}/logrotate.d/webmin %{_sysconfdir}/logrotate.d/webmin
#%{_datadir}/applications/webmin.desktop #%{_datadir}/applications/webmin.desktop
@ -143,6 +154,9 @@ fi
%doc LICENCE %doc LICENCE
%changelog %changelog
* Tue Jul 25 2023 Automatic Build System <autodist@mambasoft.it> 2.100-1mamba
- automatic version update by autodist
* Sun Jun 26 2022 Automatic Build System <autodist@mambasoft.it> 1.995-1mamba * Sun Jun 26 2022 Automatic Build System <autodist@mambasoft.it> 1.995-1mamba
- automatic version update by autodist - automatic version update by autodist