Name: sparkle-os Version: 1.0.0 Release: 1%{?dist} Summary: SparkleOS - Strumenti aziendali Sparkle integrati per Fedora License: Proprietary URL: https://github.com/bl4ckk/sparkleos # Il tarball viene costruito dalla root del repo con: # tar czf sparkle-os-%%{version}.tar.gz \ # --transform='s|^|sparkle-os-%%{version}/|' \ # rpm-build/src/ assets/ convert_bookmarks.py Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils # ------------------------------------------------------------------------- # Dipendenze runtime # ------------------------------------------------------------------------- Requires: python3 Requires: python3-colorama Requires: python3-openpyxl # VPN IKEv1 PSK+XAuth via vpnc Requires: vpnc # TUI Python per sparkle-vpn Requires: python3-textual >= 8 %description Pacchetto unificato SparkleOS. Include: - sparkle-am-ssh : SSH helper per nodi aziendali - sparkle-loop-checker : Rilevamento loop TCAP su dump pcap - sparkle-netnumber-links : Analisi ed export link NetNumber SS7/Diameter - sparkle-vpn : TUI per la VPN aziendale (vpnc) - Sfondo aziendale : /usr/share/backgrounds/sparkle/background.jpg - Tema Desktop Plasma : /usr/share/plasma/desktoptheme/SparkleOS # ========================================================================= # %prep - estrai il tarball nella BUILD dir # ========================================================================= %prep %autosetup # ========================================================================= # %build - nessuna compilazione (Python puro) # ========================================================================= %build # nothing to do # ========================================================================= # %install - popola il buildroot # ========================================================================= %install # --- Binari in /usr/bin/ --------------------------------------------------- install -d %{buildroot}%{_bindir} for script in \ sparkle-am-ssh \ sparkle-loop-checker \ sparkle-netnumber-links \ sparkle-vpn; do install -m 0755 rpm-build/src/scripts/${script} \ %{buildroot}%{_bindir}/${script} done # --- SparkleVPN: icona e .desktop ------------------------------ install -d %{buildroot}%{_datadir}/icons/hicolor/128x128/apps install -m 0644 assets/vpn.png \ %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/sparkle-vpn.png install -d %{buildroot}%{_datadir}/applications install -m 0644 rpm-build/src/sparkle-vpn.desktop \ %{buildroot}%{_datadir}/applications/sparkle-vpn.desktop # --- SparkleVPN: modulo Python in /usr/share/sparkle-os/VPN/ --------------- install -d %{buildroot}%{_datadir}/sparkle-os/VPN install -m 0755 rpm-build/src/VPN/sparklevpn.py \ %{buildroot}%{_datadir}/sparkle-os/VPN/sparklevpn.py # --- SparkleVPN: sudoers drop-in ------------------------------------------- install -d %{buildroot}/etc/sudoers.d install -m 0440 rpm-build/src/VPN/sparkle-vpn-sudoers \ %{buildroot}/etc/sudoers.d/sparkle-vpn # --- Modulo netnumber-links in /usr/share/sparkle-os/ ---------------------- install -d %{buildroot}%{_datadir}/sparkle-os/netnumber-links cp -r rpm-build/src/netnumber-links/. \ %{buildroot}%{_datadir}/sparkle-os/netnumber-links/ # --- Sfondo aziendale ------------------------------------------------------- install -d %{buildroot}%{_datadir}/backgrounds/sparkle install -m 0644 assets/background.jpg \ %{buildroot}%{_datadir}/backgrounds/sparkle/background.jpg # --- Tema Plasma SparkleOS (Global Theme) ------------------------------------- # Le varie componenti sono ora tutte contenute in cartelle all'interno di theme/SparkleOS # Desktop Theme install -d %{buildroot}%{_datadir}/plasma/desktoptheme/SparkleOS cp -rp theme/SparkleOS/SparkleOS/* \ %{buildroot}%{_datadir}/plasma/desktoptheme/SparkleOS/ # Look and Feel install -d %{buildroot}%{_datadir}/plasma/look-and-feel/SparkleOS cp -rp theme/SparkleOS/look-and-feel/SparkleOS/* \ %{buildroot}%{_datadir}/plasma/look-and-feel/SparkleOS/ # Aurorae (Window Decorations) install -d %{buildroot}%{_datadir}/aurorae/themes/SparkleOS cp -rp theme/SparkleOS/aurorae/SparkleOS/* \ %{buildroot}%{_datadir}/aurorae/themes/SparkleOS/ # Color Schemes install -d %{buildroot}%{_datadir}/color-schemes install -m 0644 theme/SparkleOS/color-schemes/*.colors \ %{buildroot}%{_datadir}/color-schemes/ # Konsole profile install -d %{buildroot}%{_datadir}/konsole install -m 0644 theme/SparkleOS/konsole/*.colorscheme \ %{buildroot}%{_datadir}/konsole/ # Wallpapers install -d %{buildroot}%{_datadir}/wallpapers cp -rp theme/SparkleOS/wallpapers/* \ %{buildroot}%{_datadir}/wallpapers/ # --- Preferiti Chromium (sorgente HTML + script di conversione) --------------- install -m 0755 convert_bookmarks.py \ %{buildroot}%{_datadir}/sparkle-os/convert_bookmarks.py # ========================================================================= # %files - lista file inclusi nel pacchetto # ========================================================================= %files %{_bindir}/sparkle-am-ssh %{_bindir}/sparkle-loop-checker %{_bindir}/sparkle-netnumber-links %{_bindir}/sparkle-vpn %{_datadir}/icons/hicolor/128x128/apps/sparkle-vpn.png %{_datadir}/applications/sparkle-vpn.desktop %{_datadir}/sparkle-os/ %attr(0440, root, root) /etc/sudoers.d/sparkle-vpn %{_datadir}/backgrounds/sparkle/background.jpg %{_datadir}/plasma/desktoptheme/SparkleOS/ %{_datadir}/plasma/look-and-feel/SparkleOS/ %{_datadir}/aurorae/themes/SparkleOS/ %{_datadir}/color-schemes/*.colors %{_datadir}/konsole/*.colorscheme %{_datadir}/wallpapers/* # ========================================================================= # %changelog # ========================================================================= %changelog * Mon Mar 10 2026 Bl4ckk98 - 1.0.0-3 - Sostituito sparkle-vpn bash con TUI Python (textual) - Estratto VPN secret in /etc/sparkle-os/vpn.conf - Aggiunto sudoers drop-in per wheel (vpnc, vpnc-disconnect, resolvectl) - Aggiunta dipendenza python3-textual * Mon Mar 10 2026 Bl4ckk98 - 1.0.0-2 - Rimossa integrazione VPN nmconnection/libreswan - Aggiunto sparkle-vpn: TUI basata su vpnc + dialog - Aggiunto file .desktop e icona per lancio da menu KDE * Sun Mar 01 2026 Bl4ckk98 - 1.0.0-1 - Prima release ufficiale SparkleOS (Fedora 42 / KDE) - Integrati: am-ssh, loop-checker, route-adder, netnumber-links - Aggiunto profilo VPN libreswan (tisparkle.nmconnection) - Aggiunto sfondo aziendale - Aggiunto tema Plasma aziendale (SparkleOS per Plasma 6)