Name: nornet Version: 1.5.24~netplan1 Release: 1 Summary: NorNet Control Group: Applications/Internet License: GPL-3+ URL: https://www.nntb.no/ Source: https://packages.nntb.no/software/nornet/%{name}-%{version}.tar.xz AutoReqProv: on BuildRequires: cmake BuildRequires: dejavu-sans-fonts BuildRequires: dejavu-sans-mono-fonts BuildRequires: dejavu-serif-fonts BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: ghostscript BuildRequires: gimp BuildRequires: google-noto-cjk-fonts BuildRequires: google-noto-sans-fonts BuildRequires: google-noto-serif-fonts BuildRequires: GraphicsMagick BuildRequires: perl-Image-ExifTool BuildRequires: pygtk2 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: qt5-qtbase-devel BuildRequires: texlive-epstopdf-bin BuildRequires: urw-base35-fonts BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch # TEST ONLY: # define _unpackaged_files_terminate_build 0 %description NorNet is a testbed for multi-homed systems. This package contains the management software for the testbed's infrastructure management software. See https://www.nntb.no for details on NorNet! %prep %setup -q %build # NOTE: CMAKE_VERBOSE_MAKEFILE=OFF for reduced log output! %cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_LIBRARY_PREFIX=%{buildroot}/usr -DFLAT_DIRECTORY_STRUCTURE=1 -DBUILD_BOOTSPLASH=1 -DCMAKE_VERBOSE_MAKEFILE=OFF . %cmake_build %install %cmake_install # ====== Relocate files ===================================================== mkdir -p %{buildroot}/sbin mv %{buildroot}/usr/sbin/Interface-Setup %{buildroot}/sbin mkdir -p %{buildroot}/var mv %{buildroot}/usr/var/www %{buildroot}/var mkdir -p %{buildroot}/boot/NorNet mv %{buildroot}/usr/share/nornet-desktop/Splash/*-*.jpeg %{buildroot}/boot/NorNet mkdir -p %{buildroot}/etc/nornet mv %{buildroot}/usr/share/nornet-desktop/Splash/nornet-version %{buildroot}/etc/nornet # =========================================================================== %package management Summary: Management tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: bash-completion Requires: bc Requires: bridge-utils Requires: btrfs-progs Requires: bwm-ng Requires: colordiff Requires: cronie Requires: curl Requires: ethtool Requires: fail2ban Requires: gawk Requires: gcc Requires: gcc-c++ Requires: git Requires: gpm Requires: hping3 Requires: htop Requires: inotify-tools Requires: joe Requires: jq Requires: libidn Requires: lksctp-tools Requires: (mlocate or plocate) Requires: netperfmeter Requires: net-snmp-utils Requires: net-tools Requires: nmap Requires: (ntpsec or ntpdate) Requires: pigz Requires: pwgen Requires: pxz Requires: rsplib-docs Requires: rsplib-services Requires: rsplib-tools Requires: smartmontools Requires: subnetcalc Requires: td-system-tools-system-info >= 1.1.1 Requires: td-system-tools-system-maintenance >= 1.1.1 Requires: td-system-tools-configure-grub >= 1.1.1 Requires: tcpdump Requires: tftp Requires: traceroute Requires: tree Requires: vconfig Requires: virt-what Requires: whois Requires: wireshark-cli Requires: xmlstarlet Requires: yamllint Recommends: grub2-tools Recommends: ipsec-tools Recommends: reiserfs-utils %description management This metapackage contains basic software nor NorNet node management. The software installed provides a common working environment. See https://www.nntb.no for details on NorNet! %files management /boot/NorNet/Management1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_management_theme %{_sysconfdir}/nornet/nornet-authorized_keys %{_sysconfdir}/nornet/nornet-version %{_bindir}/cls %{_bindir}/Auto-Update-Keys %{_bindir}/Check-Nodes %{_bindir}/Check-Nodes-Loop %{_bindir}/Clear-SSH-Node-Key %{_bindir}/Create-New-SSH-Node-Keys %{_bindir}/Fingerprint-SSH-Node-Keys %{_bindir}/Get-Nodes %{_bindir}/Get-NorNet-Configuration %{_bindir}/Get-Sites %{_bindir}/Get-Slice-Nodes %{_bindir}/Get-Slices %{_bindir}/Get-Users %{_bindir}/Node-Setup %{_bindir}/Probe-Endpoint-Setup %{_bindir}/Random-Sleep %{_bindir}/Reset-Networking %{_bindir}/Routing-Rule-Setup %{_bindir}/System-Backup %{_bindir}/Test-NTP-Configuration %{_bindir}/Watchdog %{_datadir}/nornet/grub-defaults %{_mandir}/man1/cls.1.gz %{_mandir}/man1/Auto-Update-Keys.1.gz %{_mandir}/man1/Check-Nodes-Loop.1.gz %{_mandir}/man1/Check-Nodes.1.gz %{_mandir}/man1/Clear-SSH-Node-Key.1.gz %{_mandir}/man1/Create-New-SSH-Node-Keys.1.gz %{_mandir}/man1/Fingerprint-SSH-Node-Keys.1.gz %{_mandir}/man1/Get-Nodes.1.gz %{_mandir}/man1/Get-NorNet-Configuration.1.gz %{_mandir}/man1/Get-Sites.1.gz %{_mandir}/man1/Get-Slice-Nodes.1.gz %{_mandir}/man1/Get-Slices.1.gz %{_mandir}/man1/Get-Users.1.gz %{_mandir}/man1/Node-Setup.1.gz %{_mandir}/man1/Probe-Endpoint-Setup.1.gz %{_mandir}/man1/Random-Sleep.1.gz %{_mandir}/man1/Reset-Networking.1.gz %{_mandir}/man1/Routing-Rule-Setup.1.gz %{_mandir}/man1/System-Backup.1.gz %{_mandir}/man1/Test-NTP-Configuration.1.gz %{_mandir}/man1/Watchdog.1.gz %{_mandir}/man8/Interface-Setup.8.gz /sbin/Interface-Setup %ghost %{_sysconfdir}/cron-apt/action.d/9-install %{_sysconfdir}/system-info.d/10-nornet %{_sysconfdir}/system-maintenance.d/10-nornet %post management echo "Updating /etc/default/grub with NorNet settings:" echo "-----" configure-grub /usr/share/nornet/grub-defaults -o /etc/default/grub echo "-----" if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun management rm -f /etc/grub.d/??_nornet_management_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package x11 Summary: X11 Login tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: fvwm Requires: xloadimage Requires: xorg-x11-apps Requires: xorg-x11-server-Xorg Requires: xterm %description x11 This metapackage contains basic X11 software for NorNet systems. The software provides a very lightweight graphical login (fvwm) with a shell (xterm). See https://www.nntb.no for details on NorNet! %files x11 %{_datadir}/nornet-x11/Xresources %{_datadir}/nornet-x11/Xsetup %package development Summary: Development tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-management = %{version}-%{release} Requires: autoconf Requires: automake Requires: banner Requires: bison Requires: bzip2-devel Requires: clang Requires: cmake Requires: (createrepo_c or createrepo) Requires: debhelper Requires: dejavu-sans-fonts Requires: dejavu-sans-mono-fonts Requires: dejavu-serif-fonts Requires: devscripts Requires: flex Requires: gcc Requires: gcc-c++ Requires: gdb Requires: ghostscript Requires: gimp Requires: glib2-devel Requires: gnupg Requires: google-noto-cjk-fonts Requires: google-noto-sans-fonts Requires: google-noto-serif-fonts Requires: GraphicsMagick Requires: libcurl-devel Requires: libpcap-devel Requires: libtool Requires: lksctp-tools-devel Requires: make Requires: mock Requires: openssl-devel Requires: pbuilder Requires: perl-Image-ExifTool Requires: pkg-config Requires: python3 Requires: python3-pip Requires: python3-psycopg2 Requires: python3-pymongo Requires: python3-setuptools Requires: qemu-user-static Requires: quilt Requires: R-base Requires: reprepro Requires: rpm Requires: texlive-epstopdf-bin Requires: urw-base35-fonts Requires: valgrind %description development This metapackage contains basic software nor NorNet development. The software installed provides a common working environment. See https://www.nntb.no for details on NorNet! %files development /boot/NorNet/Development1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_development_theme %{_datadir}/nornet/pbuilderrc %post development if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun development rm -f /etc/grub.d/??_nornet_development_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package api Summary: API tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-management = %{version}-%{release} Requires: %{name}-api = %{version}-%{release} Recommends: figlet %description api This package contains the NorNet Python API library. It contains functions to communicate with the central server (MyPLC), based on XMLRPC. See https://www.nntb.no for details on NorNet! %files api %{python3_sitelib}/NorNetAPI.py %{python3_sitelib}/NorNetConfiguration.py %{python3_sitelib}/NorNetExperimentToolbox.py %{python3_sitelib}/NorNetNodeSetup.py %{python3_sitelib}/NorNetProviderSetup.py %{python3_sitelib}/NorNetSiteSetup.py %{python3_sitelib}/NorNetTools.py %{python3_sitelib}/SysSetupCommons.py %{python3_sitelib}/__pycache__/NorNetAPI*.pyc %{python3_sitelib}/__pycache__/NorNetConfiguration*.pyc %{python3_sitelib}/__pycache__/NorNetExperimentToolbox*.pyc %{python3_sitelib}/__pycache__/NorNetNodeSetup*.pyc %{python3_sitelib}/__pycache__/NorNetProviderSetup*.pyc %{python3_sitelib}/__pycache__/NorNetSiteSetup*.pyc %{python3_sitelib}/__pycache__/NorNetTools*.pyc %{python3_sitelib}/__pycache__/SysSetupCommons*.pyc %{_datadir}/nornet-api/nornetapi-config.full %{_datadir}/nornet-api/nornetapi-config.simple %{_datadir}/nornet-api/nornetapi-constants %post api mkdir -p /etc/nornet if [ ! -e /etc/nornet/nornetapi-constants ] ; then cp /usr/share/nornet-api/nornetapi-constants /etc/nornet/nornetapi-constants fi if [ ! -e /etc/nornet/nornetapi-config ] ; then cp /usr/share/nornet-api/nornetapi-config.simple /etc/nornet/nornetapi-config.EXAMPLE fi %package autoupdate Summary: Auto Update tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: dnf-automatic %description autoupdate This package ensures that the NorNet system is automatically updated (installation of updates via dnf-automatic). See https://www.nntb.no for details on NorNet! %files autoupdate %post autoupdate sed -e "s/^apply_updates[ \t]*=[ \t]*no.*$/apply_updates = yes/g" -i /etc/dnf/automatic.conf systemctl enable --now dnf-automatic.timer %package node Summary: Node tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: grub2 Requires: libvirt-client Requires: nfs-utils Requires: ntp Requires: openssh-server Requires: rsplib-services Requires: xorg-x11-xauth Recommends: open-vm-tools Recommends: virtualbox-guest-additions %description node This package contains the scripts to configure a generic node on a NorNet site. See https://www.nntb.no for details on NorNet! %files node /boot/NorNet/Node1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_node_theme %{_bindir}/Make-Node-Configuration %{_mandir}/man1/Make-Node-Configuration.1.gz %post node if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun node rm -f /etc/grub.d/??_nornet_node_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package tunnelbox Summary: Tunnelbox tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: (%{name}-node = %{version}-%{release} or %{name}-server = %{version}-%{release}) Requires: arpwatch Requires: bind Requires: conntrack-tools Requires: dhcp-server Requires: iptables Requires: iputils Requires: net-snmp Requires: netstat-nat Requires: ntp Requires: radvd Requires: squid Requires: traceroute %description tunnelbox This package contains the scripts to configure the tunnelboxes of NorNet sites. See https://www.nntb.no for details on NorNet! %files tunnelbox /boot/NorNet/Tunnelbox1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_tunnelbox_theme %{_bindir}/Flush-Squid-Cache %{_bindir}/Make-Tunnelbox-Configuration %{_bindir}/Probe-Interface-Setup %{_bindir}/Tunnelbox-Bootstrap-Helper %{_bindir}/Tunnelbox-NAT-Helper %{_bindir}/Tunnelbox-Setup %{_mandir}/man1/Make-Tunnelbox-Configuration.1.gz %{_mandir}/man1/Probe-Interface-Setup.1.gz %{_mandir}/man1/Tunnelbox-Bootstrap-Helper.1.gz %{_mandir}/man1/Tunnelbox-NAT-Helper.1.gz %{_mandir}/man1/Tunnelbox-Setup.1.gz %{_mandir}/man1/Flush-Squid-Cache.1.gz %post tunnelbox if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun tunnelbox rm -f /etc/grub.d/??_nornet_tunnelbox_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package filesrv Summary: FileSrv tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: libnfs-utils Requires: tftp-server %description filesrv This package contains the scripts to configure a file server on a NorNet central site. See https://www.nntb.no for details on NorNet! %files filesrv /boot/NorNet/FileSrv1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_filesrv_theme %{_bindir}/Make-FileSrv-Configuration %{_mandir}/man1/Make-FileSrv-Configuration.1.gz %post filesrv if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun filesrv rm -f /etc/grub.d/??_nornet_filesrv_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package artwork Summary: Artwork tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch %description artwork This package contains some images for the monitor server on a NorNet central site. See https://www.nntb.no for details on NorNet! %files artwork %{_localstatedir}/www/Artwork/Graphics/Backgrounds/*.png %{_localstatedir}/www/Artwork/Graphics/Control/*.png %{_localstatedir}/www/Artwork/Graphics/Flags/*.png %{_localstatedir}/www/Artwork/Graphics/Flags/*.svg %{_localstatedir}/www/Artwork/Graphics/Icons/*.png %{_localstatedir}/www/Artwork/Graphics/Markers/*.svg %{_localstatedir}/www/Artwork/Sites/Large/*.jpeg %{_localstatedir}/www/Artwork/Sites/Small/*.jpeg %ghost /boot/NorNet/Background1-*.jpeg %ghost /boot/NorNet/BootCD-F24-*.jpeg %ghost /boot/NorNet/BootCD-F25-*.jpeg %package monitor Summary: Monitor tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-artwork = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: httpd Requires: php-fpm Requires: nagios Requires: postfix %description monitor This package contains the scripts to configure a generic monitoring station on a NorNet central site. See https://www.nntb.no for details on NorNet! %files monitor /boot/NorNet/Monitor1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_monitor_theme %{_sysconfdir}/nornet/nornet-commands.cfg %{_sysconfdir}/nornet/nornet-services.cfg %{_bindir}/Make-Monitor-Configuration %{_bindir}/check_site %{_bindir}/check_tunnel %{_mandir}/man1/Make-Monitor-Configuration.1.gz %{_mandir}/man1/check_site.1.gz %{_mandir}/man1/check_tunnel.1.gz %{_localstatedir}/www/Kontrollsenter/* %post monitor if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun monitor rm -f /etc/grub.d/??_nornet_monitor_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package display Summary: Display tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Recommends: xorg-x11-drv-vmware %description display This package contains the packages to set up a display station for the results of the monitoring station. It is in fact just a node with a web browser and the necessary GUI. See https://www.nntb.no for details on NorNet! %files display /boot/NorNet/Display1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_display_theme %{_datadir}/nornet-desktop/Desktop-with-Logo/* %{_datadir}/nornet-desktop/Desktop-without-Logo/* %{_datadir}/nornet-desktop/NorNet-A4.pdf %post display ln -s /usr/share/nornet-desktop/Desktop-with-Logo/Background1-1600x1200-plain.png /usr/share/nornet/background/NorNet-Background1-4x3.png ln -s /usr/share/nornet-desktop/Desktop-with-Logo/Background1-1920x1200-plain.png /usr/share/nornet/background/NorNet-Background1-16x10.png ln -s /usr/share/nornet-desktop/Desktop-with-Logo/Background1-3840x2160-plain.png /usr/share/nornet/background/NorNet-Background1-16x9.png ln -s /usr/share/nornet-desktop/Desktop-without-Logo/Background1-1600x1200-plain.png /usr/share/nornet/background/NorNet-Background1-without-Logo-4x3.png ln -s /usr/share/nornet-desktop/Desktop-without-Logo/Background1-1920x1200-plain.png /usr/share/nornet/background/NorNet-Background1-without-Logo-16x10.png ln -s /usr/share/nornet-desktop/Desktop-without-Logo/Background1-3840x2160-plain.png /usr/share/nornet/background/NorNet-Background1-without-Logo-16x9.png if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun display rm -f /etc/grub.d/??_nornet_display_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package gatekeeper Summary: Gatekeeper tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} %description gatekeeper This package contains the packages to set up a gatekeeper station for the project presentation. It is in fact just a node with a dependency on the additional packages. See https://www.nntb.no for details on NorNet! %files gatekeeper /boot/NorNet/Gatekeeper1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_gatekeeper_theme %post gatekeeper if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun gatekeeper rm -f /etc/grub.d/??_nornet_gatekeeper_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package websrv Summary: WebSrv tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: awstats Requires: geoipupdate-cron Recommends: geoipupdate-cron6 Requires: GeoIP-GeoLite-data Requires: GeoIP-GeoLite-data-extra Requires: httpd Requires: php-fpm Requires: oxygen-icon-theme %description websrv This package contains the packages to set up a web server station for the project presentation. It is in fact just a node with a dependency on the Apache packages. See https://www.nntb.no for details on NorNet! %files websrv /boot/NorNet/WebSrv1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_websrv_theme %{_datadir}/nornet-websrv/* %post websrv if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun websrv rm -f /etc/grub.d/??_nornet_websrv_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package wikisrv Summary: WikiSrv tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-websrv = %{version}-%{release} Requires: postfix Requires: php-mysqlnd %description wikisrv This package contains the packages to set up a wiki station for the user-contributed documentation. It is in fact just a node with a dependency on the MediaWiki packages. See https://www.nntb.no for details on NorNet! %files wikisrv /boot/NorNet/WikiSrv1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_wikisrv_theme %post wikisrv if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun wikisrv rm -f /etc/grub.d/??_nornet_wikisrv_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package timesrv Summary: TimeSrv tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: ntp %description timesrv This package contains the packages to set up an NTP server for the time synchronisation. It is in fact just a node with a dependency on the NTP server packages. See https://www.nntb.no for details on NorNet! %files timesrv /boot/NorNet/TimeSrv1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_timesrv_theme %post timesrv if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun timesrv rm -f /etc/grub.d/??_nornet_timesrv_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package database Summary: Database tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: postgresql-server Requires: postgresql-contrib %description database This package contains the packages to set up a database station for experiment results collection. It is in fact just a node with a dependency on the PostgreSQL packages. See https://www.nntb.no for details on NorNet! %files database /boot/NorNet/Database1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_database_theme %post database if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun database rm -f /etc/grub.d/??_nornet_database_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package plc Summary: PLC tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-autoupdate = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Recommends: myplc %description plc This package contains the packages to set up a PLC server. See https://www.nntb.no for details on NorNet! %files plc /boot/NorNet/PLC1-*.jpeg %{_sysconfdir}/grub.d/??_nornet_plc_theme %post plc if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun plc rm -f /etc/grub.d/??_nornet_plc_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %package server Summary: Server tools for the NorNet system environment Group: Applications/Internet BuildArch: noarch Requires: %{name}-api = %{version}-%{release} Requires: %{name}-management = %{version}-%{release} Requires: edk2-ovmf Requires: grub2 Requires: libvirt-client Requires: nfs-utils Requires: ntp Requires: openssh-server Requires: qemu-kvm Requires: virt-manager Requires: virt-install Requires: xorg-x11-xauth %description server This package contains the scripts to configure a generic server system to host NorNet virtual machines. See https://www.nntb.no for details on NorNet! %files server /boot/NorNet/Server1-*.jpeg %{_sysconfdir}/nornet/vsystems/EXAMPLE-99-VirtualServer %{_sysconfdir}/grub.d/??_nornet_server_theme %{_bindir}/Auto-Update-BootCD %{_bindir}/Backup-All-VSystems %{_bindir}/Backup-VSystem %{_bindir}/Change-VSystem-CDImage %{_bindir}/Check-Research-Node %{_bindir}/Check-VSystem %{_bindir}/Convert-HDD-Images %{_bindir}/Make-Server-Configuration %{_bindir}/Make-VSystem-Template %{_bindir}/Reset-VSystem %{_bindir}/Server-Setup %{_bindir}/Server-Watchdog %{_bindir}/Set-OVF-Type %{_bindir}/Show-VSystems %{_bindir}/Start-VSystem %{_bindir}/Stop-VSystem %{_mandir}/man1/Auto-Update-BootCD.1.gz %{_mandir}/man1/Backup-All-VSystems.1.gz %{_mandir}/man1/Backup-VSystem.1.gz %{_mandir}/man1/Change-VSystem-CDImage.1.gz %{_mandir}/man1/Check-Research-Node.1.gz %{_mandir}/man1/Check-VSystem.1.gz %{_mandir}/man1/Convert-HDD-Images.1.gz %{_mandir}/man1/Make-Server-Configuration.1.gz %{_mandir}/man1/Make-VSystem-Template.1.gz %{_mandir}/man1/Reset-VSystem.1.gz %{_mandir}/man1/Server-Setup.1.gz %{_mandir}/man1/Server-Watchdog.1.gz %{_mandir}/man1/Set-OVF-Type.1.gz %{_mandir}/man1/Show-VSystems.1.gz %{_mandir}/man1/Start-VSystem.1.gz %{_mandir}/man1/Stop-VSystem.1.gz %{_datadir}/nornet-server/watchdog-config.example %post server if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %postun server rm -f /etc/grub.d/??_nornet_server_theme if [ -e /usr/sbin/grub2-mkconfig ] ; then /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg || true ; fi %changelog * Wed Jun 05 2024 Thomas Dreibholz - 1.5.23 - New upstream release. * Fri Oct 06 2023 Thomas Dreibholz - 1.5.22 - New upstream release. * Fri May 13 2022 Thomas Dreibholz - 1.5.21 - New upstream release. * Mon Mar 21 2022 Thomas Dreibholz - 1.5.20 - New upstream release. * Wed Feb 16 2022 Thomas Dreibholz - 1.5.19 - New upstream release. * Tue Feb 08 2022 Thomas Dreibholz - 1.5.18 - New upstream release. * Mon Jan 31 2022 Thomas Dreibholz - 1.5.17 - New upstream release. * Tue Dec 07 2021 Thomas Dreibholz - 1.5.16 - New upstream release. * Mon Nov 22 2021 Thomas Dreibholz - 1.5.15 - New upstream release. * Tue Oct 19 2021 Thomas Dreibholz - 1.5.14 - New upstream release. * Fri Aug 27 2021 Thomas Dreibholz - 1.5.13 - New upstream release. * Thu Jul 01 2021 Thomas Dreibholz - 1.5.12 - New upstream release. * Mon Jun 14 2021 Thomas Dreibholz - 1.5.11 - New upstream release. * Sat Mar 06 2021 Thomas Dreibholz - 1.5.10 - New upstream release. * Wed Feb 24 2021 Thomas Dreibholz - 1.5.9 - New upstream release. * Tue Jan 05 2021 Thomas Dreibholz - 1.5.8 - New upstream release. * Wed Dec 16 2020 Thomas Dreibholz - 1.5.7 - New upstream release. * Fri Nov 13 2020 Thomas Dreibholz - 1.5.6 - New upstream release. * Sat Oct 10 2020 Thomas Dreibholz - 1.5.5 - New upstream release. * Mon Oct 05 2020 Thomas Dreibholz - 1.5.4 - New upstream release. * Mon Sep 28 2020 Thomas Dreibholz - 1.5.3 - New upstream release. * Thu Sep 17 2020 Thomas Dreibholz - 1.5.2 - New upstream release. * Fri Sep 04 2020 Thomas Dreibholz - 1.5.1 - New upstream release. * Wed Aug 26 2020 Thomas Dreibholz - 1.5.0 - New upstream release. * Tue May 05 2020 Thomas Dreibholz - 1.4.8 - New upstream release. * Wed Feb 26 2020 Thomas Dreibholz - 1.4.7 - New upstream release. * Tue Jan 21 2020 Thomas Dreibholz - 1.4.6 - New upstream release. * Wed Dec 04 2019 Thomas Dreibholz - 1.4.5 - New upstream release. * Thu Nov 07 2019 Thomas Dreibholz - 1.4.4 - New upstream release. * Fri Sep 20 2019 Thomas Dreibholz - 1.4.3 - New upstream release. * Fri Sep 20 2019 Thomas Dreibholz - 1.4.2 - New upstream release. * Wed Sep 04 2019 Thomas Dreibholz - 1.4.1 - New upstream release. * Thu Aug 22 2019 Thomas Dreibholz - 1.4.0 - New upstream release. * Thu Aug 15 2019 Thomas Dreibholz - 1.3.17 - New upstream release. * Wed Jul 31 2019 Thomas Dreibholz - 1.3.16 - New upstream release. * Fri Jul 26 2019 Thomas Dreibholz - 1.3.15 - New upstream release. * Fri Jul 05 2019 Thomas Dreibholz - 1.3.14 - New upstream release. * Wed Jul 03 2019 Thomas Dreibholz - 1.3.13 - New upstream release. * Fri Jun 28 2019 Thomas Dreibholz - 1.3.12 - New upstream release. * Thu Jun 20 2019 Thomas Dreibholz - 1.3.11 - New upstream release. * Fri Jun 14 2019 Thomas Dreibholz - 1.3.10 - New upstream release. * Fri Jun 07 2019 Thomas Dreibholz - 1.3.9 - New upstream release. * Wed May 15 2019 Thomas Dreibholz - 1.3.8 - New upstream release. * Thu Apr 18 2019 Thomas Dreibholz - 1.3.7 - New upstream release. * Wed Mar 06 2019 Thomas Dreibholz - 1.3.6 - New upstream release. * Fri Nov 16 2018 Thomas Dreibholz - 0.0.0 - Created RPM package.