1
0

Premier commit

Signed-off-by: Daniel Tartavel <contact@librepc.com>
This commit is contained in:
Daniel Tartavel 2021-01-15 15:28:05 +01:00
parent 14a2c4fd2b
commit 1e1aad89cf
6 changed files with 149 additions and 0 deletions

View File

@ -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=

5
SOURCES/connect2member.sh Executable file
View File

@ -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

4
SOURCES/sshconnect Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/sh
ssh -p 10022 -N -f -L 6000:localhost:6000 <user on the member's machine>@<your server>

23
SPECS/log.task-lalis Normal file
View File

@ -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)

View File

@ -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

View File

@ -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/*