55 lines
1.2 KiB
RPMSpec
55 lines
1.2 KiB
RPMSpec
|
|
%global git_commit_hash c109552a1b48f893ce5c29c157c70c6a22f86e1c
|
||
|
|
|
||
|
|
Name: kdump-anaconda-addon
|
||
|
|
Version: 005
|
||
|
|
Release: 2
|
||
|
|
Summary: Anaconda addon for configuring kdump.
|
||
|
|
License: GPLv2
|
||
|
|
URL: https://github.com/daveyoung/kdump-anaconda-addon
|
||
|
|
Source0: https://github.com/daveyoung/kdump-anaconda-addon/archive/%{git_commit_hash}/kdump-anaconda-addon-c109552.tar.gz
|
||
|
|
|
||
|
|
BuildRequires: intltool gettext
|
||
|
|
Requires: anaconda >= 29.24 hicolor-icon-theme
|
||
|
|
|
||
|
|
Obsoletes: kexec-tools-anaconda-addon < 2.0.17-9
|
||
|
|
Provides: kexec-tools-anaconda-addon = %{version}-%{release}
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description
|
||
|
|
This is an anaconda addon for configuring kdump. To use, copy the
|
||
|
|
com_redhat_kdump directory into /usr/share/anaconda/addons on your
|
||
|
|
installation media.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{git_commit_hash}
|
||
|
|
|
||
|
|
%build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%find_lang kdump-anaconda-addon
|
||
|
|
|
||
|
|
%check
|
||
|
|
|
||
|
|
%pre
|
||
|
|
|
||
|
|
%preun
|
||
|
|
|
||
|
|
%post
|
||
|
|
|
||
|
|
%postun
|
||
|
|
|
||
|
|
%files -f kdump-anaconda-addon.lang
|
||
|
|
%doc README
|
||
|
|
%license LICENSE
|
||
|
|
%{_datadir}/anaconda/addons/com_redhat_kdump
|
||
|
|
%{_datadir}/icons/hicolor/scalable/apps/kdump.svg
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 005-2
|
||
|
|
- Package rebuild.
|
||
|
|
|
||
|
|
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 005-1
|
||
|
|
- Package init.
|