]> git.pld-linux.org Git - packages/libreport.git/blobdiff - libreport.spec
- updated to 2.6.3
[packages/libreport.git] / libreport.spec
index d9d8ccc4e1c12a6d43950b263e5ecf148c3cb47b..5f8f9b8a95f4f0c2447b2998f2122343c6f3cb22 100644 (file)
@@ -6,28 +6,30 @@
 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.2.2
+Version:       2.6.3
 Release:       1
 License:       GPL v2+
 Group:         Libraries
 Source0:       https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: 0183ac40c8d6e701087a33bcc1b95a6d
+# Source0-md5: a377e6dc8665e679a72fefd09341c9c5
 Patch0:                format-security.patch
 URL:           https://fedorahosted.org/abrt/
 BuildRequires: asciidoc
 %{?with_tests:BuildRequires:   augeas}
 BuildRequires: augeas-devel
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
 BuildRequires: curl-devel
 BuildRequires: dbus-devel
 BuildRequires: desktop-file-utils
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-tools >= 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: libtool >= 1:1.4.2
 BuildRequires: libxml2-devel >= 2
 BuildRequires: newt-devel
 BuildRequires: nss-devel
@@ -41,6 +43,7 @@ BuildRequires:        systemd-devel
 BuildRequires: xmlrpc-c-client-devel
 BuildRequires: xmlrpc-c-devel
 BuildRequires: xmlto
+BuildRequires: xz-devel
 Requires:      glib2 >= 1:2.21
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -178,7 +181,7 @@ Pliki nagłówkowe biblioteki libreport-gtk.
 Summary:       libreport's bugzilla plugin
 Summary(pl.UTF-8):     Wtyczka libreport do zgłoszeń przez Bugzillę
 Group:         Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-web = %{version}-%{release}
 Obsoletes:     abrt-plugin-bugzilla < 2.0.4
 
 %description plugin-bugzilla
@@ -191,7 +194,7 @@ Wtyczka zgłaszająca problemy do systemu Bugzilla.
 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:      %{name}-web = %{version}-%{release}
 Requires:      curl
 
 %description plugin-kerneloops
@@ -232,11 +235,23 @@ specified email address.
 Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
 adres e-mail przy użyciu programu mailx.
 
+%package plugin-mantisbt
+Summary:       libreport's mantisbt plugin
+Summary(pl.UTF-8):     Wtyczka libreport do zgłoszeń przez mantisbt
+Group:         Libraries
+Requires:      %{name}-web = %{version}-%{release}
+
+%description plugin-mantisbt
+Plugin to report bugs into the mantisbt.
+
+%description plugin-mantisbt -l pl.UTF-8
+Wtyczka zgłaszająca problemy do systemu mantisbt.
+
 %package plugin-reportuploader
 Summary:       libreport's reportuploader plugin
 Summary(pl.UTF-8):     Wtyczka libreport do zgłoszeń przez FTP
 Group:         Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-web = %{version}-%{release}
 Obsoletes:     abrt-plugin-reportuploader < 2.0.4
 
 %description plugin-reportuploader
@@ -251,7 +266,7 @@ systemem biletów.
 Summary:       libreport's RHTSupport plugin
 Summary(pl.UTF-8):     Wtyczka libreport do zgłoszeń przez RHTSupport
 Group:         Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-web = %{version}-%{release}
 Obsoletes:     abrt-plugin-rhtsupport < 2.0.4
 
 %description plugin-rhtsupport
@@ -264,7 +279,7 @@ Wtyczka zgłaszająca problemy do systemu obsługi RH.
 Summary:       libreport's micro report plugin
 Summary(pl.UTF-8):     Wtyczka libreport do zgłoszeń typu micro-report
 Group:         Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-web = %{version}-%{release}
 
 %description plugin-ureport
 Uploads micro-report to abrt server.
@@ -287,9 +302,26 @@ infrastructure or uploading the gathered data over ftp/scp...
 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 centos
+Summary:       Default configuration for reporting bugs via CentOS infrastructure
+Summary(pl.UTF-8):     Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę CentOS
+Group:         Applications/File
+Requires:      %{name}-web = %{version}-%{release}
+Requires:      %{name}-plugin-mantisbt = %{version}-%{release}
+
+%description centos
+Default configuration for reporting bugs via CentOS infrastructure
+used primarily to easy configure the reporting process for CentOS
+systems.
+
+%description centos -l pl.UTF-8
+Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
+CentOS, służąca przede wszystkim do łatwej konfiguracji procesu
+zgłaszania błędów w systemach CentOS.
+
 %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
+Summary(pl.UTF-8):     Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę Fedory
 Group:         Applications/File
 Requires:      %{name} = %{version}-%{release}
 
@@ -305,7 +337,7 @@ 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
+Summary(pl.UTF-8):     Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę RHEL
 Group:         Applications/File
 Requires:      %{name} = %{version}-%{release}
 
@@ -323,6 +355,11 @@ zgłaszania błędów w systemach RHEL.
 %patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        AUGPARSE=/usr/bin/augparse \
        --disable-silent-rules
@@ -345,7 +382,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %py_postclean
 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report/*.la
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report*/*.la
+
+# empty versions of nb,ru
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU}
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo}
 
 %find_lang %{name}
 
@@ -368,6 +410,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf
 %dir %{_sysconfdir}/%{name}/events
 %dir %{_sysconfdir}/%{name}/events.d
 %dir %{_sysconfdir}/%{name}/plugins
