1
0
patterns-moldavite/patterns-moldavite.spec

182 lines
4.4 KiB
RPMSpec

#
# spec file for package patterns-moldavite
#
# Copyright (c) 2023 Richard Brown
# Copyright (c) 2023 Project Moldavite
#
# 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://github.com/ProjectMoldavite/bugs
#
Name: patterns-moldavite
Version: 20230522
Release: 0
Summary: Moldavite Patterns
License: MIT
URL: https://github.com/ProjectMoldavite/Info
BuildArch: noarch
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
%package core
Summary: Moldavite Core Pattern
Group: Metapackages
Provides: pattern() = moldavite_core
# Requires: pattern() = microos_base_zypper
Requires: Mesa
Requires: bluez
# needed to ensure bluetooth is enabled at startup (glgo#GNOME/gnome-bluetooth#110)
Requires: bluez-auto-enable-devices
Requires: clipman
Requires: grim
Requires: jq
Requires: rofi-wayland
Requires: rofi-calc
Requires: pinentry-rofi
Requires: slurp
Requires: sway
Requires: swaybar
Requires: swaybg
Requires: swayidle
Requires: swaylock
Requires: swaynag
Requires: SwayNotificationCenter
Requires: wob
Requires: wtype
Requires: wl-clipboard
Requires: xdg-terminal-exec
Requires: xkeyboard-config
Recommends: wl-sunset
# Support for locale
Requires: glibc-locale
# Terminal stuff
Requires: foot
Requires: foot-themes
Requires: foot-extra-terminfo
Requires: imv
Requires: mc
Requires: vis
Requires: lua54-lpeg
Requires: lua54-editorconfig-core-lua
# Containers
Requires: podman
Requires: distrobox
Requires: fish
Requires: brightnessctl
Requires: pipewire
Requires: at-spi2-core
Requires: pamixer
Requires: pavucontrol
Requires: pipewire-pulseaudio
Requires: pulseaudio-utils
Requires: mpris-ctl
Requires: polkit-gnome
Requires: polkit-default-privs
Requires: xwayland
Requires: xdg-desktop-portal
Requires: xdg-desktop-portal-wlr
Requires: xdg-desktop-portal-gtk
Requires: xdg-utils
Requires: fwupd
# Add gnome-keyring for better desktop experience
# Requires: gnome-keyring
# Requires: gnome-keyring-pam
# Pass(1) set
Requires: pass-import
Requires: pass-otp
Requires: password-store
Requires: python3-keyring-pass
Requires: python3-pass-git-helper
#Flatpak to install desktop applications
Requires: flatpak
# Fonts
Requires: adobe-sourcecodepro-fonts
Requires: adobe-sourcesanspro-fonts
Requires: adobe-sourceserifpro-fonts
Requires: cantarell-fonts
Requires: dejavu-fonts
Requires: fira-code-fonts
Requires: fontawesome-fonts
# Requires: ghostscript-fonts-other
# Requires: ghostscript-fonts-std
Requires: google-carlito-fonts
# Requires: google-droid-fonts
Requires: google-inconsolata-fonts
Requires: google-noto-coloremoji-fonts
# Requires: google-opensans-fonts
Requires: google-roboto-fonts
Requires: noto-sans-fonts
# nmtui needed for jeos-firstboot, and good to have generally
Requires: NetworkManager
Requires: NetworkManager-wifi
Requires: NetworkManager-tui
Requires: NetworkManager-bluetooth
Requires: NetworkManager-openvpn
# For easy accessibility on the network
Requires: avahi
# For USB drives
Requires: udisks2
# Container stuff
Requires: podman
Requires: distrobox
Requires: netavark
Requires: system-group-wheel
# Transactional Update needs notifications
Requires: transactional-update-notifier
# Appearance: mostly to fix the gtk file picker's icons and allow us to set dark mode by default
Requires: adwaita-icon-theme
Requires: gtk3-metatheme-adwaita
Requires: metatheme-adwaita-common
%description core
Core packages required for Moldavite.
%prep
%build
%install
mkdir -p %{buildroot}%{_docdir}/patterns-moldavite/
PATTERNS='core'
for i in $PATTERNS; do
echo "This file marks the pattern $i to be installed." \
> %{buildroot}%{_docdir}/patterns-moldavite/${i}.txt
done
%post
%postun
%files core
%dir %{_docdir}/patterns-moldavite
%{_docdir}/patterns-moldavite/core.txt
%changelog