summaryrefslogtreecommitdiffstats
path: root/abrt.spec.in
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-06-08 17:27:42 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-06-08 17:27:42 +0200
commit0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e (patch)
treeb1249b7b96c908931f2c29f48f016da8be450429 /abrt.spec.in
parent7ac32c68dea1fe0c6efa6ac9bb0e8ad8716d7f7d (diff)
downloadabrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.zip
abrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.tar.gz
abrt-0e74f780545b1aa8f6a5277b3cfdc9887c37ed5e.tar.xz
split libreport to a separate package
Diffstat (limited to 'abrt.spec.in')
-rw-r--r--abrt.spec.in69
1 files changed, 5 insertions, 64 deletions
diff --git a/abrt.spec.in b/abrt.spec.in
index d36a4d3..ac71a12 100644
--- a/abrt.spec.in
+++ b/abrt.spec.in
@@ -36,6 +36,7 @@ BuildRequires: nss-devel
BuildRequires: texinfo
BuildRequires: asciidoc
BuildRequires: xmlto
+BuildRequires: libreport-devel
# for rhel6
%if 0%{?rhel} >= 6
@@ -49,7 +50,6 @@ Requires: systemd-units
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{name}-libs = %{version}-%{release}
-Requires: libreport = %{version}-%{release}
Requires(pre): shadow-utils
Obsoletes: abrt-plugin-sqlite3 > 0.0.1
# required for transition from 1.1.13, can be removed after some time
@@ -62,44 +62,6 @@ Obsoletes: abrt-plugin-sosreport > 0.0.1
to create a bug report with all informations needed by maintainer to fix it.
It uses plugin system to extend its functionality.
-%package -n libreport
-Summary: Libraries for reporting crashes to different targets.
-Group: System Environment/Libraries
-
-%description -n libreport
-Libraries providing API for reporting different problems in applications
-to different bug targets like bugzilla, ftp, trac, etc...
-
-%package -n libreport-devel
-Summary: Development libraries and headers for libreport.
-Group: Development/Libraries
-
-%description -n libreport-devel
-Development libraries and headers for libreport.
-
-%package -n libreport-python
-Summary: Python bindings for report-libs.
-# Is group correct here? -
-Group: System Environment/Libraries
-Requires: libreport = %{version}-%{release}
-Provides: report
-# FIXME: just a workaround to make it work with python-meh, but we should probably provide -newt UI asap
-Provides: report-newt
-Obsoletes: report > 0.20
-
-%description -n libreport-python
-Python bindings for report-libs.
-
-%package -n libreport-gtk
-Summary: GTK frontend for libreport
-Group: User Interface/Desktops
-Requires: libreport = %{version}-%{release}
-Provides: report-gtk
-Obsoletes: report-gtk > 0.20
-
-%description -n libreport-gtk
-Applications for reporting bugs using libreport backend.
-
%package libs
Summary: Libraries for %{name}
Group: System Environment/Libraries
@@ -119,7 +81,7 @@ Development libraries and headers for %{name}.
Summary: %{name}'s gui
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
-Requires: libreport-gtk
+BuildRequires: libreport-gtk-devel
# we used to have abrt-applet, now abrt-gui includes it:
Provides: abrt-applet = %{version}-%{release}
Obsoletes: abrt-applet < 0.0.5
@@ -405,10 +367,6 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun libs -p /sbin/ldconfig
-%post -n libreport -p /sbin/ldconfig
-%postun -n libreport -p /sbin/ldconfig
-
-
%postun gui
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
@@ -450,7 +408,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%dir %attr(0775, abrt, abrt) %{_localstatedir}/run/%{name}
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
%ghost %attr(0644, -, -) %{_localstatedir}/run/abrtd.pid
-%dir %{_sysconfdir}/%{name}
+
+# libreport owns /etc/abrt
+# %dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/plugins
%dir %{_sysconfdir}/%{name}/events.d
%dir %{_sysconfdir}/%{name}/events
@@ -463,24 +423,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man1/abrt-retrace-client.1.gz
%{_datadir}/dbus-1/system-services/com.redhat.abrt.service
-%files -n libreport
-%defattr(-,root,root,-)
-%{_libdir}/libreport.so.*
-
-%files -n libreport-devel
-%defattr(-,root,root,-)
-%{_includedir}/report/*
-%{_libdir}/libreport.so
-
-%files -n libreport-python
-%defattr(-,root,root,-)
-%{python_sitearch}/report/*
-
-%files -n libreport-gtk
-%defattr(-,root,root,-)
-%{_bindir}/bug-reporting-wizard
-%{_libdir}/libreportgtk.so.*
-
%files libs
%defattr(-,root,root,-)
%{_libdir}/libabrt*.so.*
@@ -493,7 +435,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_includedir}/btparser/*
%{_libdir}/libbtparser.so
#FIXME: this should go to libreportgtk-devel package
-%{_libdir}/libreportgtk.so
%{_libdir}/pkgconfig/*
%files gui