Blame SPECS/libreport.spec

502cb5
%if 0%{?suse_version}
502cb5
  %bcond_with bugzilla
502cb5
502cb5
  %define dbus_devel dbus-1-devel
502cb5
  %define libjson_devel libjson-devel
502cb5
%else
502cb5
  %bcond_without bugzilla
502cb5
502cb5
  %define dbus_devel dbus-devel
502cb5
  %define libjson_devel json-c-devel
502cb5
%endif
502cb5
502cb5
%define glib_ver 2.43.4
502cb5
502cb5
Summary: Generic library for reporting various problems
502cb5
Name: libreport
502cb5
Version: 2.15.2
3594b3
Release: 2%{?dist}
502cb5
License: GPLv2+
502cb5
URL: https://abrt.readthedocs.org/
502cb5
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
502cb5
BuildRequires: %{dbus_devel}
502cb5
BuildRequires: gtk3-devel
502cb5
BuildRequires: curl-devel
502cb5
BuildRequires: desktop-file-utils
502cb5
BuildRequires: python3-devel
502cb5
BuildRequires: gettext
502cb5
BuildRequires: libxml2-devel
502cb5
BuildRequires: intltool
502cb5
BuildRequires: libtool
502cb5
BuildRequires: make
502cb5
BuildRequires: texinfo
502cb5
BuildRequires: asciidoc
502cb5
BuildRequires: xmlto
502cb5
BuildRequires: newt-devel
502cb5
BuildRequires: libproxy-devel
502cb5
BuildRequires: satyr-devel >= 0.24
502cb5
BuildRequires: glib2-devel >= %{glib_ver}
502cb5
BuildRequires: git-core
502cb5
502cb5
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
502cb5
# A test case uses zh_CN locale to verify XML event translations
502cb5
BuildRequires: glibc-all-langpacks
502cb5
%endif
502cb5
502cb5
%if %{with bugzilla}
502cb5
BuildRequires: xmlrpc-c-devel
502cb5
%endif
502cb5
BuildRequires: doxygen
502cb5
BuildRequires: systemd-devel
502cb5
BuildRequires: augeas-devel
502cb5
BuildRequires: augeas
502cb5
BuildRequires: libarchive-devel
502cb5
Requires: libreport-filesystem = %{version}-%{release}
502cb5
Requires: satyr%{?_isa} >= 0.24
502cb5
Requires: glib2%{?_isa} >= %{glib_ver}
502cb5
Requires: libarchive%{?_isa}
502cb5
502cb5
# Required for the temporary modularity hack, see below
502cb5
%if 0%{?_module_build}
502cb5
BuildRequires: sed
502cb5
%endif
502cb5
502cb5
Obsoletes: %{name}-compat < 2.13.2
502cb5
Obsoletes: %{name}-plugin-rhtsupport < 2.13.2
502cb5
Obsoletes: %{name}-rhel < 2.13.2
502cb5
502cb5
%description
502cb5
Libraries providing API for reporting different problems in applications
502cb5
to different bug targets like Bugzilla, ftp, trac, etc...
502cb5
502cb5
%package filesystem
502cb5
Summary: Filesystem layout for libreport
502cb5
BuildArch: noarch
502cb5
502cb5
%description filesystem
502cb5
Filesystem layout for libreport
502cb5
502cb5
%package devel
502cb5
Summary: Development libraries and headers for libreport
502cb5
Requires: libreport = %{version}-%{release}
502cb5
502cb5
%description devel
502cb5
Development libraries and headers for libreport
502cb5
502cb5
%package web
502cb5
Summary: Library providing network API for libreport
502cb5
Requires: libreport = %{version}-%{release}
502cb5
502cb5
%description web
502cb5
Library providing network API for libreport
502cb5
502cb5
%package web-devel
502cb5
Summary: Development headers for libreport-web
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description web-devel
502cb5
Development headers for libreport-web
502cb5
502cb5
%package -n python3-libreport
502cb5
Summary: Python 3 bindings for report-libs
502cb5
%if 0%{?_module_build}
502cb5
# This is required for F26 Boltron (the modular release)
502cb5
# Different parts of libreport are shipped with different
502cb5
# modules with different dist tags; we need to weaken the
502cb5
# strict NVR dependency to make it work.  Temporary and
502cb5
# limited to F26 Boltron.
502cb5
%global distfreerelease %(echo %{release}|sed 's/%{?dist}$//'||echo 0)
502cb5
Requires: libreport >= %{version}-%{distfreerelease}
502cb5
%else
502cb5
Requires: libreport = %{version}-%{release}
502cb5
%endif
502cb5
Requires: python3-dnf
502cb5
%{?python_provide:%python_provide python3-libreport}
502cb5
502cb5
%description -n python3-libreport
502cb5
Python 3 bindings for report-libs.
502cb5
502cb5
%package cli
502cb5
Summary: %{name}'s command line interface
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
502cb5
%description cli
502cb5
This package contains simple command line tool for working
502cb5
with problem dump reports
502cb5
502cb5
%package newt
502cb5
Summary: %{name}'s newt interface
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Provides: report-newt = 0:0.23-1
502cb5
Obsoletes: report-newt < 0:0.23-1
502cb5
502cb5
%description newt
502cb5
This package contains a simple newt application for reporting
502cb5
bugs
502cb5
502cb5
%package gtk
502cb5
Summary: GTK front-end for libreport
502cb5
Requires: libreport = %{version}-%{release}
502cb5
Requires: libreport-plugin-reportuploader = %{version}-%{release}
502cb5
Provides: report-gtk = 0:0.23-1
502cb5
Obsoletes: report-gtk < 0:0.23-1
502cb5
502cb5
%description gtk
502cb5
Applications for reporting bugs using libreport backend
502cb5
502cb5
%package gtk-devel
502cb5
Summary: Development libraries and headers for libreport
502cb5
Requires: libreport-gtk = %{version}-%{release}
502cb5
502cb5
%description gtk-devel
502cb5
Development libraries and headers for libreport-gtk
502cb5
502cb5
%package plugin-kerneloops
502cb5
Summary: %{name}'s kerneloops reporter plugin
502cb5
Requires: curl
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description plugin-kerneloops
502cb5
This package contains plugin which sends kernel crash information to specified
502cb5
server, usually to kerneloops.org.
502cb5
502cb5
%package plugin-logger
502cb5
Summary: %{name}'s logger reporter plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
502cb5
%description plugin-logger
502cb5
The simple reporter plugin which writes a report to a specified file.
502cb5
502cb5
%package plugin-systemd-journal
502cb5
Summary: %{name}'s systemd journal reporter plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
502cb5
%description plugin-systemd-journal
502cb5
The simple reporter plugin which writes a report to the systemd journal.
502cb5
502cb5
%package plugin-mailx
502cb5
Summary: %{name}'s mailx reporter plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: /usr/bin/mailx
502cb5
502cb5
%description plugin-mailx
502cb5
The simple reporter plugin which sends a report via mailx to a specified
502cb5
email address.
502cb5
502cb5
%if %{with bugzilla}
502cb5
%package plugin-bugzilla
502cb5
Summary: %{name}'s bugzilla plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description plugin-bugzilla
502cb5
Plugin to report bugs into the bugzilla.
502cb5
%endif
502cb5
502cb5
%package plugin-mantisbt
502cb5
Summary: %{name}'s mantisbt plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description plugin-mantisbt
502cb5
Plugin to report bugs into the mantisbt.
502cb5
502cb5
%package centos
502cb5
Summary: %{name}'s CentOS Bug Tracker workflow
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
Requires: libreport-plugin-mantisbt = %{version}-%{release}
502cb5
502cb5
%description centos
502cb5
Workflows to report issues into the CentOS Bug Tracker.
502cb5
502cb5
%package plugin-ureport
502cb5
Summary: %{name}'s micro report plugin
502cb5
BuildRequires: %{libjson_devel}
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description plugin-ureport
502cb5
Uploads micro-report to abrt server
502cb5
502cb5
%package plugin-reportuploader
502cb5
Summary: %{name}'s reportuploader plugin
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-web = %{version}-%{release}
502cb5
502cb5
%description plugin-reportuploader
502cb5
Plugin to report bugs into anonymous FTP site associated with ticketing system.
502cb5
502cb5
%if 0%{?fedora} || 0%{?eln}
502cb5
%package fedora
502cb5
Summary: Default configuration for reporting bugs via Fedora infrastructure
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
502cb5
%description fedora
502cb5
Default configuration for reporting bugs via Fedora infrastructure
502cb5
used to easily configure the reporting process for Fedora systems. Just
502cb5
install this package and you're done.
502cb5
%endif
502cb5
502cb5
%if 0%{?rhel} && ! 0%{?eln}
502cb5
%package rhel-bugzilla
502cb5
Summary: Default configuration for reporting bugs to Red Hat Bugzilla
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
502cb5
Requires: libreport-plugin-ureport = %{version}-%{release}
502cb5
502cb5
%description rhel-bugzilla
502cb5
Default configuration for reporting bugs to Red Hat Bugzilla used to easily
502cb5
configure the reporting process for Red Hat systems. Just install this package
502cb5
and you're done.
502cb5
502cb5
%package rhel-anaconda-bugzilla
502cb5
Summary: Default configuration for reporting anaconda bugs to Red Hat Bugzilla
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
502cb5
502cb5
%description rhel-anaconda-bugzilla
502cb5
Default configuration for reporting Anaconda problems to Red Hat Bugzilla used
502cb5
to easily configure the reporting process for Red Hat systems. Just install this
502cb5
package and you're done.
502cb5
%endif
502cb5
502cb5
%if %{with bugzilla}
502cb5
%package anaconda
502cb5
Summary: Default configuration for reporting anaconda bugs
502cb5
Requires: %{name} = %{version}-%{release}
502cb5
Requires: libreport-plugin-reportuploader = %{version}-%{release}
502cb5
%if ! 0%{?rhel} || 0%{?eln}
502cb5
Requires: libreport-plugin-bugzilla = %{version}-%{release}
502cb5
%endif
502cb5
502cb5
%description anaconda
502cb5
Default configuration for reporting Anaconda problems or uploading the gathered
502cb5
data over ftp/scp...
502cb5
%endif
502cb5
502cb5
%prep
3594b3
%autosetup
502cb5
502cb5
%build
502cb5
./autogen.sh
502cb5
502cb5
%configure \
502cb5
%if %{without bugzilla}
502cb5
        --without-bugzilla \
