File reform-tools.spec of Package reform-tools
#
# spec file for package reform-tools
#
# Copyright: 2018-2024 Lukas F. Hartmann <lukas@mntre.com>
# 2022-2024 Johannes Schauer Marin Rodrigues <josch@debian.org>
#
# 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.
Name: reform-tools
Version: 1.65
Release: 0
License: GPL-3.0
Group: System
Summary: System tools for MNT Reform and MNT Pocket Reform
Url: https://source.mnt.re/reform/reform-tools
Source: %name-%version.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: help2man
BuildRequires: dkms
BuildRequires: python3-psutil
BuildRequires: python3-libusb1
Requires: python3
Requires: cmake
Requires: jq
Requires: alsa-utils
Requires: console-setup
Requires: fonts-reform-iosevka-term
Requires: gpiod
Requires: keyboard-configuration
Requires: mount
Requires: parted
Requires: procps
Requires: reform-branding
Requires: reform2-lpc-dkms
Requires: rsync
Requires: systemd
Requires: tzdata
%description
Utilities, scripts and configurations for the MNT Reform and MNT Pocket Reform
open hardware laptops with either i.MX8MQ, i.MX8MPlus, Banana PI CM4, LS1028A
or RK3588.
Contains system utilities to manage your installation as well as configuration
files for initramfs, flash-kernel, pulseaudio, alsa, u-boot-menu, udev and
NetworkManager.
%prep
%setup -q -n %{name}-%{version}
%build
make
%install
%make_install
%files
%dir /usr/lib/NetworkManager
%dir /usr/lib/NetworkManager/conf.d
%dir /usr/lib/sddm
%dir /usr/lib/sddm/sddm.conf.d
%dir /usr/lib/systemd/sleep.conf.d
%dir /usr/share/backgrounds
%dir /usr/share/flash-kernel
%dir /usr/share/flash-kernel/preboot.d
%dir /usr/share/flash-kernel/ubootenv.d
%dir /usr/share/glib-2.0
%dir /usr/share/glib-2.0/schemas
%dir /usr/share/initramfs-tools
%dir /usr/share/initramfs-tools/hooks
%dir /usr/share/initramfs-tools/modules.d
%dir /usr/share/initramfs-tools/scripts
%dir /usr/share/initramfs-tools/scripts/init-top
%dir /usr/share/kernel
%dir /usr/share/kernel/postinst.d
%dir /usr/share/pulseaudio
%dir /usr/share/pulseaudio/alsa-mixer
%dir /usr/share/pulseaudio/alsa-mixer/paths
%dir /usr/share/pulseaudio/alsa-mixer/profile-sets
%dir /usr/share/u-boot-menu
%dir /usr/share/u-boot-menu/conf.d
%dir /var/lib/alsa
%{_libexecdir}/reform-tools
/usr/share/reform-tools
/usr/share/reform-tools/machines
/usr/share/glib-2.0/schemas/20_reform.gschema.override
/usr/share/backgrounds/reform-mountains.jpg
/usr/share/kernel/postinst.d/zz-reform-tools
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-reform.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/reform.conf
/usr/share/initramfs-tools/hooks/reform
/usr/share/initramfs-tools/modules.d/reform.conf
/usr/share/initramfs-tools/scripts/init-top/reform
/usr/share/u-boot-menu/conf.d/reform.conf
/usr/share/flash-kernel/ubootenv.d/00reform2_ubootenv
/usr/share/flash-kernel/preboot.d/00reform2_preboot
%{_sbindir}/reform-flash-uboot
%{_sbindir}/reform-hw-setup
%{_sbindir}/reform-standby
%{_sbindir}/reform-config
%{_sbindir}/reform-boot-config
%{_sbindir}/reform-flash-rescue
%{_sbindir}/reform-mcu-tool
%{_sbindir}/reform-migrate
%{_sbindir}/reform-emmc-bootstrap
%{_sbindir}/reform-display-config
%{_sbindir}/reform-setup-encrypted-nvme
/usr/lib/NetworkManager/conf.d/default-wifi-powersave-off.conf
/usr/lib/dracut/dracut.conf.d/20-pocket-reform.conf
/usr/lib/sddm/sddm.conf.d/10-wayland.conf
/usr/lib/systemd/sleep.conf.d/reform-sleep.conf
/usr/lib/udev/rules.d/99-reform-audio.rules
/usr/lib/udev/rules.d/reform-ttymxc-wakeup.rules
/usr/lib/modprobe.d/reform.conf
%{_bindir}/reform-check
%{_bindir}/reform-help
%{_bindir}/reform-pavucontrol
%{_bindir}/reform-handbook
%{_bindir}/reform-chat
%{_bindir}/reform-compstat
%{_libexecdir}/reform-tools/reform-wallpaper.py
%{_libexecdir}/reform-tools/reform-tray.py
/var/lib/alsa/asound.state
%changelog