Blame SPECS/low-memory-monitor.spec

0b7dad
Name:           low-memory-monitor
0b7dad
Version:        2.1
0b7dad
Release:        4%{?dist}
0b7dad
Summary:        Monitors low-memory conditions
0b7dad
0b7dad
License:        GPLv3+
0b7dad
URL:            https://gitlab.freedesktop.org/hadess/low-memory-monitor
0b7dad
Source0:        https://gitlab.freedesktop.org/hadess/low-memory-monitor/uploads/9c201566253ed52a9054f514f9904e48/low-memory-monitor-2.1.tar.xz
0b7dad
0b7dad
BuildRequires:  meson
0b7dad
BuildRequires:  gcc
0b7dad
BuildRequires:  pkgconfig(gudev-1.0)
0b7dad
BuildRequires:  pkgconfig(gio-2.0)
0b7dad
BuildRequires:  gtk-doc
0b7dad
BuildRequires:  systemd
0b7dad
0b7dad
%description
0b7dad
The Low Memory Monitor is an early boot daemon that will monitor memory
0b7dad
pressure information coming from the kernel, and, first, send a signal
0b7dad
to user-space applications when memory is running low, and then activate
0b7dad
the kernel's OOM killer when memory is running really low.
0b7dad
0b7dad
%package doc
0b7dad
Summary:        Documentation for %{name}
0b7dad
BuildArch:      noarch
0b7dad
Requires:       %{name} = %{version}-%{release}
0b7dad
0b7dad
%description doc
0b7dad
0b7dad
This package contains the documentation for %{name}.
0b7dad
0b7dad
%prep
0b7dad
%autosetup
0b7dad
0b7dad
0b7dad
%build
0b7dad
%meson -Dgtk_doc=true -Dtrigger_kernel_oom=false
0b7dad
%meson_build
0b7dad
0b7dad
0b7dad
%install
0b7dad
%meson_install
0b7dad
0b7dad
0b7dad
%post
0b7dad
%systemd_post low-memory-monitor.service
0b7dad
0b7dad
%preun
0b7dad
%systemd_preun low-memory-monitor.service
0b7dad
0b7dad
%postun
0b7dad
%systemd_postun_with_restart low-memory-monitor.service
0b7dad
0b7dad
%triggerun -- low-memory-monitor < 2.0-6
0b7dad
0b7dad
# This is for upgrades from previous versions before low-memory-monitor became part
0b7dad
# of the system daemons.
0b7dad
systemctl --no-reload preset low-memory-monitor.service &>/dev/null || :
0b7dad
0b7dad
%files
0b7dad
%license COPYING
0b7dad
%doc NEWS README.md
0b7dad
%{_unitdir}/low-memory-monitor.service
0b7dad
%{_libexecdir}/low-memory-monitor
0b7dad
%{_datadir}/dbus-1/system.d/org.freedesktop.LowMemoryMonitor.conf
0b7dad
0b7dad
%files doc
0b7dad
%dir %{_datadir}/gtk-doc/
0b7dad
%dir %{_datadir}/gtk-doc/html/
0b7dad
%{_datadir}/gtk-doc/html/%{name}/
0b7dad
0b7dad
%changelog
0b7dad
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.1-4
0b7dad
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0b7dad
  Related: rhbz#1991688
0b7dad
0b7dad
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1-3
0b7dad
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0b7dad
0b7dad
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
0b7dad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0b7dad
0b7dad
* Tue Nov 17 2020 Bastien Nocera <bnocera@redhat.com> - 2.1-1
0b7dad
+ low-memory-monitor-2.1-1
0b7dad
- Update to 2.1
0b7dad
- Don't poke at sysrq proc file (#1898524)
0b7dad
0b7dad
* Wed Oct 28 2020 Bastien Nocera <bnocera@redhat.com> - 2.0-6
0b7dad
+ low-memory-monitor-2.0-6
0b7dad
- Reload presets when updating from an older version to enable daemon
0b7dad
0b7dad
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-5
0b7dad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0b7dad
0b7dad
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-4
0b7dad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0b7dad
0b7dad
* Tue Nov 19 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-3
0b7dad
+ low-memory-monitor-2.0-3
0b7dad
- Disable OOM killer by default for now
0b7dad
- Import into Fedora (#1769843)
0b7dad
0b7dad
* Mon Nov 18 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-2
0b7dad
+ low-memory-monitor-2.0-2
0b7dad
- Rename -docs subpackage to -doc
0b7dad
0b7dad
* Thu Nov 14 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-1
0b7dad
+ low-memory-monitor-2.0-1
0b7dad
- Update to 2.0
0b7dad
0b7dad
* Thu Nov 07 2019 Bastien Nocera <bnocera@redhat.com> - 1.1-2
0b7dad
+ low-memory-monitor-1.1-2
0b7dad
- Add missing requires for the main package in the docs one
0b7dad
- Add config tag for low-memory-monitor.conf
0b7dad
0b7dad
* Thu Nov 07 2019 Bastien Nocera <bnocera@redhat.com> - 1.1-1
0b7dad
+ low-memory-monitor-1.1-1
0b7dad
- Initial Fedora packaging