File tik-modules-yuga.spec of Package tik-modules-yuga
#
# spec file for package tik-modules-yuga
#
# Copyright (c) 2026 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 https://bugs.opensuse.org/
#
Name: tik-modules-yuga
Version: 1.1.0.23
Release: 0
Summary: Meta package for tik modules on Yuga Linux
License: MIT
URL: https://github.com/YugaLinux/tik-modules-yuga
Source: tik-modules-yuga-%{version}.tar.xz
BuildArch: noarch
BuildRequires: tik
BuildRequires: tik-config-generic
%description
Meta package for tik modules on Yuga Linux. It does not make sense to install this package.
%package -n tik-module-inhibitor
Summary: Tik module to inhibit idle/sleep/shutdown during installation
Requires: tik
%description -n tik-module-inhibitor
Tik module to inhibit idle/sleep/shutdown during installation and allow it afterwards again.
%package -n tik-module-check-network
Summary: Tik module to check if the network is connected
Requires: tik
%description -n tik-module-check-network
Tik module to check if the network is connected and promt the user to connect to one if not.
%package -n tik-module-swapfile
Summary: Tik module to add a swapfile to the final system
Requires: tik
%description -n tik-module-swapfile
Tik module to add a swapfile to the final system.
%package -n tik-module-encrypt-yuga
Summary: Tik module to encrypt the system using a gamepad
Requires: tik
Conflicts: tik-module-encrypt
Requires: deckrypt
Requires: qrencode
%description -n tik-module-encrypt-yuga
Tik module to encrypt the system using a gamepad when supported and connected.
%package -n tik-module-prepare-factory-reset-yuga
Summary: Tik module to prepare a factory reset
Requires: tik
%description -n tik-module-prepare-factory-reset-yuga
Tik module to prepare for factory resets.
%package -n tik-module-mig-yuga
Summary: Migration module for tik on Yuga Linux
Requires: tik
Conflicts: tik-module-mig
%description -n tik-module-mig-yuga
Migration module for tik on Yuga Linux. Detects existing btrfs /home subvolumes and offers to backup/restore it using the tik USB stick.
%package -n tik-module-install-packages-yuga
Summary: Tik module to install missing package into the final Yuga system
Requires: tik
Conflicts: tik-module-mig
%description -n tik-module-install-packages-yuga
Tik module to install the missing non redistributable pattern package into the final Yuga system.
%prep
%autosetup -n tik-modules-yuga-%{version}
%build
%install
install -D -m 644 pre/00-start-inihibit %{buildroot}%{_prefix}/lib/tik/modules/pre/00-start-inihibit
install -D -m 644 post/99-stop-inihbit %{buildroot}%{_prefix}/lib/tik/modules/post/99-stop-inihbit
install -D -m 644 pre/12-check-network %{buildroot}%{_prefix}/lib/tik/modules/pre/12-check-network
install -D -m 644 pre/11-swapfile %{buildroot}%{_prefix}/lib/tik/modules/pre/11-swapfile
install -D -m 644 post/14-swapfile %{buildroot}%{_prefix}/lib/tik/modules/post/14-swapfile
install -D -m 644 pre/15-encrypt %{buildroot}%{_prefix}/lib/tik/modules/pre/15-encrypt
install -D -m 644 post/15-encrypt %{buildroot}%{_prefix}/lib/tik/modules/post/15-encrypt
install -D -m 644 post/13-install-packages %{buildroot}%{_prefix}/lib/tik/modules/post/13-install-packages
install -D -m 644 post/18-prepare-factory-reset %{buildroot}%{_prefix}/lib/tik/modules/post/18-prepare-factory-reset
install -D -m 644 pre/20-mig %{buildroot}%{_prefix}/lib/tik/modules/pre/20-mig
install -D -m 644 post/20-mig %{buildroot}%{_prefix}/lib/tik/modules/post/20-mig
%files -n tik-module-inhibitor
%{_prefix}/lib/tik/modules/pre/00-start-inihibit
%{_prefix}/lib/tik/modules/post/99-stop-inihbit
%files -n tik-module-check-network
%{_prefix}/lib/tik/modules/pre/12-check-network
%files -n tik-module-swapfile
%{_prefix}/lib/tik/modules/pre/11-swapfile
%{_prefix}/lib/tik/modules/post/14-swapfile
%files -n tik-module-encrypt-yuga
%{_prefix}/lib/tik/modules/pre/15-encrypt
%{_prefix}/lib/tik/modules/post/15-encrypt
%files -n tik-module-install-packages-yuga
%{_prefix}/lib/tik/modules/post/13-install-packages
%files -n tik-module-prepare-factory-reset-yuga
%{_prefix}/lib/tik/modules/post/18-prepare-factory-reset
%files -n tik-module-mig-yuga
%{_prefix}/lib/tik/modules/pre/20-mig
%{_prefix}/lib/tik/modules/post/20-mig
%changelog