|
|
458ab8 |
Name: uresourced
|
|
|
458ab8 |
Version: 0.4.0
|
|
|
458ab8 |
Release: 3%{?dist}
|
|
|
458ab8 |
Summary: Dynamically allocate resources to the active user
|
|
|
458ab8 |
|
|
|
458ab8 |
License: LGPLv2+
|
|
|
458ab8 |
URL: https://gitlab.freedesktop.org/benzea/uresourced
|
|
|
458ab8 |
Source0: https://gitlab.freedesktop.org/benzea/uresourced/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
|
|
|
458ab8 |
|
|
|
458ab8 |
BuildRequires: git
|
|
|
458ab8 |
BuildRequires: systemd-devel
|
|
|
458ab8 |
BuildRequires: systemd-rpm-macros
|
|
|
458ab8 |
BuildRequires: meson
|
|
|
458ab8 |
BuildRequires: gcc
|
|
|
458ab8 |
BuildRequires: pkgconfig(gio-2.0)
|
|
|
458ab8 |
|
|
|
458ab8 |
%description
|
|
|
458ab8 |
This daemon dynamically assigns a resource allocation to the active
|
|
|
458ab8 |
graphical user. If the user has an active graphical session managed
|
|
|
458ab8 |
using systemd (e.g. GNOME), then the memory allocation will be used
|
|
|
458ab8 |
to protect the sessions core processes (session.slice).
|
|
|
458ab8 |
|
|
|
458ab8 |
%prep
|
|
|
458ab8 |
%autosetup -S git -n %{name}-v%{version}
|
|
|
458ab8 |
|
|
|
458ab8 |
%build
|
|
|
458ab8 |
%meson
|
|
|
458ab8 |
%meson_build
|
|
|
458ab8 |
|
|
|
458ab8 |
%install
|
|
|
458ab8 |
%meson_install
|
|
|
458ab8 |
|
|
|
458ab8 |
%post
|
|
|
458ab8 |
%systemd_post uresourced.service
|
|
|
458ab8 |
%systemd_user_post uresourced.service
|
|
|
458ab8 |
|
|
|
458ab8 |
%preun
|
|
|
458ab8 |
%systemd_preun uresourced.service
|
|
|
458ab8 |
%systemd_user_preun uresourced.service
|
|
|
458ab8 |
|
|
|
458ab8 |
%postun
|
|
|
458ab8 |
%systemd_postun uresourced.service
|
|
|
458ab8 |
%systemd_user_postun uresourced.service
|
|
|
458ab8 |
|
|
|
458ab8 |
%files
|
|
|
458ab8 |
%license COPYING
|
|
|
458ab8 |
%doc README
|
|
|
458ab8 |
%doc NEWS.md
|
|
|
458ab8 |
%config(noreplace) %{_sysconfdir}/uresourced.conf
|
|
|
458ab8 |
%{_datadir}/dbus-1/system.d/org.freedesktop.UResourced.conf
|
|
|
458ab8 |
%{_libexecdir}/uresourced
|
|
|
458ab8 |
%{_libexecdir}/cgroupify
|
|
|
458ab8 |
%{_unitdir}/*
|
|
|
458ab8 |
%{_userunitdir}/*
|
|
|
458ab8 |
|
|
|
458ab8 |
%changelog
|
|
|
458ab8 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-3
|
|
|
458ab8 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
458ab8 |
Related: rhbz#1991688
|
|
|
458ab8 |
|
|
|
458ab8 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.0-2
|
|
|
458ab8 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
458ab8 |
|
|
|
458ab8 |
* Tue Mar 30 2021 Benjamin Berg <bberg@redhat.com> - 0.4.0-1
|
|
|
458ab8 |
- New upstream release including cgroupify
|
|
|
458ab8 |
Resolves: #1931938
|
|
|
458ab8 |
Resolves: #1931934
|
|
|
458ab8 |
|
|
|
458ab8 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
458ab8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
458ab8 |
|
|
|
458ab8 |
* Thu Sep 24 2020 Benjamin Berg <bberg@redhat.com> - 0.3.0-1
|
|
|
458ab8 |
- New upstream release fixing various issues
|
|
|
458ab8 |
|
|
|
458ab8 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
|
458ab8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
458ab8 |
|
|
|
458ab8 |
* Wed Jul 22 2020 Benjamin Berg <bberg@redhat.com> - 0.2.0-1
|
|
|
458ab8 |
- New upstream release enabling CPU/IO controllers for applications
|
|
|
458ab8 |
|
|
|
458ab8 |
* Wed Jul 08 2020 Benjamin Berg <bberg@redhat.com> - 0.1.0-1
|
|
|
458ab8 |
- Initial package (rhbz#1854898)
|