@@ -379,11 +422,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/augeas/lenses/libreport.aug
 %dir %{_datadir}/libreport
 %dir %{_datadir}/libreport/conf.d
+%{_datadir}/libreport/conf.d/libreport.conf
 %dir %{_datadir}/libreport/conf.d/plugins
 %dir %{_datadir}/libreport/events
 %dir %{_datadir}/libreport/workflows
 %{_mandir}/man5/forbidden_words.conf.5*
 %{_mandir}/man5/ignored_words.conf.5*
+%{_mandir}/man5/libreport.conf.5*
 %{_mandir}/man5/report_event.conf.5*
 
 %files devel
@@ -396,15 +441,20 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/libreport/dump_dir.h
 %{_includedir}/libreport/event_config.h
 %{_includedir}/libreport/file_obj.h
+%{_includedir}/libreport/global_configuration.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
+%{_includedir}/libreport/problem_report.h
+%{_includedir}/libreport/problem_utils.h
+%{_includedir}/libreport/reporters.h
+%{_includedir}/libreport/ureport.h
 %{_includedir}/libreport/workflow.h
 %{_includedir}/libreport/xml_parser.h
-%{_pkgconfigdir}/%{name}.pc
+%{_pkgconfigdir}/libreport.pc
 
 %files web
 %defattr(644,root,root,755)
@@ -435,6 +485,9 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitedir}/report/*.py*
 %dir %{py3_sitedir}/report/io
 %{py3_sitedir}/report/io/*.py*
+%dir %{py3_sitedir}/reportclient
+%attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so
+%{py3_sitedir}/reportclient/*.py*
 
 %files cli
 %defattr(644,root,root,755)
@@ -457,6 +510,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libreport-gtk.so
 %{_includedir}/libreport/internal_libreport_gtk.h
+%{_includedir}/libreport/problem_details_dialog.h
+%{_includedir}/libreport/problem_details_widget.h
 %{_pkgconfigdir}/libreport-gtk.pc
 
 %files plugin-bugzilla
@@ -464,8 +519,8 @@ rm -rf $RPM_BUILD_ROOT
 %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_analyzer_libreport.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
@@ -477,8 +532,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man5/bugzilla.conf.5*
 %{_mandir}/man5/bugzilla_event.conf.5*
 %{_mandir}/man5/bugzilla_format.conf.5*
+%{_mandir}/man5/bugzilla_format_analyzer_libreport.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*
 
@@ -491,34 +546,61 @@ rm -rf $RPM_BUILD_ROOT
 %files plugin-logger
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/reporter-print
-%{_sysconfdir}/libreport/events/report_Logger.conf
-%{_datadir}/libreport/events/report_Logger.xml
+%config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf
 %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf
+%{_datadir}/libreport/events/report_Logger.xml
+%{_datadir}/libreport/workflows/workflow_Logger.xml
+%{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml
 %{_mandir}/man1/reporter-print.1*
 %{_mandir}/man5/print_event.conf.5*
 %{_mandir}/man5/report_Logger.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
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf
 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml
 %{_datadir}/libreport/conf.d/plugins/mailx.conf
 %{_datadir}/libreport/events/report_Mailx.xml
+%{_datadir}/libreport/workflows/workflow_Mailx.xml
+%{_datadir}/libreport/workflows/workflow_MailxCCpp.xml
 %{_mandir}/man1/reporter-mailx.1*
 %{_mandir}/man5/mailx.conf.5*
 %{_mandir}/man5/mailx_event.conf.5*
+%{_mandir}/man5/report_mailx.conf.5*
+
+%files plugin-mantisbt
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/reporter-mantisbt
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf
+%{_datadir}/libreport/conf.d/plugins/mantisbt.conf
+%{_mandir}/man1/reporter-mantisbt.1*
+%{_mandir}/man5/mantisbt.conf.5*
+%{_mandir}/man5/mantisbt_format.conf.5*
+%{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5*
+%{_mandir}/man5/mantisbt_formatdup.conf.5*
+%{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5*
 
 %files plugin-reportuploader
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/reporter-upload
-%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
 %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf
+%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
+%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf
 %{_datadir}/libreport/conf.d/plugins/upload.conf
 %{_datadir}/libreport/events/report_Uploader.xml
 %{_datadir}/libreport/workflows/workflow_Upload.xml
+%{_datadir}/libreport/workflows/workflow_UploadCCpp.xml
 %{_mandir}/man1/reporter-upload.1*
+%{_mandir}/man5/report_uploader.conf.5*
 %{_mandir}/man5/uploader_event.conf.5*
 
 %files plugin-rhtsupport
@@ -561,6 +643,24 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man5/bugzilla_format_anaconda.conf.5*
 %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5*
 
+%files centos
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf
+%{_datadir}/libreport/events/report_CentOSBugTracker.xml
+%{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml
+%{_datadir}/libreport/workflows/workflow_CentOSJava.xml
+%{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml
+%{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml
+%{_datadir}/libreport/workflows/workflow_CentOSPython.xml
+%{_datadir}/libreport/workflows/workflow_CentOSPython3.xml
+%{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml
+%{_datadir}/libreport/workflows/workflow_CentOSXorg.xml
+%{_mandir}/man5/centos_report_event.conf.5*
+%{_mandir}/man5/report_CentOSBugTracker.conf.5*
+%{_mandir}/man5/report_centos.conf.5*
+
 %files fedora
 %defattr(644,root,root,755)
 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
This page took 0.072328 seconds and 4 git commands to generate.