+# TODO: teach build system to use python3.2+ __pycache__
+#
+# Conditional build:
+%bcond_without tests # "make check"
+#
Summary: Generic library for reporting various problems
+Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów
Name: libreport
-Version: 2.0.16
-Release: 3
-License: GPL v2
+Version: 2.2.0
+Release: 1
+License: GPL v2+
Group: Libraries
Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: b8aa7475152dc8420d7dd0c71752b5ed
+# Source0-md5: 09af2b13375ed2d6288b86ce6de8b182
Patch0: format-security.patch
URL: https://fedorahosted.org/abrt/
BuildRequires: asciidoc
-BuildRequires: btparser-devel
+%{?with_tests:BuildRequires: augeas}
+BuildRequires: augeas-devel
BuildRequires: curl-devel
BuildRequires: dbus-devel
BuildRequires: desktop-file-utils
-BuildRequires: gettext
-BuildRequires: gtk+3-devel
-BuildRequires: intltool
+BuildRequires: gettext-devel >= 0.17
+BuildRequires: glib2-devel >= 1:2.21
+BuildRequires: gtk+3-devel >= 3.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: json-c-devel
BuildRequires: libproxy-devel
BuildRequires: libtar-devel
BuildRequires: libtool
-BuildRequires: libxml2-devel
+BuildRequires: libxml2-devel >= 2
BuildRequires: newt-devel
BuildRequires: nss-devel
-BuildRequires: python-devel
-BuildRequires: texinfo
+BuildRequires: pkgconfig
+BuildRequires: python-devel >= 2
+BuildRequires: python3-devel >= 3
+BuildRequires: rpmbuild(macros) >= 1.612
+BuildRequires: satyr-devel
+# libsystemd-journal
+BuildRequires: systemd-devel
BuildRequires: xmlrpc-c-client-devel
BuildRequires: xmlrpc-c-devel
BuildRequires: xmlto
+Requires: glib2 >= 1:2.21
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Libraries providing API for reporting different problems in
applications to different bug targets like Bugzilla, ftp, trac, etc...
-%package common
-Summary: Common files for %{name} library
-Summary(pl.UTF-8): Wspólne pliki biblioteki %{name}
-Group: Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description common
-Common files for %{name} library.
-
-%description common -l pl.UTF-8
-Wspólne pliki biblioteki %{name}.
+%description -l pl.UTF-8
+Biblioteki udostępniające API do zgłaszania różnych programów w
+aplikacjach do różnych docelowych systemów raportowania błędów, takich
+jak Bugzilla, ftp, trac...
%package devel
-Summary: Header files for %{name} library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
+Summary: Header files for libreport libraries
+Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.21
%description devel
-Header files for %{name} library.
+Header files for libreport libraries.
%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki %{name}.
+Pliki nagłówkowe bibliotek libreport.
%package web
Summary: Library providing network API for libreport
+Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport
Group: Libraries
Requires: %{name} = %{version}-%{release}
%description web
-Library providing network API for libreport
+Library providing network API for libreport.
+
+%description web -l pl.UTF-8
+Biblioteka zapewniająca API sieciowe dla libreport.
%package web-devel
Summary: Development headers for libreport-web
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web
Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
Requires: %{name}-web = %{version}-%{release}
+Requires: curl-devel
+Requires: json-c-devel
+Requires: libproxy-devel
+Requires: libxml2-devel >= 2
+Requires: satyr-devel
+Requires: xmlrpc-c-client-devel
+Requires: xmlrpc-c-devel
%description web-devel
-Development headers for libreport-web
+Development headers for libreport-web.
-%package python
-Summary: Python bindings for report-libs
-Group: Libraries
+%description web-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libreport-web.
+
+%package -n python-%{name}
+Summary: Python 2 bindings for libreport libraries
+Summary(pl.UTF-8): Wiązania Pythona 2 do bibliotek libreport
+Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
+Provides: %{name}-python = %{version}-%{release}
+Obsoletes: libreport-python < 2.1.3-1
-%description python
-Python bindings for report-libs.
+%description -n python-%{name}
+Python 2 bindings for libreport libraries.
+
+%description -n python-%{name} -l pl.UTF-8
+Wiązania Pythona 2 do bibliotek libreport
+
+%package -n python3-%{name}
+Summary: Python 3 bindings for libreport libraries
+Summary(pl.UTF-8): Wiązania Pythona 3 do bibliotek libreport
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+
+%description -n python3-%{name}
+Python 3 bindings for libreport libraries.
+
+%description -n python3-%{name} -l pl.UTF-8
+Wiązania Pythona 3 do bibliotek libreport
%package cli
-Summary: %{name}'s command line interface
-Group: X11/Applications
+Summary: libreport's command line interface
+Summary(pl.UTF-8): Interfejs linii poleceń libreport
+Group: Applications
Requires: %{name} = %{version}-%{release}
%description cli
This package contains simple command line tool for working with
-problem dump reports
+problem dump reports.
+
+%description cli -l pl.UTF-8
+Ten pakiet zawiera proste, działające z linii poleceń narzędzie do
+pracy ze zgłoszeniami zawierającymi zrzuty problemów.
%package newt
-Summary: %{name}'s newt interface
-Group: X11/Applications
+Summary: libreport's newt interface
+Summary(pl.UTF-8): Interfejs newt libreport
+Group: Applications
Requires: %{name} = %{version}-%{release}
%description newt
-This package contains a simple newt application for reporting bugs
+This package contains a simple newt application for reporting bugs.
+
+%description newt -l pl.UTF-8
+Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów.
%package gtk
-Summary: GTK front-end for libreport
+Summary: GTK+ front-end for libreport
+Summary(pl.UTF-8): Interfejs GTK+ libreport
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
%description gtk
-Applications for reporting bugs using libreport backend
+Application for reporting bugs using libreport backend.
+
+%description gtk -l pl.UTF-8
+Aplikacja do zgłaszania błędów przy użyciu libreport.
%package gtk-devel
-Summary: Development libraries and headers for libreport
+Summary: Development headers for libreport-gtk
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk
Group: Development/Libraries
Requires: %{name}-gtk = %{version}-%{release}
%description gtk-devel
-Development libraries and headers for libreport-gtk
+Development headers for libreport-gtk.
+
+%description gtk-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libreport-gtk.
+
+%package plugin-bugzilla
+Summary: libreport's bugzilla plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Obsoletes: abrt-plugin-bugzilla < 2.0.4
+
+%description plugin-bugzilla
+Plugin to report bugs into the bugzilla.
+
+%description plugin-bugzilla -l pl.UTF-8
+Wtyczka zgłaszająca problemy do systemu Bugzilla.
%package plugin-kerneloops
-Summary: %{name}'s kerneloops reporter plugin
+Summary: libreport's kerneloops reporter plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops)
Group: Libraries
Requires: %{name} = %{version}-%{release}
Requires: curl
This package contains plugin which sends kernel crash information to
specified server, usually to kerneloops.org.
+%description plugin-kerneloops -l pl.UTF-8
+Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na
+określony serwer, zwykle kerneloops.org.
+
%package plugin-logger
-Summary: %{name}'s logger reporter plugin
+Summary: libreport's logger reporter plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu
Group: Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-logger < 2.0.4
%description plugin-logger
The simple reporter plugin which writes a report to a specified file.
+%description plugin-logger -l pl.UTF-8
+Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym
+pliku.
+
%package plugin-mailx
-Summary: %{name}'s mailx reporter plugin
+Summary: libreport's mailx reporter plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną
Group: Libraries
Requires: %{name} = %{version}-%{release}
Requires: mailx
The simple reporter plugin which sends a report via mailx to a
specified email address.
-%package plugin-bugzilla
-Summary: %{name}'s bugzilla plugin
-Group: Libraries
-Requires: %{name} = %{version}-%{release}
-Obsoletes: abrt-plugin-bugzilla < 2.0.4
+%description plugin-mailx -l pl.UTF-8
+Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
+adres e-mail przy użyciu programu mailx.
-%package plugin-ureport
-Summary: %{name}'s micro report plugin
+%package plugin-reportuploader
+Summary: libreport's reportuploader plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP
Group: Libraries
-BuildRequires: json-c-devel
Requires: %{name} = %{version}-%{release}
+Obsoletes: abrt-plugin-reportuploader < 2.0.4
-%description plugin-ureport
-Uploads micro-report to abrt server
+%description plugin-reportuploader
+Plugin to report bugs into anonymous FTP site associated with
+ticketing system.
-%description plugin-bugzilla
-Plugin to report bugs into the bugzilla.
+%description plugin-reportuploader -l pl.UTF-8
+Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z
+systemem biletów.
%package plugin-rhtsupport
-Summary: %{name}'s RHTSupport plugin
+Summary: libreport's RHTSupport plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport
Group: Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-rhtsupport < 2.0.4
%description plugin-rhtsupport
Plugin to report bugs into RH support system.
-%package plugin-reportuploader
-Summary: %{name}'s reportuploader plugin
+%description plugin-rhtsupport -l pl.UTF-8
+Wtyczka zgłaszająca problemy do systemu obsługi RH.
+
+%package plugin-ureport
+Summary: libreport's micro report plugin
+Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report
Group: Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: abrt-plugin-reportuploader < 2.0.4
-%description plugin-reportuploader
-Plugin to report bugs into anonymous FTP site associated with
-ticketing system.
+%description plugin-ureport
+Uploads micro-report to abrt server.
+
+%description plugin-ureport -l pl.UTF-8
+Wtyczka przesyłająca raporty typu micro-report na serwer abrt.
+
+%package anaconda
+Summary: Default configuration for reporting Anaconda bugs
+Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie
+Group: Applications/File
+Requires: %{name}-plugin-bugzilla = %{version}-%{release}
+Requires: %{name}-plugin-reportuploader = %{version}-%{release}
+
+%description anaconda
+Default configuration for reporting Anaconda problems using Fedora
+infrastructure or uploading the gathered data over ftp/scp...
+
+%description anaconda -l pl.UTF-8
+Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu
+infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp.
+
+%package fedora
+Summary: Default configuration for reporting bugs via Fedora infrastructure
+Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory
+Group: Applications/File
+Requires: %{name} = %{version}-%{release}
+
+%description fedora
+Default configuration for reporting bugs via Fedora infrastructure
+used primarily to easy configure the reporting process for Fedora
+systems.
+
+%description fedora -l pl.UTF-8
+Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
+Fedory, służąca przede wszystkim do łatwej konfiguracji procesu
+zgłaszania błędów w systemach Fedora.
+
+%package rhel
+Summary: Default configuration for reporting bugs via RHEL infrastructure
+Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL
+Group: Applications/File
+Requires: %{name} = %{version}-%{release}
+
+%description rhel
+Default configuration for reporting bugs via RHEL infrastructure used
+primarily to easy configure the reporting process for RHEL systems.
+
+%description rhel -l pl.UTF-8
+Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
+RHEL, służąca przede wszystkim do łatwej konfiguracji procesu
+zgłaszania błędów w systemach RHEL.
%prep
%setup -q
%patch0 -p1
%build
-%configure
+%configure \
+ AUGPARSE=/usr/bin/augparse \
+ --disable-silent-rules
+
%{__make}
+%if %{with tests}
+%{__make} check
+%endif
+
%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+# compat layer for compatibility tool
+%{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1}
+
+%py_postclean
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report/*.la
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README
-%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
-%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf
+%dir %{_sysconfdir}/%{name}/events
+%dir %{_sysconfdir}/%{name}/events.d
+%dir %{_sysconfdir}/%{name}/plugins
+%dir %{_sysconfdir}/%{name}/workflows.d
%attr(755,root,root) %{_libdir}/libreport.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libreport.so.0
%attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
+%{_datadir}/augeas/lenses/libreport.aug
+%dir %{_datadir}/libreport
+%dir %{_datadir}/libreport/conf.d
+%dir %{_datadir}/libreport/conf.d/plugins
+%dir %{_datadir}/libreport/events
+%dir %{_datadir}/libreport/workflows
+%{_mandir}/man5/forbidden_words.conf.5*
%{_mandir}/man5/report_event.conf.5*
-%files common
-%defattr(644,root,root,755)
-%dir %{_sysconfdir}/%{name}
-%dir %{_sysconfdir}/%{name}/events.d
-%dir %{_sysconfdir}/%{name}/events
-%dir %{_sysconfdir}/%{name}/plugins
-
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libreport.so
+%attr(755,root,root) %{_libdir}/libabrt_dbus.so
%dir %{_includedir}/libreport
%{_includedir}/libreport/client.h
+%{_includedir}/libreport/config_item_info.h
%{_includedir}/libreport/dump_dir.h
%{_includedir}/libreport/event_config.h
+%{_includedir}/libreport/file_obj.h
+%{_includedir}/libreport/libreport_types.h
%{_includedir}/libreport/problem_data.h
%{_includedir}/libreport/report.h
%{_includedir}/libreport/run_event.h
%{_includedir}/libreport/internal_abrt_dbus.h
%{_includedir}/libreport/internal_libreport.h
-%attr(755,root,root) %{_libdir}/libreport.so
-%attr(755,root,root) %{_libdir}/libabrt_dbus.so
+%{_includedir}/libreport/workflow.h
+%{_includedir}/libreport/xml_parser.h
%{_pkgconfigdir}/%{name}.pc
%files web
%{_includedir}/libreport/libreport_curl.h
%{_pkgconfigdir}/libreport-web.pc
-%files python
+%files -n python-%{name}
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/report
+%attr(755,root,root) %{py_sitedir}/report/_pyreport.so
+%{py_sitedir}/report/*.py[co]
+%dir %{py_sitedir}/report/io
+%{py_sitedir}/report/io/*.py[co]
+%dir %{py_sitedir}/reportclient
+%attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so
+%{py_sitedir}/reportclient/*.py[co]
+
+%files -n python3-%{name}
%defattr(644,root,root,755)
-%{py_sitedir}/report
-%{py_sitedir}/reportclient
+%dir %{py3_sitedir}/report
+%attr(755,root,root) %{py3_sitedir}/report/_py3report.so
+%{py3_sitedir}/report/*.py*
+%dir %{py3_sitedir}/report/io
+%{py3_sitedir}/report/io/*.py*
%files cli
%defattr(644,root,root,755)
%files newt
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/report-newt
+%{_mandir}/man1/report-newt.1*
%files gtk
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/report-gtk
%attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
%attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
+%{_mandir}/man1/report-gtk.1*
%files gtk-devel
%defattr(644,root,root,755)
%{_includedir}/libreport/internal_libreport_gtk.h
%{_pkgconfigdir}/libreport-gtk.pc
+%files plugin-bugzilla
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/reporter-bugzilla
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
+%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
+%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
+%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml
+%{_datadir}/libreport/conf.d/plugins/bugzilla.conf
+%{_datadir}/libreport/events/report_Bugzilla.xml
+%{_datadir}/libreport/events/watch_Bugzilla.xml
+%{_mandir}/man1/reporter-bugzilla.1*
+%{_mandir}/man5/bugzilla.conf.5*
+%{_mandir}/man5/bugzilla_event.conf.5*
+%{_mandir}/man5/bugzilla_format.conf.5*
+%{_mandir}/man5/bugzilla_format_kernel.conf.5*
+%{_mandir}/man5/bugzilla_format_libreport.conf.5*
+%{_mandir}/man5/bugzilla_formatdup.conf.5*
+%{_mandir}/man5/report_Bugzilla.conf.5*
+
%files plugin-kerneloops
%defattr(644,root,root,755)
-%{_sysconfdir}/libreport/events/report_Kerneloops.xml
%attr(755,root,root) %{_bindir}/reporter-kerneloops
+%{_datadir}/libreport/events/report_Kerneloops.xml
%{_mandir}/man1/reporter-kerneloops.1*
%files plugin-logger
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/reporter-print
%{_sysconfdir}/libreport/events/report_Logger.conf
-%{_sysconfdir}/libreport/events/report_Logger.xml
+%{_datadir}/libreport/events/report_Logger.xml
%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
-%attr(755,root,root) %{_bindir}/reporter-print
%{_mandir}/man1/reporter-print.1*
+%{_mandir}/man5/print_event.conf.5*
+%{_mandir}/man5/report_Logger.conf.5*
%files plugin-mailx
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/reporter-mailx
%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
-%{_sysconfdir}/libreport/events/report_Mailx.xml
-%attr(755,root,root) %{_bindir}/reporter-mailx
+%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml
+%{_datadir}/libreport/conf.d/plugins/mailx.conf
+%{_datadir}/libreport/events/report_Mailx.xml
%{_mandir}/man1/reporter-mailx.1*
+%{_mandir}/man5/mailx.conf.5*
+%{_mandir}/man5/mailx_event.conf.5*
-%files plugin-ureport
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/reporter-ureport
-%{_sysconfdir}/libreport/events/report_uReport.xml
-
-%files plugin-bugzilla
+%files plugin-reportuploader
%defattr(644,root,root,755)
-%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
-%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
-%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
-%{_sysconfdir}/libreport/events/report_Bugzilla.xml
-%attr(755,root,root) %{_bindir}/reporter-bugzilla
-%{_mandir}/man1/reporter-bugzilla.1*
+%attr(755,root,root) %{_bindir}/reporter-upload
+%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
+%{_datadir}/libreport/events/report_Uploader.xml
+%{_datadir}/libreport/workflows/workflow_Upload.xml
+%{_mandir}/man1/reporter-upload.1*
+%{_mandir}/man5/uploader_event.conf.5*
%files plugin-rhtsupport
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/reporter-rhtsupport
%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
-%{_sysconfdir}/libreport/events/report_RHTSupport.xml
-%attr(755,root,root) %{_bindir}/reporter-rhtsupport
+%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml
+%{_datadir}/libreport/conf.d/plugins/rhtsupport.conf
+%{_datadir}/libreport/events/report_RHTSupport.xml
%{_mandir}/man1/reporter-rhtsupport.1*
+%{_mandir}/man5/rhtsupport.conf.5*
+%{_mandir}/man5/rhtsupport_event.conf.5*
-%files plugin-reportuploader
+%files plugin-ureport
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/reporter-upload
-%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
-%{_sysconfdir}/libreport/events/report_Uploader.xml
-%{_mandir}/man1/reporter-upload.1*
+%attr(755,root,root) %{_bindir}/reporter-ureport
+%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf
+%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml
+%{_datadir}/libreport/conf.d/plugins/ureport.conf
+%{_datadir}/libreport/events/report_uReport.xml
+%{_datadir}/libreport/events/report_EmergencyAnalysis.xml
+%{_mandir}/man1/reporter-ureport.1*
+%{_mandir}/man5/emergencyanalysis_event.conf.5*
+%{_mandir}/man5/ureport.conf.5*
+
+%files anaconda
+%defattr(644,root,root,755)
+%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
+%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
+%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
+%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
+%{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml
+%{_mandir}/man5/anaconda_event.conf.5*
+%{_mandir}/man5/bugzilla_anaconda_event.conf.5*
+%{_mandir}/man5/bugzilla_format_anaconda.conf.5*
+%{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5*
+
+%files fedora
+%defattr(644,root,root,755)
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
+%{_datadir}/libreport/workflows/workflow_Fedora*.xml
+%{_mandir}/man5/report_fedora.conf.5*
+
+%files rhel
+%defattr(644,root,root,755)
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
+%{_datadir}/libreport/workflows/workflow_RHEL*.xml
+%{_mandir}/man5/report_rhel.conf.5*
+%{_mandir}/man5/report_rhel_bugzilla.conf.5*