chore: Add spec file for steam_notif_daemon

This commit is contained in:
Kyle Gospodnetich 2023-07-30 13:54:46 -07:00
parent 112540c5f0
commit 256d6be15d
2 changed files with 66 additions and 0 deletions

View File

@ -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.

View File

@ -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 }}}