###############################################################################
# SLS: PACKAGE
-# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany.
+# Copyright (c) 2023 Helmuth Varkoly, Nuermberg, Germany.
# All rights reserved.
#
-# Author: Helmuth Varkoly
+# Author: Helmuth Varkoly, Maximilian Grunow
#
-# Description: SLS to use with OSS's softwaremanagement
+# Description: SLS to use with Cranix's softwaremanagement
###############################################################################
PACKAGE:
pkg:
-7-Zip 16.04 (x64 edition)
-7-Zip 16.04
+7-Zip 22.01 (x64 edition)
+7-Zip 22.01
-Copyright (c) 2017 Peter Varkoly and Helmuth Varkoly Nürnberg. All rights reserverd.
\ No newline at end of file
+Copyright (c) 2023 Peter Varkoly and Helmuth Varkoly Nürnberg. All rights reserverd.
\ No newline at end of file
VERSION = $(shell cat VERSION )
RELEASE = $(shell cat RELEASE )
NRELEASE = $(shell echo $(RELEASE) + 1 | bc )
-YEAR = $(shell date +%Y )
+YEAR = $(shell date +%Y )
package:
rm -rf oss-pkg-$(PACKAGE)
mv oss-pkg-$(PACKAGE).tar.bz2 /usr/src/packages/SOURCES/
rpmbuild -bb oss-pkg-$(PACKAGE).spec
- for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done
+ find $(REPO)/noarch -name "oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm" -exec rm {} \;
mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
echo $(NRELEASE) > RELEASE
git commit -a -m "New release"
#
Name: oss-pkg-PACKAGE
-Summary: Package to install PACKAGE on OSS-Clients
+Summary: Package to install PACKAGE on Cranix-Clients
Version: VERSION
Release: RELEASE
License: GPL-2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
-Package to install PACKAGE on OSS-Clients
+Package to install PACKAGE on Cranix-Clients
Authors:
--------
helmuth@varkoly.de
peter@varkoly.de
+ maximilian@grunow.at
%prep
###############################################################################
# SLS: 7zip
-# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany.
+# Copyright (c) 2023 Helmuth Varkoly, Nuermberg, Germany.
# All rights reserved.
#
-# Authors: Helmuth Varkoly
+# Authors: Helmuth Varkoly, Maximilian Grunow
#
# Description: Package SLS
###############################################################################
{% set LOG_PATH = 'C:\\salt\\var\\log' %}
7zip:
- '19.00.00.0':
+ '22.01':
{% if ARCH == 'x64' %}
- installer: salt://win/repo-ng/7zip/7z1900-x64.msi
- uninstaller: salt://win/repo-ng/7zip/7z1900-x64.msi
- full_name: '7-Zip 19.00 (x64 edition)'
+ installer: salt://win/repo-ng/7zip/7z2201-x64.msi
+ uninstaller: salt://win/repo-ng/7zip/7z2201-x64.msi
+ full_name: '7-Zip 22.01 (x64 edition)'
{% else %}
- full_name: '7-Zip 19.00'
- installer: salt://win/repo-ng/7zip/7z1900.msi
- uninstaller: salt://win/repo-ng/7zip/7z1900.msi
+ full_name: '7-Zip 22.01'
+ installer: salt://win/repo-ng/7zip/7z2201.msi
+ uninstaller: salt://win/repo-ng/7zip/7z2201.msi
{% endif %}
install_flags: '/quiet /log "{{ LOG_PATH }}\7zip_inst.log"'
uninstall_flags: '/quiet /log "{{ LOG_PATH }}\7zip_uninst.log"'