135 lines
3.8 KiB
RPMSpec
Executable File
135 lines
3.8 KiB
RPMSpec
Executable File
Summary: Install LALIS packages and configuration
|
|
Name: task-lalis
|
|
Version: 1
|
|
Release: %mkrel 1
|
|
License: GPLv3
|
|
Group: Tools
|
|
Url: http://librepc.com
|
|
BuildArch: noarch
|
|
|
|
Requires: openssh-server
|
|
Requires: sshfs-fuse
|
|
Requires: celestia
|
|
Requires: kstars
|
|
Requires: stellarium
|
|
Requires: ssmtp
|
|
Requires: kwallet-pam
|
|
Requires: tuxpaint
|
|
Requires: avidemux-qt-plugins
|
|
Requires: kpdftool
|
|
Requires: gcompris
|
|
Requires: gcompris-music
|
|
Requires: kgpg
|
|
Requires: xsane
|
|
#Requires: clipart-openclipart
|
|
Requires: celestia
|
|
Requires: kstars
|
|
Requires: stellarium
|
|
Requires: gnuplot
|
|
Requires: drgeo
|
|
Requires: %{_lib}dvdcss2
|
|
Requires: evince
|
|
Requires: npapi-vlc
|
|
#Requires: mozplugger
|
|
#Requires: kompozer
|
|
#Requires: cheese
|
|
Requires: audacity
|
|
Requires: kdenlive
|
|
Requires: spamassassin
|
|
Requires: p7zip
|
|
Requires: unrar
|
|
#Requires: kdeedu
|
|
Requires: kaudiocreator
|
|
Requires: ark
|
|
Requires: kim4
|
|
Requires: krename
|
|
Requires: gimp-resynthesizer
|
|
Requires: gimp-data-extras
|
|
Requires: gimp-plugin-gmic
|
|
Requires: ktorrent
|
|
Requires: lame
|
|
Requires: pidgin
|
|
Requires: empathy
|
|
Requires: vlc-plugin-opengl
|
|
Requires: vlc-plugin-pulse
|
|
Requires: vlc-plugin-vdpau
|
|
Requires: vlc-plugin-lua
|
|
Requires: vlc-plugin-common
|
|
Requires: vlc-plugin-flac
|
|
Requires: vlc-plugin-fluidsynth
|
|
Requires: phonon-vlc
|
|
Requires: vlc-plugin-gnutls
|
|
Requires: vlc-plugin-kate
|
|
Requires: vlc-plugin-libass
|
|
Requires: vlc-plugin-libnotify
|
|
Requires: vlc-plugin-mod
|
|
Requires: vlc-plugin-mpc
|
|
Requires: vlc-plugin-projectm
|
|
Requires: vlc-plugin-schroedinger
|
|
Requires: vlc-plugin-sdl
|
|
Requires: vlc-plugin-shout
|
|
Requires: vlc-plugin-speex
|
|
Requires: vlc-plugin-twolame
|
|
Requires: vlc-plugin-upnp
|
|
Requires: vlc-plugin-zvbi
|
|
Requires: vlc-qt
|
|
Requires: flash-player-plugin
|
|
Requires: system-config-printer
|
|
Requires: task-printing-scanning
|
|
Requires: gsmartcontrol
|
|
Requires: bind-utils
|
|
Requires: k3b
|
|
Requires: luckybackup
|
|
Requires: kpat
|
|
Requires: gimp-plugin-bimp
|
|
Requires: audiokonverter
|
|
Requires: %{_lib}canberra-gtk0
|
|
Requires: %{_lib}canberra-gtk3_0
|
|
Requires: v4l-utils
|
|
Requires: gutenprint-gimp2
|
|
Requires: printer-utils
|
|
Requires: task-codec-audio
|
|
Requires: task-codec-video
|
|
Requires: x11vnc
|
|
Requires: kamoso
|
|
Requires: fuse-exfat
|
|
Requires: exfat-utils
|
|
Requires: simple-scan
|
|
Requires: kipi-plugins
|
|
Requires: tintii
|
|
Requires: krfb
|
|
Requires: clementine
|
|
Requires: aspell-fr
|
|
Requires: transcode
|
|
Requires: plasma-applet-systemloadviewer
|
|
Requires: ffmulticonverter
|
|
Requires: print-manager
|
|
Requires: sweeper
|
|
Requires: gvfs-mtp
|
|
Requires: mtpfs
|
|
Requires: libmtp-utils
|
|
Requires: simple-mtpfs
|
|
Requires: gmtp
|
|
Requires: qtbluetooth5
|
|
Requires: pulseaudio-module-bluetooth
|
|
Requires: kdeconnect-kde
|
|
Requires: chromium-browser
|
|
|
|
%description
|
|
This task package installs LALIS choosen packages in mageia and some configurations.
|
|
|
|
|
|
%files
|
|
|
|
# configuration de l'assistance à distance
|
|
# créer un utilisateur Lalis enlève les droits de lecture/écriture/visibllité/exécution à others
|
|
|
|
%post
|
|
adduser lalis
|
|
chmod -R o-rwX /home/lalis
|
|
# Ajoute l'utilisateur lalis à ka liste des utilisateurs autorisés à se connecter en ssh
|
|
echo "Allowusers lalis" >>/etc/ssh/sshd_config
|
|
# crée le script de connection sui de nomme "tunnel" et le met en exécution pour tout le monde
|
|
printf "#!/bin/sh\nssh -N -f -R 6000:localhost:22 ssh@<serveur ssh de LALIS>\n" >/usr/local/bin/tunnel
|
|
chmod a+x /usr/local/bin/tunnel
|