502cb5
%endif
502cb5
        --enable-doxygen-docs \
502cb5
        --disable-silent-rules
502cb5
502cb5
%make_build
502cb5
502cb5
%install
502cb5
%make_install \
502cb5
%if %{with python3}
502cb5
             PYTHON=%{__python3} \
502cb5
%endif
502cb5
             mandir=%{_mandir}
502cb5
502cb5
%find_lang %{name}
502cb5
502cb5
# Remove byte-compiled python files generated by automake.
502cb5
# automake uses system's python for all *.py files, even
502cb5
# for those which needs to be byte-compiled with different
502cb5
# version (python2/python3).
502cb5
# rpm can do this work and use the appropriate python version.
502cb5
find %{buildroot} -name "*.py[co]" -delete
502cb5
502cb5
# remove all .la and .a files
502cb5
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
502cb5
mkdir -p %{buildroot}/%{_initrddir}
502cb5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events.d/
502cb5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/events/
502cb5
mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/workflows.d/
502cb5
mkdir -p %{buildroot}/%{_datadir}/%{name}/events/
502cb5
mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/
502cb5
502cb5
# After everything is installed, remove info dir
502cb5
rm -f %{buildroot}/%{_infodir}/dir
502cb5
502cb5
# Remove unwanted Fedora specific workflow configuration files
502cb5
%if ! 0%{?fedora} && ! 0%{?eln}
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJava.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraJavaScript.xml
502cb5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_fedora.conf
502cb5
rm -f %{buildroot}%{_mandir}/man5/report_fedora.conf.5
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
502cb5
%endif
502cb5
502cb5
# Remove unwanted RHEL specific workflow configuration files
502cb5
%if ! 0%{?rhel} || 0%{?eln}
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaPython.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaVmcore.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJavaScript.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataCCpp.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataKerneloops.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataPython.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDatavmcore.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataxorg.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataLibreport.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJava.xml
502cb5
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJavaScript.xml
502cb5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf
502cb5
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
502cb5
rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5
502cb5
rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5
502cb5
%endif
502cb5
502cb5
%check
502cb5
make check|| {
502cb5
    # find and print the logs of failed test
502cb5
    # do not cat tests/testsuite.log because it contains a lot of bloat
502cb5
    find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
502cb5
    exit 1
502cb5
}
502cb5
502cb5
%ldconfig_scriptlets
502cb5
%ldconfig_scriptlets web
502cb5
%if 0%{?rhel} && 0%{?rhel} <= 7
502cb5
%post gtk
502cb5
%{?ldconfig}
502cb5
# update icon cache
502cb5
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
502cb5
502cb5
%postun gtk
502cb5
%{?ldconfig}
502cb5
if [ $1 -eq 0 ] ; then
502cb5
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
502cb5
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
502cb5
fi
502cb5
502cb5
%posttrans gtk
502cb5
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
502cb5
502cb5
%endif
502cb5
502cb5
%files -f %{name}.lang
502cb5
%doc README.md
502cb5
%license COPYING
502cb5
%config(noreplace) %{_sysconfdir}/%{name}/libreport.conf
502cb5
%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
502cb5
%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
502cb5
%config(noreplace) %{_sysconfdir}/%{name}/ignored_words.conf
502cb5
%config(noreplace) %{_sysconfdir}/%{name}/ignored_elements.conf
502cb5
%{_datadir}/%{name}/conf.d/libreport.conf
502cb5
%{_libdir}/libreport.so.*
502cb5
%{_mandir}/man5/libreport.conf.5*
502cb5
%{_mandir}/man5/report_event.conf.5*
502cb5
%{_mandir}/man5/forbidden_words.conf.5*
502cb5
%{_mandir}/man5/ignored_words.conf.5*
502cb5
%{_mandir}/man5/ignored_elements.conf.5*
502cb5
# filesystem package owns /usr/share/augeas/lenses directory
502cb5
%{_datadir}/augeas/lenses/libreport.aug
502cb5
502cb5
%files filesystem
502cb5
%dir %{_sysconfdir}/%{name}/
502cb5
%dir %{_sysconfdir}/%{name}/events.d/
502cb5
%dir %{_sysconfdir}/%{name}/events/
502cb5
%dir %{_sysconfdir}/%{name}/workflows.d/
502cb5
%dir %{_datadir}/%{name}/
502cb5
%dir %{_datadir}/%{name}/conf.d/
502cb5
%dir %{_datadir}/%{name}/conf.d/plugins/
502cb5
%dir %{_datadir}/%{name}/events/
502cb5
%dir %{_datadir}/%{name}/workflows/
502cb5
%dir %{_sysconfdir}/%{name}/plugins/
502cb5
502cb5
%files devel
502cb5
# Public api headers:
502cb5
%doc apidoc/html/*.{html,png,css,js}
502cb5
%{_includedir}/libreport/libreport_types.h
502cb5
%{_includedir}/libreport/client.h
502cb5
%{_includedir}/libreport/dump_dir.h
502cb5
%{_includedir}/libreport/event_config.h
502cb5
%{_includedir}/libreport/problem_data.h
502cb5
%{_includedir}/libreport/problem_report.h
502cb5
%{_includedir}/libreport/report.h
502cb5
%{_includedir}/libreport/report_result.h
502cb5
%{_includedir}/libreport/run_event.h
502cb5
%{_includedir}/libreport/file_obj.h
502cb5
%{_includedir}/libreport/config_item_info.h
502cb5
%{_includedir}/libreport/workflow.h
502cb5
%{_includedir}/libreport/problem_details_widget.h
502cb5
%{_includedir}/libreport/problem_details_dialog.h
502cb5
%{_includedir}/libreport/problem_utils.h
502cb5
%{_includedir}/libreport/ureport.h
502cb5
%{_includedir}/libreport/reporters.h
502cb5
%{_includedir}/libreport/global_configuration.h
502cb5
# Private api headers:
502cb5
%{_includedir}/libreport/internal_libreport.h
502cb5
%{_includedir}/libreport/xml_parser.h
502cb5
%{_includedir}/libreport/helpers
502cb5
%{_libdir}/libreport.so
502cb5
%{_libdir}/pkgconfig/libreport.pc
502cb5
%dir %{_includedir}/libreport
502cb5
502cb5
%files web
502cb5
%{_libdir}/libreport-web.so.*
502cb5
502cb5
%files web-devel
502cb5
%{_libdir}/libreport-web.so
502cb5
%{_includedir}/libreport/libreport_curl.h
502cb5
%{_libdir}/pkgconfig/libreport-web.pc
502cb5
502cb5
%files -n python3-libreport
502cb5
%{python3_sitearch}/report/
502cb5
%{python3_sitearch}/reportclient/
502cb5
502cb5
%files cli
502cb5
%{_bindir}/report-cli
502cb5
%{_mandir}/man1/report-cli.1.gz
502cb5
502cb5
%files newt
502cb5
%{_bindir}/report-newt
502cb5
%{_mandir}/man1/report-newt.1.gz
502cb5
502cb5
%files gtk
502cb5
%{_bindir}/report-gtk
502cb5
%{_libdir}/libreport-gtk.so.*
502cb5
%{_mandir}/man1/report-gtk.1.gz
502cb5
502cb5
%files gtk-devel
502cb5
%{_libdir}/libreport-gtk.so
502cb5
%{_includedir}/libreport/internal_libreport_gtk.h
502cb5
%{_libdir}/pkgconfig/libreport-gtk.pc
502cb5
502cb5
%files plugin-kerneloops
502cb5
%{_datadir}/%{name}/events/report_Kerneloops.xml
502cb5
%{_mandir}/man*/reporter-kerneloops.*
502cb5
%{_bindir}/reporter-kerneloops
502cb5
502cb5
%files plugin-logger
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf
502cb5
%{_mandir}/man5/report_Logger.conf.5.*
502cb5
%{_datadir}/%{name}/events/report_Logger.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_Logger.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_LoggerCCpp.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf
502cb5
%{_mandir}/man5/print_event.conf.5.*
502cb5
%{_mandir}/man5/report_logger.conf.5.*
502cb5
%{_bindir}/reporter-print
502cb5
%{_mandir}/man*/reporter-print.*
502cb5
502cb5
%files plugin-systemd-journal
502cb5
%{_bindir}/reporter-systemd-journal
502cb5
%{_mandir}/man*/reporter-systemd-journal.*
502cb5
502cb5
%files plugin-mailx
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
502cb5
%{_datadir}/%{name}/conf.d/plugins/mailx.conf
502cb5
%{_datadir}/%{name}/events/report_Mailx.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_Mailx.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf
502cb5
%{_mandir}/man5/mailx.conf.5.*
502cb5
%{_mandir}/man5/mailx_event.conf.5.*
502cb5
%{_mandir}/man5/report_mailx.conf.5.*
502cb5
%{_mandir}/man*/reporter-mailx.*
502cb5
%{_bindir}/reporter-mailx
502cb5
502cb5
%files plugin-ureport
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf
502cb5
%{_datadir}/%{name}/conf.d/plugins/ureport.conf
502cb5
%{_bindir}/reporter-ureport
502cb5
%{_mandir}/man1/reporter-ureport.1.gz
502cb5
%{_mandir}/man5/ureport.conf.5.gz
502cb5
%{_datadir}/%{name}/events/report_uReport.xml
502cb5
%if 0%{?rhel} && ! 0%{?eln}
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf
502cb5
%{_datadir}/%{name}/workflows/workflow_uReport.xml
502cb5
%{_mandir}/man5/report_uReport.conf.5.*
502cb5
%endif
502cb5
502cb5
%if %{with bugzilla}
502cb5
%files plugin-bugzilla
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
502cb5
%{_datadir}/%{name}/conf.d/plugins/bugzilla.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
502cb5
%{_datadir}/%{name}/events/report_Bugzilla.xml
502cb5
%{_datadir}/%{name}/events/watch_Bugzilla.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
502cb5
# FIXME: remove with the old gui
502cb5
%{_mandir}/man1/reporter-bugzilla.1.gz
502cb5
%{_mandir}/man5/report_Bugzilla.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_event.conf.5.*
502cb5
%{_mandir}/man5/bugzilla.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_format.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_formatdup.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_format_kernel.conf.5.*
502cb5
%{_bindir}/reporter-bugzilla
502cb5
%endif
502cb5
502cb5
%files plugin-mantisbt
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt.conf
502cb5
%{_datadir}/%{name}/conf.d/plugins/mantisbt.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf
502cb5
%{_bindir}/reporter-mantisbt
502cb5
%{_mandir}/man1/reporter-mantisbt.1.gz
502cb5
%{_mandir}/man5/mantisbt.conf.5.*
502cb5
%{_mandir}/man5/mantisbt_format.conf.5.*
502cb5
%{_mandir}/man5/mantisbt_formatdup.conf.5.*
502cb5
%{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5.*
502cb5
%{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5.*
502cb5
502cb5
%files centos
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSCCpp.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSKerneloops.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSPython.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSPython3.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSVmcore.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSXorg.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSLibreport.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSJava.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_CentOSJavaScript.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_centos.conf
502cb5
%{_mandir}/man5/report_centos.conf.5.*
502cb5
%{_datadir}/%{name}/events/report_CentOSBugTracker.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf
502cb5
%{_mandir}/man5/report_CentOSBugTracker.conf.5.*
502cb5
# report_CentOSBugTracker events are shipped by libreport package
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/centos_report_event.conf
502cb5
%{_mandir}/man5/centos_report_event.conf.5.gz
502cb5
502cb5
%files plugin-reportuploader
502cb5
%{_mandir}/man*/reporter-upload.*
502cb5
%{_mandir}/man5/uploader_event.conf.5.*
502cb5
%{_bindir}/reporter-upload
502cb5
%{_datadir}/%{name}/events/report_Uploader.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
502cb5
%{_datadir}/%{name}/workflows/workflow_Upload.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_UploadCCpp.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf
502cb5
%{_datadir}/%{name}/conf.d/plugins/upload.conf
502cb5
%{_mandir}/man5/upload.conf.5.*
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf
502cb5
%{_mandir}/man5/report_uploader.conf.5.*
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf
502cb5
%{_mandir}/man5/report_Uploader.conf.5.*
502cb5
502cb5
%if 0%{?fedora} || 0%{?eln}
502cb5
%files fedora
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraPython.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraPython3.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraVmcore.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraLibreport.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraJava.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_FedoraJavaScript.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
502cb5
%{_mandir}/man5/report_fedora.conf.5.*
502cb5
%endif
502cb5
502cb5
%if 0%{?rhel} && ! 0%{?eln}
502cb5
%files rhel-bugzilla
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaPython.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaVmcore.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaXorg.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaLibreport.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJava.xml
502cb5
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaJavaScript.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
502cb5
%{_mandir}/man5/report_rhel_bugzilla.conf.5.*
502cb5
502cb5
%files rhel-anaconda-bugzilla
502cb5
%{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml
502cb5
%endif
502cb5
502cb5
%if %{with bugzilla}
502cb5
%files anaconda
502cb5
%if 0%{?fedora} || 0%{?eln}
502cb5
%{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml
502cb5
%endif
502cb5
%{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml
502cb5
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
502cb5
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
502cb5
%{_mandir}/man5/anaconda_event.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_anaconda_event.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_format_anaconda.conf.5.*
502cb5
%{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5.*
502cb5
%endif
502cb5
502cb5
%changelog
502cb5
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.15.2-2
502cb5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
502cb5
  Related: rhbz#1991688
502cb5
502cb5
* Tue Jun 22 2021 Michal Fabik <mfabik@redhat.com> - 2.15.2-1
502cb5
- New upstream version 2.15.2
502cb5
502cb5
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 2.14.0-19
502cb5
- Rebuilt for RHEL 9 BETA for openssl 3.0
502cb5
  Related: rhbz#1971065
502cb5
502cb5
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.14.0-18
502cb5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
502cb5
502cb5
* Fri Jan 29 2021 Michal Srb <michal@redhat.com> - 2.14.0-17
502cb5
- Drop AnacondaRHEL workflow reference
502cb5
502cb5
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-16
502cb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
502cb5
502cb5
* Mon Jan 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 2.14.0-15
502cb5
- Bump rev for upgrades
502cb5
502cb5
* Fri Dec 11 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-13
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1906405
502cb5
502cb5
* Tue Nov 03 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-12
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1893595
502cb5
502cb5
* Fri Oct 09 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-11
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882328
502cb5
502cb5
* Tue Sep 29 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-10
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883337
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883410
502cb5
502cb5
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-9
502cb5
- Add upstream fixes for memory management
502cb5
502cb5
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-8
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882950
502cb5
502cb5
* Fri Sep 25 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-7
502cb5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882319
502cb5
502cb5
* Wed Aug 19 2020 Merlin Mathesius <mmathesi@redhat.com> - 2.14.0-6
502cb5
- Updates so ELN builds in a Fedora-like reporting configuration, even though
502cb5
  the %%{rhel} macro is set.
502cb5
502cb5
* Thu Aug 13 2020 Michal Fabik <mfabik@redhat.com> 2.14.0-3
502cb5
- forbidden_words: Add potentially sensitive env vars
502cb5
- lib: Add version script for libreport
502cb5
- lib: compress: Use libarchive
502cb5
- Replace various utility functions with stock GLib ones
502cb5
- gtk,lib: Update symbol list
502cb5
- dd: Update dd_get_owner to handle error return values
502cb5
- dirsize: Don't pick .lock'd dirs for deletion
502cb5
- setgid instead of setuid the abrt-action-install-debuginfo-to-abrt-cache
502cb5
- Various coding style improvements
502cb5
- Various memory management fixes
502cb5
- lib: Check for errors when opening files
502cb5
- gtk-helpers: Check return value
502cb5
- doc: Exclude more files with --without-bugzilla
502cb5
- lib: Don’t use external executables for decompression
502cb5
- lib: Decommission libreport_list_free_with_free
502cb5
- Drop Red Hat Customer Portal reporter
502cb5
- ureport: Drop Strata integration
502cb5
- lib: Remove creates-items tag parsing in event definitions
502cb5
502cb5
* Fri Aug 07 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.13.1-4
502cb5
- Bump to fix upgrade path
502cb5
502cb5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-3
502cb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
502cb5
502cb5
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.1-2
502cb5
- Rebuilt for Python 3.9
502cb5
502cb5
* Mon May 11 2020 Michal Fabik <mfabik@redhat.com> 2.13.1-1
502cb5
- Fix broken abrt-vmcore.service due to bad namespacing
502cb5
502cb5
* Fri Apr 24 2020 Michal Fabik <mfabik@redhat.com> 2.13.0-2
502cb5
- Support new "time" and "time_for_children" kernel namespaces
502cb5
- Remove preprocessor namespacing in favor of function name prefixes
502cb5
- client-python: Accomodate for multiple debug directories
502cb5
- gui-wizard-gtk: Wrap event log messages
502cb5
- lib: Drop D-Bus code 
502cb5
- plugins: reporter-rhtsupport: Drop unused debugging code 
502cb5
- Update translations
502cb5
502cb5
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 2.12.0-4
502cb5
- Rebuild (json-c)
502cb5
502cb5
* Fri Mar 20 2020 Ernestas Kulik <ekulik@redhat.com> - 2.12.0-3
502cb5
- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544
502cb5
502cb5
* Fri Feb 07 2020 Ernestas Kulik <ekulik@redhat.com> - 2.12.0-2
502cb5
- Bump release for side tag rebuild
502cb5
502cb5
* Thu Feb 06 2020 Michal Fabik <mfabik@redhat.com> 2.12.0-1
502cb5
- ureport: Allow printf-like data attaching
502cb5
- plugins: reporter-rhtsupport: Avoid runtime warning
502cb5
- Update translations
502cb5
- lib: Don't include Nettle in a public interface
502cb5
- ureport: Drop HTTP header table
502cb5
- glib_support: Use g_strsplit
502cb5
- glib_support: Drop type initialization
502cb5
- client-python: Drop yumdebuginfo
502cb5
- lib: Use Nettle for computing SHA-1 digests
502cb5
- Move augeas lenses to new subdirectory
502cb5
502cb5
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.3-2
502cb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
502cb5
502cb5
* Thu Nov 14 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.3-1
502cb5
- Remove unused scripts
502cb5
- gtk: Fix infinite loop crashing the reporting
502cb5
- gtk: Improve logging
502cb5
- gtk: Remove page number from page struct
502cb5
- gtk: Code style adjustments
502cb5
- Make notebook tabs invisible again
502cb5
- gui-wizard-gtk: Remove expert mode
502cb5
- gui-wizard-gtk: Stop allowing overriding UI definitions
502cb5
- pull-trans: Suggest zanata install
502cb5
- shellcheck: Iterating over ls output is fragile. Use globs.
502cb5
- shellcheck: Double quote to prevent globbing and word splitting
502cb5
- zanata: Use python3 zanata client to pull translations
502cb5
- gtk: Fix another possible double-free
502cb5
502cb5
* Mon Nov 11 2019 Ernestas Kulik <ekulik@redhat.com> - 2.11.2-2
502cb5
- Add patch to fix a double-free
502cb5
502cb5
* Wed Oct 23 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.2-1
502cb5
- gtk: Improve memory management
502cb5
- gtk: Prevent memory leak
502cb5
- lib: Eliminate GLib inefficiency
502cb5
- gtk,style: Minor style consistency fixes
502cb5
- workflows: Correct name of post_report event
502cb5
502cb5
* Wed Oct 16 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.1-1
502cb5
- gtk: Fix a double-free condition
502cb5
502cb5
* Fri Oct 11 2019 Matěj Grabovský <mgrabovs@redhat.com> 2.11.0-1
502cb5
- Remove option for emergency analysis/reporting
502cb5
- tests: proc_helpers: Fix call to errx()
502cb5
- plugins: bugzilla: Add format file for libreport duplicates
502cb5
- dbus: Remove interface introspection files
502cb5
- lib: Don't warn if a configuration key is missing
502cb5
- gtk: Handle event wildcards in command line options
502cb5
- gtk: Better handling of workflows with wildcarded events
502cb5
- lib: Remove unused arguments of prepare_commands
502cb5
- lib: Reintroduce error logging in event XML parser
502cb5
- cli: Continue running even if some events have no commands
502cb5
- cli: Expand event name wildcards
502cb5
- lib: Expand wildcards in workflow XML parser
502cb5
- lib: Add a function to expand wildcards in event names
502cb5
- style: Simplify code; fix typos in comments
502cb5
- gitignore: Update with missing and renamed generated files
502cb5
- dirsize: Skip dirs in which sosreport is being generated
502cb5
- tests: Fix Python tests being skipped unconditionally
502cb5
- Remove Python 2 support
502cb5
502cb5
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-4
502cb5
- Rebuilt for Python 3.8.0rc1 (#1748018)
502cb5
502cb5
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 2.10.1-3
502cb5
- Rebuilt for Python 3.8
502cb5
502cb5
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-2
502cb5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
502cb5
502cb5
* Wed Jul 03 2019 Martin Kutlak <mkutlak@redhat.com> 2.10.1-1
502cb5
- doc: Makefile.am: Use correct path for --conf-file
502cb5
- lib: copy_file_recursive: Use GLib abstractions
502cb5
- gui-wizard-gtk: Fix fix
502cb5
- cli: run-command: Replace use of vfork() with fork()
502cb5
- plugins: rhbz: Don’t call strlen() on attachment data
502cb5
- Check for empty fmt_file name when printing error msgs
502cb5
- cli: Unpack command-line argument parsing logic
502cb5
- lib: event_config: Remove pointless assignment
502cb5
- gui-wizard-gtk: Fix never-read assignment
502cb5
- lib: xatonum: Check string parameters
502cb5
- Rework and refine composition of error messages
502cb5
- Add clearer warnings about missing report elements specified in format files
502cb5
- Move uReport workflow to plugin-ureport subpackage
502cb5
- lib: ureport: Export workflow when saving server response
502cb5
- lib: dump_dir: Clean up on failure in dd_delete()
502cb5
- Use #ifdef to check whether macros are defined
502cb5
- autogen.sh: Use autoreconf
502cb5
- autogen.sh: Allow skipping running configure
502cb5
- tests: forbidden_words: Don’t hardcode sysconfdir
502cb5
- Makefile.am: Use correct locale when getting date
502cb5
502cb5
* Tue Apr 23 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-3
502cb5
- Add patch to fix workflow fields not being added to reported_to when μReport response comes with a Bugzilla URL
502cb5
502cb5
* Mon Feb 04 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-2
502cb5
- Remove unused patch
502cb5
502cb5
* Sat Feb 02 2019 Ernestas Kulik <ekulik@redhat.com> - 2.10.0-1
502cb5
- Update to 2.10.0
502cb5
- Bump GLib dependency
502cb5
- Add patch to work around issue with test