From 256d6be15df54ac1f9a849d76ae5962106843300 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 30 Jul 2023 13:54:46 -0700 Subject: [PATCH] chore: Add spec file for steam_notif_daemon --- spec_files/steam_notif_daemon/LICENSE | 21 +++++++++ .../steam_notif_daemon.spec | 45 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 spec_files/steam_notif_daemon/LICENSE create mode 100644 spec_files/steam_notif_daemon/steam_notif_daemon.spec diff --git a/spec_files/steam_notif_daemon/LICENSE b/spec_files/steam_notif_daemon/LICENSE new file mode 100644 index 00000000..736d2bcf --- /dev/null +++ b/spec_files/steam_notif_daemon/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Joshua Ashton + +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. \ No newline at end of file diff --git a/spec_files/steam_notif_daemon/steam_notif_daemon.spec b/spec_files/steam_notif_daemon/steam_notif_daemon.spec new file mode 100644 index 00000000..422ef845 --- /dev/null +++ b/spec_files/steam_notif_daemon/steam_notif_daemon.spec @@ -0,0 +1,45 @@ +Name: steam_notif_daemon +Version: {{{ git_dir_version }}} +Release: 1%{?dist} +Summary: Simple XDG D-Bus Notification wrapper +License: MIT +URL: https://github.com/ublue-os/bazzite + +Source: https://gitlab.com/evlaV/%{name}/-/archive/steam/%{name}-steam.tar.gz + +Requires: curl +Requires: systemd-libs + +BuildRequires: systemd-rpm-macros +BuildRequires: gcc +BuildRequires: meson >= 0.54.0 +BuildRequires: ninja-build +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libcurl) + +%description +Simple XDG D-Bus Notification wrapper + +# Disable debug packages +%define debug_package %{nil} + +%prep +%autosetup -n %{name}-steam + +%build +%meson -Dsd-bus-provider=libsystemd +%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 +%{_bindir}/%{name} + +# 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 }}}