2020-07-01 13:05:03 +00:00
|
|
|
Name: uresourced
|
2021-03-30 19:56:53 +00:00
|
|
|
Version: 0.4.0
|
2021-07-23 20:08:00 +00:00
|
|
|
Release: 2%{?dist}
|
2020-07-01 13:05:03 +00:00
|
|
|
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
|
2020-09-24 14:23:35 +00:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.UResourced.conf
|
2020-07-01 13:05:03 +00:00
|
|
|
%{_libexecdir}/uresourced
|
2021-03-30 19:56:53 +00:00
|
|
|
%{_libexecdir}/cgroupify
|
2020-07-01 13:05:03 +00:00
|
|
|
%{_unitdir}/*
|
|
|
|
%{_userunitdir}/*
|
|
|
|
|
|
|
|
%changelog
|
2021-07-23 20:08:00 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-30 19:56:53 +00:00
|
|
|
* Tue Mar 30 2021 Benjamin Berg <bberg@redhat.com> - 0.4.0-1
|
|
|
|
- New upstream release including cgroupify
|
|
|
|
Resolves: #1931938
|
|
|
|
Resolves: #1931934
|
|
|
|
|
2021-01-27 22:45:20 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-24 14:23:35 +00:00
|
|
|
* Thu Sep 24 2020 Benjamin Berg <bberg@redhat.com> - 0.3.0-1
|
|
|
|
- New upstream release fixing various issues
|
|
|
|
|
2020-07-29 13:23:08 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-22 08:34:19 +00:00
|
|
|
* Wed Jul 22 2020 Benjamin Berg <bberg@redhat.com> - 0.2.0-1
|
|
|
|
- New upstream release enabling CPU/IO controllers for applications
|
|
|
|
|
2020-07-01 13:05:03 +00:00
|
|
|
* Wed Jul 08 2020 Benjamin Berg <bberg@redhat.com> - 0.1.0-1
|
|
|
|
- Initial package (rhbz#1854898)
|