File jeos-firstboot.spec of Package jeos-firstboot

# spec file for package jeos-firstboot
# Copyright (c) 2021 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           jeos-firstboot
Version:        1.0.0
Release:        0
Summary:        Simple text based JeOS first boot wizard
License:        MIT
Group:          Development/Tools/Other
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  systemd-rpm-macros
Requires:       dialog
Requires:       live-langset-data
BuildArch:      noarch

Simple text based JeOS first boot wizard that can be used instead
of the line based one that is built into systemd.

%package rpiwifi
Summary:        jeos-firstboot module for WiFi configuration for RaspberryPi systems
Group:          Productivity/Networking/Other
Requires:       %{name} = %{version}
Requires:       wicked
Requires:       wireless-tools
Requires:       wpa_supplicant

%description rpiwifi
This module hooks into jeos-firstboot and allows the user to enter data to connect
his RaspberryPi system to a wireless network.

%setup -q


cp -a files/* %{buildroot}

%service_del_preun jeos-firstboot.service

%service_del_postun jeos-firstboot.service

%service_add_pre jeos-firstboot.service

%service_add_post jeos-firstboot.service

%license LICENSE
%dir %{_datadir}/defaults/
%dir %{_datadir}/jeos-firstboot
%dir %{_datadir}/jeos-firstboot/modules

%files rpiwifi

openSUSE Build Service is sponsored by