From a1e55faaf72834b6e3afe9d16ea6947847611284 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 24 Nov 2023 00:02:41 -0800 Subject: [PATCH] chore: Add new galileo-mura package --- spec_files/galileo-mura/LICENSE | 7 ++++ spec_files/galileo-mura/galileo-mura.spec | 41 +++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 spec_files/galileo-mura/LICENSE create mode 100644 spec_files/galileo-mura/galileo-mura.spec diff --git a/spec_files/galileo-mura/LICENSE b/spec_files/galileo-mura/LICENSE new file mode 100644 index 00000000..2bcfada4 --- /dev/null +++ b/spec_files/galileo-mura/LICENSE @@ -0,0 +1,7 @@ +Copyright 2023 Joshua Ashton for Valve Software + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/spec_files/galileo-mura/galileo-mura.spec b/spec_files/galileo-mura/galileo-mura.spec new file mode 100644 index 00000000..9e9456f8 --- /dev/null +++ b/spec_files/galileo-mura/galileo-mura.spec @@ -0,0 +1,41 @@ +Name: galileo-mura +Version: {{{ git_dir_version }}} +Release: 1%{?dist} +Summary: Utilities for setting and reading mura correction on Galileo +License: MIT +URL: https://github.com/ublue-os/bazzite + +Source: https://gitlab.com/evlaV/galileo-mura-extractor/-/archive/main/galileo-mura-extractor-main.tar.gz + +BuildRequires: systemd-rpm-macros +BuildRequires: gcc +BuildRequires: meson >= 0.54.0 +BuildRequires: ninja-build + +%description +Utilities for setting and reading mura correction on Galileo + +# Disable debug packages +%define debug_package %{nil} + +%prep +%autosetup -n galileo-mura-extractor-main + +%build +%meson +%meson_build + +%install +%meson_install + +# This lists all the files that are included in the rpm package and that +# are going to be installed into target system where the rpm is installed. +%files +%license LICENSE +%attr(4755, root, root) %{_bindir}/galileo-mura-extractor +%{_bindir}/galileo-mura-setup + +# Finally, changes from the latest release of your application are generated from +# your project's Git history. It will be empty until you make first annotated Git tag. +%changelog +{{{ git_dir_changelog }}}