summaryrefslogtreecommitdiffstats
path: root/abrt.spec.in
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-06-17 12:02:51 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-06-17 12:02:51 +0200
commit10028830ab9be6ec1a154d2f9d9a7a66c94ae7b4 (patch)
tree5b685977c96522ba2db59a03a2585fb458bc20ae /abrt.spec.in
parente2c476fc078f3afc324c4a3e8f0941eb8101b7bf (diff)
downloadabrt-10028830ab9be6ec1a154d2f9d9a7a66c94ae7b4.zip
abrt-10028830ab9be6ec1a154d2f9d9a7a66c94ae7b4.tar.gz
abrt-10028830ab9be6ec1a154d2f9d9a7a66c94ae7b4.tar.xz
spec: reinstate abrt-cli to keep compatibility
- it contains just a symlink to report-cli
Diffstat (limited to 'abrt.spec.in')
-rw-r--r--abrt.spec.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/abrt.spec.in b/abrt.spec.in
index a5fd6b1..2f53f76 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -172,6 +172,19 @@ Provides: gnome-python2-bugbuddy
This package contains python hook and python analyzer plugin for handling
uncaught exception in python programs.
+%package cli
+Summary: %{name}'s command line interface
+Group: User Interface/Desktops
+Requires: %{name} = %{version}-%{release}
+Requires: libreport-cli
+Requires: abrt-addon-kerneloops
+Requires: abrt-addon-ccpp, abrt-addon-python
+Requires: abrt-plugin-bugzilla, abrt-plugin-logger
+
+%description cli
+This package contains simple command line client for controlling abrt daemon over
+the sockets.
+
%package desktop
Summary: Virtual package to install all necessary packages for usage from desktop environment
Group: User Interface/Desktops
@@ -222,6 +235,8 @@ mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di
mkdir -p $RPM_BUILD_ROOT/var/run/abrt
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload
+# compat before we split abrt-cli and report-cli
+ln -s %{_bindir}/report-cli $RPM_BUILD_ROOT/%{_bindir}/abrt-cli
desktop-file-install \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
@@ -495,6 +510,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{python_site}/abrt*.py*
%{python_site}/abrt.pth
+%files cli
+%defattr(-,root,root,-)
+%{_bindir}/abrt-cli
+
%files desktop
%defattr(-,root,root,-)