File tik-modules-yuga.spec of Package tik-modules-yuga

#
# spec file for package tik-modules-yuga
#
Name:           tik-modules-yuga
Version:        1.0
Release:        0
Summary:        Meta package for tik modules on Yuga Linux
License:        MIT
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-welcome-yuga
Summary:        Welcome module for tik on Yuga Linux
Requires:       tik
Conflicts:      tik-module-welcome

%description -n tik-module-welcome-yuga
Welcome module for tik on Yuga Linux. Greets the user before installation.

%package -n tik-module-steam
Summary:        Tik module to setup Steam
Requires:       tik

%description -n tik-module-steam
This module is required for Steam to successfully boot up on first launch.

%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
Summary:        Tik module to prepare a factory reset
Requires:       tik

%description -n tik-module-prepare-factory-reset
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.

%prep
%autosetup -n tik-modules-yuga-%{version}

%build

%install
install -D -m 644 pre/10-welcome %{buildroot}%{_prefix}/lib/tik/modules/pre/10-welcome

install -D -m 644 pre/11-steam %{buildroot}%{_prefix}/lib/tik/modules/pre/11-steam
install -D -m 644 post/11-steam %{buildroot}%{_prefix}/lib/tik/modules/post/11-steam

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/16-prepare-factory-reset %{buildroot}%{_prefix}/lib/tik/modules/post/16-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-welcome-yuga
%{_prefix}/lib/tik/modules/pre/10-welcome

%files -n tik-module-steam
%{_prefix}/lib/tik/modules/pre/11-steam
%{_prefix}/lib/tik/modules/post/11-steam

%files -n tik-module-encrypt-yuga
%{_prefix}/lib/tik/modules/pre/15-encrypt
%{_prefix}/lib/tik/modules/post/15-encrypt

%files -n tik-module-prepare-factory-reset
%{_prefix}/lib/tik/modules/post/16-prepare-factory-reset

%files -n tik-module-mig-yuga
%{_prefix}/lib/tik/modules/pre/20-mig
%{_prefix}/lib/tik/modules/post/20-mig

%changelog
openSUSE Build Service is sponsored by