From 1e1aad89cf03acf69edb44197337146a5b5275c5 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 15 Jan 2021 15:28:05 +0100 Subject: [PATCH] Premier commit Signed-off-by: Daniel Tartavel --- SOURCES/Assistance_Lalis.desktop | 20 +++++++++++ SOURCES/connect2member.sh | 5 +++ SOURCES/sshconnect | 4 +++ SPECS/log.task-lalis | 23 ++++++++++++ SPECS/log.task-lalis-assistance | 62 ++++++++++++++++++++++++++++++++ SPECS/task-lalis-assistance.spec | 35 ++++++++++++++++++ 6 files changed, 149 insertions(+) create mode 100644 SOURCES/Assistance_Lalis.desktop create mode 100755 SOURCES/connect2member.sh create mode 100755 SOURCES/sshconnect create mode 100644 SPECS/log.task-lalis create mode 100644 SPECS/log.task-lalis-assistance create mode 100644 SPECS/task-lalis-assistance.spec diff --git a/SOURCES/Assistance_Lalis.desktop b/SOURCES/Assistance_Lalis.desktop new file mode 100644 index 0000000..868d3fd --- /dev/null +++ b/SOURCES/Assistance_Lalis.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Comment[fr_FR]= +Comment= +Exec=/usr/bin/connect2member.sh +GenericName[fr_FR]=Assistance Lalis +GenericName=Lalis assistance +Icon=/usr/share/icons/hardware_configuration_section.png +MimeType= +Name[fr_FR]=Assistance LALIS +Name=LALIS assistance +Path= +StartupNotify=true +Terminal=true +TerminalOptions=\s--noclose +Type=Application +X-DBUS-ServiceName= +X-DBUS-StartupType=none +X-KDE-RunOnDiscreteGpu=false +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/SOURCES/connect2member.sh b/SOURCES/connect2member.sh new file mode 100755 index 0000000..32f8edc --- /dev/null +++ b/SOURCES/connect2member.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +ssh -N -f -L 5900:localhost:5900 -p 10022 lalis69.ddns.net +remmina -c ~/.config/remmina/group_vnc_lalis_localhost-5900.remmina + diff --git a/SOURCES/sshconnect b/SOURCES/sshconnect new file mode 100755 index 0000000..63e5be8 --- /dev/null +++ b/SOURCES/sshconnect @@ -0,0 +1,4 @@ +#!/usr/bin/sh + +ssh -p 10022 -N -f -L 6000:localhost:6000 @ + diff --git a/SPECS/log.task-lalis b/SPECS/log.task-lalis new file mode 100644 index 0000000..68ca7a8 --- /dev/null +++ b/SPECS/log.task-lalis @@ -0,0 +1,23 @@ +Exécution_de(%install) : /bin/sh -e /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/rpm-tmp.lknrmX ++ umask 022 ++ cd /mnt/lalis/data/develop/task-lalis-assistance/BUILD ++ '[' 1 -eq 1 ']' ++ '[' /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64 '!=' / ']' ++ rm -rf /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64 +++ dirname /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64 ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT ++ mkdir /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64 ++ '[' 1 -eq 1 ']' ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/usr/bin ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/usr/share/lalis ++ mkdir /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/usr/share/kio_desktop ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/usr/share/dist/desktop-files/default ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/etc/pki/rpm-gpg ++ mkdir /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/etc/yum.repos.d ++ cp /mnt/lalis/data/develop/task-lalis-assistance/SOURCES/lalistunnel /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-5.5-1.mga7.x86_64/usr/bin +cp: cannot stat '/mnt/lalis/data/develop/task-lalis-assistance/SOURCES/lalistunnel': No such file or directory +erreur : Mauvais statut de sortie pour /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/rpm-tmp.lknrmX (%install) + + +Erreur de construction de RPM : + Mauvais statut de sortie pour /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/rpm-tmp.lknrmX (%install) diff --git a/SPECS/log.task-lalis-assistance b/SPECS/log.task-lalis-assistance new file mode 100644 index 0000000..bf48a61 --- /dev/null +++ b/SPECS/log.task-lalis-assistance @@ -0,0 +1,62 @@ +Exécution_de(%install) : /bin/sh -e /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/rpm-tmp.nncyhk ++ umask 022 ++ cd /mnt/lalis/data/develop/task-lalis-assistance/BUILD ++ '[' 1 -eq 1 ']' ++ '[' /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 '!=' / ']' ++ rm -rf /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 +++ dirname /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT ++ mkdir /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 ++ '[' 1 -eq 1 ']' ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/bin ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/share/lalis ++ mkdir /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/share/kio_desktop ++ mkdir -p /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/share/dist/desktop-files/default ++ cp /mnt/lalis/data/develop/task-lalis-assistance/SOURCES/connect2member.sh /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/bin ++ cp /mnt/lalis/data/develop/task-lalis-assistance/SOURCES/sshconnect /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/bin ++ cp /mnt/lalis/data/develop/task-lalis-assistance/SOURCES/Assistance_Lalis.desktop /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/share/kio_desktop/ ++ cp /mnt/lalis/data/develop/task-lalis-assistance/SOURCES/Assistance_Lalis.desktop /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64/usr/share/dist/desktop-files/default/ ++ '[' -n '' ']' ++ /usr/share/spec-helper/clean_files ++ '[' -n '' ']' ++ /usr/share/spec-helper/compress_files .xz ++ '[' -n '' ']' ++ /usr/share/spec-helper/relink_symlinks ++ '[' -n '' ']' ++ /usr/share/spec-helper/clean_perl ++ '[' -n '' ']' ++ /usr/share/spec-helper/lib_symlinks ++ '[' -n '' ']' ++ /usr/share/spec-helper/gprintify ++ '[' -n '' ']' ++ /usr/share/spec-helper/fix_mo ++ '[' -n '' ']' ++ /usr/share/spec-helper/translate_menu ++ '[' -n '' ']' ++ /usr/share/spec-helper/fix_pamd ++ '[' -n '' ']' ++ /usr/share/spec-helper/remove_info_dir ++ '[' -n '' ']' ++ /usr/share/spec-helper/fix_eol ++ '[' -n '' ']' ++ /usr/share/spec-helper/check_desktop_files ++ '[' -n '' ']' ++ /usr/share/spec-helper/check_elf_files ++ /usr/lib/rpm/brp-strip /usr/bin/strip ++ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump ++ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip ++ /usr/lib/rpm/brp-strip-shared /usr/bin/strip ++ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python2 1 1 ++ /usr/lib/rpm/brp-python-hardlink ++ /usr/lib/rpm/redhat/brp-mangle-shebangs +Traitement des fichiers : task-lalis-assistance-1-3.mga7.noarch +Provides: task-lalis-assistance = 1-3.mga7 +Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 +Vérification des fichiers non empaquetés : /usr/lib/rpm/check-files /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 +Écrit : /mnt/lalis/data/develop/task-lalis-assistance/SRPMS/task-lalis-assistance-1-3.mga7.src.rpm +Écrit : /mnt/lalis/data/develop/task-lalis-assistance/RPMS/noarch/task-lalis-assistance-1-3.mga7.noarch.rpm +Exécution_de(%clean) : /bin/sh -e /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/rpm-tmp.rJa95E ++ umask 022 ++ cd /mnt/lalis/data/develop/task-lalis-assistance/BUILD ++ /usr/bin/rm -rf /mnt/lalis/data/develop/task-lalis-assistance/BUILDROOT/task-lalis-assistance-1-3.mga7.x86_64 ++ exit 0 diff --git a/SPECS/task-lalis-assistance.spec b/SPECS/task-lalis-assistance.spec new file mode 100644 index 0000000..906c247 --- /dev/null +++ b/SPECS/task-lalis-assistance.spec @@ -0,0 +1,35 @@ +Summary: Install LALIS Assistance +Name: task-lalis-assistance +Version: 1 +Release: %mkrel 3 +License: GPLv3 +Group: Tools +Url: http://lalis.fr +BuildArch: noarch +Source1: connect2member.sh +Source2: sshconnect +Source3: Assistance_Lalis.desktop + +Requires: tigervnc +Requires: openssh-clients + +%description +This package installs LALIS assistance programs. + + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_datadir}/lalis +mkdir %{buildroot}%{_datadir}/kio_desktop +mkdir -p %{buildroot}%{_datadir}/dist/desktop-files/default +cp %{SOURCE1} %{buildroot}%{_bindir} +cp %{SOURCE2} %{buildroot}%{_bindir} +cp %{SOURCE3} %{buildroot}%{_datadir}/kio_desktop/ +cp %{SOURCE3} %{buildroot}%{_datadir}/dist/desktop-files/default/ + + +%files +%{_bindir}/connect2member.sh +%{_bindir}/sshconnect +%{_datadir}/kio_desktop/Assistance_Lalis.desktop +%{_datadir}/dist/desktop-files/default/*