Skip to content

Commit

Permalink
Update kwin-system76-scheduler-integration.spec
Browse files Browse the repository at this point in the history
Signed-off-by: Dipta Biswas <[email protected]>
  • Loading branch information
hazel-bunny authored Apr 13, 2024
1 parent 673c253 commit 5816ec3
Showing 1 changed file with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
%global debug_package %nil

Name: kwin-system76-scheduler-integration
Name: kwin-system76-scheduler-integration

%global forgeurl https://github.com/maxiberta/%{name}
%global commit 093a269670275feaa240d02c712f1ec8b812fd80
%global date 20240320
%forgemeta

Version: 0.1
Release: 5%?dist
Summary: Notify the System76 Scheduler which app has focus so it can be prioritized
License: MIT
URL: %forgeurl
Source0: %forgesource
Source1: com.system76.Scheduler.dbusproxy.service
Requires: bash dbus-tools system76-scheduler kde-cli-tools systemd kf6-kconfig-core
Version: 0.1
Release: 5%?dist
Summary: Notify the System76 Scheduler which app has focus so it can be prioritized
License: MIT
URL: %forgeurl
Source0: %forgesource
Source1: com.system76.Scheduler.dbusproxy.service
Requires: bash dbus-tools system76-scheduler kde-cli-tools systemd kf6-kconfig-core
BuildRequires: systemd-rpm-macros

%description
Expand All @@ -31,9 +31,13 @@ via D-Bus, so it is prioritized.

%install
mkdir -p %buildroot%_datadir/kwin/scripts/%{name}/
mkdir -p %buildroot%_libexecdir/
mkdir -p %buildroot%_userunitdir/

cp -r contents %buildroot%_datadir/kwin/scripts/%{name}/
cp -r metadata.json %buildroot%_datadir/kwin/scripts/%{name}/
cp -r system76-scheduler-dbus-proxy.sh %buildroot%_libexecdir/

install -Dm644 %SOURCE1 %buildroot%_userunitdir/com.system76.Scheduler.dbusproxy.service

%post
Expand Down

0 comments on commit 5816ec3

Please sign in to comment.