Add back cli desktop console-notification sub packages

This commit is contained in:
lingsheng 2021-05-20 14:31:39 +08:00
parent aee785cd41
commit febf95aa7a

View File

@ -1,6 +1,6 @@
Name: abrt Name: abrt
Version: 2.14.2 Version: 2.14.2
Release: 3 Release: 4
Summary: A tool for automatic bug detection and reporting Summary: A tool for automatic bug detection and reporting
License: GPL-2.0 and GPL-2.0+ License: GPL-2.0 and GPL-2.0+
URL: https://github.com/abrt/abrt/ URL: https://github.com/abrt/abrt/
@ -178,6 +178,27 @@ Obsoletes: %{name}-cli-ng < 2.12.2
This package provides a simple command line client for abrt event reports This package provides a simple command line client for abrt event reports
in command line environment. in command line environment.
%package cli
Summary: Make easy default installation on non-graphical environments for virtual package
Requires: %{name} = %{version}-%{release} abrt-tui abrt-addon-kerneloops
Requires: abrt-addon-pstoreoops abrt-addon-vmcore abrt-addon-ccpp python3-abrt-addon
Requires: abrt-addon-xorg
%description cli
This virtual package is used to install all necessary packages for usage from command line
environment.
%package desktop
Summary: Make easy default installation on desktop environments for virtual package
Requires: %{name} = %{version}-%{release} abrt-addon-kerneloops abrt-addon-pstoreoops
Requires: abrt-addon-vmcore abrt-addon-ccpp python3-abrt-addon abrt-addon-xorg
Requires: gdb-headless abrt-gui gnome-abrt
Provides: bug-buddy = %{version}-%{release}
%description desktop
This virtual pacakge is used to install all necessary packages for usage from desktop
environment.
%package atomic %package atomic
Summary: Package to make easy default installation on Atomic hosts. Summary: Package to make easy default installation on Atomic hosts.
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -214,6 +235,14 @@ Requires: %{name} = %{version}-%{release} python3-%{name} = %{version}-%{releas
%description -n python3-abrt-doc %description -n python3-abrt-doc
This package provides examples and documentation for ABRT Python3 API. This package provides examples and documentation for ABRT Python3 API.
%package console-notification
Summary: Console notification script of abrt
Requires: %{name} = %{version}-%{release} %{name}-cli = %{version}-%{release}
%description console-notification
This pacakge provides small script which prints a count of detected problems when
someone logs in to the shell.
%prep %prep
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex %global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
@ -419,7 +448,6 @@ killall abrt-dbus >/dev/null 2>&1 || :
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket %ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid %ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
%exclude %{_infodir}/dir %exclude %{_infodir}/dir
%exclude %{_sysconfdir}/profile.d/abrt-console-notification.sh
%files libs %files libs
%{_libdir}/libabrt.so.* %{_libdir}/libabrt.so.*
@ -428,6 +456,8 @@ killall abrt-dbus >/dev/null 2>&1 || :
%dir %{_datadir}/%{name} %dir %{_datadir}/%{name}
%{_datadir}/augeas/lenses/abrt.aug %{_datadir}/augeas/lenses/abrt.aug
%files cli
%files devel %files devel
%doc apidoc/html/*.{html,png,css,js} %doc apidoc/html/*.{html,png,css,js}
%{_includedir}/abrt/{abrt-dbus,hooklib,libabrt,problem_api}.h %{_includedir}/abrt/{abrt-dbus,hooklib,libabrt,problem_api}.h
@ -552,6 +582,8 @@ killall abrt-dbus >/dev/null 2>&1 || :
%{_bindir}/abrt-cli %{_bindir}/abrt-cli
%{python3_sitelib}/abrtcli/ %{python3_sitelib}/abrtcli/
%files desktop
%files atomic %files atomic
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf %config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
%{_bindir}/abrt-action-save-package-data %{_bindir}/abrt-action-save-package-data
@ -574,10 +606,16 @@ killall abrt-dbus >/dev/null 2>&1 || :
%files -n python3-abrt-doc %files -n python3-abrt-doc
%{python3_sitelib}/problem_examples %{python3_sitelib}/problem_examples
%files console-notification
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
%files help %files help
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Wed May 19 2021 lingsheng <lingsheng@huawei.com> - 2.14.2-4
- Add back cli desktop console-notification sub packages
* Thu Dec 03 2020 Ge Wang <wangge20@huawei.com> - 2.14.2-3 * Thu Dec 03 2020 Ge Wang <wangge20@huawei.com> - 2.14.2-3
- modify source0 url - modify source0 url