From e9e7c0906c35dd0e220fda49e88f39b6617f64f5 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 30 Oct 2020 15:49:35 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/uresourced.git#c35e2a3e70bd532db06bc9b97d1daaadaf7dad3e --- .gitignore | 3 +++ README.md | 3 +++ sources | 1 + uresourced.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 README.md create mode 100644 sources create mode 100644 uresourced.spec diff --git a/.gitignore b/.gitignore index e69de29..2273f16 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/uresourced-v0.1.0.tar.bz2 +/uresourced-v0.2.0.tar.bz2 +/uresourced-v0.3.0.tar.bz2 diff --git a/README.md b/README.md new file mode 100644 index 0000000..1710937 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# uresourced + +The uresourced package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..76324f7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (uresourced-v0.3.0.tar.bz2) = 4b2d79432a60bda6519c4fb71125ce298eee2b23cbe72b6101554ef97ec1f56136afdd2f77efaa8f4371452c9a5b6ece6465fa00e2c3b538f8af605fefd6b45c diff --git a/uresourced.spec b/uresourced.spec new file mode 100644 index 0000000..1fa5a21 --- /dev/null +++ b/uresourced.spec @@ -0,0 +1,66 @@ +Name: uresourced +Version: 0.3.0 +Release: 1%{?dist} +Summary: Dynamically allocate resources to the active user + +License: LGPLv2+ +URL: https://gitlab.freedesktop.org/benzea/uresourced +Source0: https://gitlab.freedesktop.org/benzea/uresourced/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 + +BuildRequires: git +BuildRequires: systemd-devel +BuildRequires: systemd-rpm-macros +BuildRequires: meson +BuildRequires: gcc +BuildRequires: pkgconfig(gio-2.0) + +%description +This daemon dynamically assigns a resource allocation to the active +graphical user. If the user has an active graphical session managed +using systemd (e.g. GNOME), then the memory allocation will be used +to protect the sessions core processes (session.slice). + +%prep +%autosetup -S git -n %{name}-v%{version} + +%build +%meson +%meson_build + +%install +%meson_install + +%post +%systemd_post uresourced.service +%systemd_user_post uresourced.service + +%preun +%systemd_preun uresourced.service +%systemd_user_preun uresourced.service + +%postun +%systemd_postun uresourced.service +%systemd_user_postun uresourced.service + +%files +%license COPYING +%doc README +%doc NEWS.md +%config(noreplace) %{_sysconfdir}/uresourced.conf +%{_datadir}/dbus-1/system.d/org.freedesktop.UResourced.conf +%{_libexecdir}/uresourced +%{_unitdir}/* +%{_userunitdir}/* + +%changelog +* Thu Sep 24 2020 Benjamin Berg - 0.3.0-1 +- New upstream release fixing various issues + +* Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 2020 Benjamin Berg - 0.2.0-1 +- New upstream release enabling CPU/IO controllers for applications + +* Wed Jul 08 2020 Benjamin Berg - 0.1.0-1 +- Initial package (rhbz#1854898)