3 %bcond_without tests # "make check"
5 Summary: Generic library for reporting various problems
6 Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów
12 Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
13 # Source0-md5: 3c563d8f9d5564a825f94f17af9c5508
14 Patch0: format-security.patch
15 URL: https://fedorahosted.org/abrt/
16 BuildRequires: asciidoc
17 %{?with_tests:BuildRequires: augeas}
18 BuildRequires: augeas-devel
19 BuildRequires: curl-devel
20 BuildRequires: dbus-devel
21 BuildRequires: desktop-file-utils
22 BuildRequires: gettext-devel >= 0.17
23 BuildRequires: glib2-devel >= 1:2.21
24 BuildRequires: gtk+3-devel >= 3.0
25 BuildRequires: intltool >= 0.35.0
26 BuildRequires: json-c-devel
27 BuildRequires: libproxy-devel
28 BuildRequires: libtar-devel
29 BuildRequires: libtool
30 BuildRequires: libxml2-devel >= 2
31 BuildRequires: newt-devel
32 BuildRequires: nss-devel
33 BuildRequires: pkgconfig
34 BuildRequires: python-devel
35 BuildRequires: satyr-devel
37 BuildRequires: systemd-devel
38 BuildRequires: xmlrpc-c-client-devel
39 BuildRequires: xmlrpc-c-devel
41 Requires: glib2 >= 1:2.21
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Libraries providing API for reporting different problems in
46 applications to different bug targets like Bugzilla, ftp, trac, etc...
48 %description -l pl.UTF-8
49 Biblioteki udostępniające API do zgłaszania różnych programów w
50 aplikacjach do różnych docelowych systemów raportowania błędów, takich
51 jak Bugzilla, ftp, trac...
54 Summary: Header files for libreport libraries
55 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
58 Requires: glib2-devel >= 1:2.21
61 Header files for libreport libraries.
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe bibliotek libreport.
67 Summary: Library providing network API for libreport
68 Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport
70 Requires: %{name} = %{version}-%{release}
73 Library providing network API for libreport.
75 %description web -l pl.UTF-8
76 Biblioteka zapewniająca API sieciowe dla libreport.
79 Summary: Development headers for libreport-web
80 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web
81 Group: Development/Libraries
82 Requires: %{name}-devel = %{version}-%{release}
83 Requires: %{name}-web = %{version}-%{release}
85 Requires: json-c-devel
86 Requires: libproxy-devel
87 Requires: libxml2-devel >= 2
89 Requires: xmlrpc-c-client-devel
90 Requires: xmlrpc-c-devel
92 %description web-devel
93 Development headers for libreport-web.
95 %description web-devel -l pl.UTF-8
96 Pliki nagłówkowe biblioteki libreport-web.
98 %package -n python-%{name}
99 Summary: Python bindings for libreport libraries
100 Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport
101 Group: Libraries/Python
102 Requires: %{name} = %{version}-%{release}
103 Provides: %{name}-python = %{version}-%{release}
104 Obsoletes: libreport-python < 2.1.3-1
106 %description -n python-%{name}
107 Python bindings for libreport libraries.
109 %description -n python-%{name} -l pl.UTF-8
110 Wiązania Pythona dla bibliotek libreport
113 Summary: libreport's command line interface
114 Summary(pl.UTF-8): Interfejs linii poleceń libreport
116 Requires: %{name} = %{version}-%{release}
119 This package contains simple command line tool for working with
120 problem dump reports.
122 %description cli -l pl.UTF-8
123 Ten pakiet zawiera proste, działające z linii poleceń narzędzie do
124 pracy ze zgłoszeniami zawierającymi zrzuty problemów.
127 Summary: libreport's newt interface
128 Summary(pl.UTF-8): Interfejs newt libreport
130 Requires: %{name} = %{version}-%{release}
133 This package contains a simple newt application for reporting bugs.
135 %description newt -l pl.UTF-8
136 Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów.
139 Summary: GTK+ front-end for libreport
140 Summary(pl.UTF-8): Interfejs GTK+ libreport
141 Group: X11/Applications
142 Requires: %{name} = %{version}-%{release}
145 Application for reporting bugs using libreport backend.
147 %description gtk -l pl.UTF-8
148 Aplikacja do zgłaszania błędów przy użyciu libreport.
151 Summary: Development headers for libreport-gtk
152 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk
153 Group: Development/Libraries
154 Requires: %{name}-gtk = %{version}-%{release}
156 %description gtk-devel
157 Development headers for libreport-gtk.
159 %description gtk-devel -l pl.UTF-8
160 Pliki nagłówkowe biblioteki libreport-gtk.
162 %package plugin-bugzilla
163 Summary: libreport's bugzilla plugin
164 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę
166 Requires: %{name} = %{version}-%{release}
167 Obsoletes: abrt-plugin-bugzilla < 2.0.4
169 %description plugin-bugzilla
170 Plugin to report bugs into the bugzilla.
172 %description plugin-bugzilla -l pl.UTF-8
173 Wtyczka zgłaszająca problemy do systemu Bugzilla.
175 %package plugin-kerneloops
176 Summary: libreport's kerneloops reporter plugin
177 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops)
179 Requires: %{name} = %{version}-%{release}
182 %description plugin-kerneloops
183 This package contains plugin which sends kernel crash information to
184 specified server, usually to kerneloops.org.
186 %description plugin-kerneloops -l pl.UTF-8
187 Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na
188 określony serwer, zwykle kerneloops.org.
190 %package plugin-logger
191 Summary: libreport's logger reporter plugin
192 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu
194 Requires: %{name} = %{version}-%{release}
195 Obsoletes: abrt-plugin-logger < 2.0.4
197 %description plugin-logger
198 The simple reporter plugin which writes a report to a specified file.
200 %description plugin-logger -l pl.UTF-8
201 Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym
204 %package plugin-mailx
205 Summary: libreport's mailx reporter plugin
206 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną
208 Requires: %{name} = %{version}-%{release}
210 Obsoletes: abrt-plugin-mailx < 2.0.4
212 %description plugin-mailx
213 The simple reporter plugin which sends a report via mailx to a
214 specified email address.
216 %description plugin-mailx -l pl.UTF-8
217 Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
218 adres e-mail przy użyciu programu mailx.
220 %package plugin-reportuploader
221 Summary: libreport's reportuploader plugin
222 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP
224 Requires: %{name} = %{version}-%{release}
225 Obsoletes: abrt-plugin-reportuploader < 2.0.4
227 %description plugin-reportuploader
228 Plugin to report bugs into anonymous FTP site associated with
231 %description plugin-reportuploader -l pl.UTF-8
232 Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z
235 %package plugin-rhtsupport
236 Summary: libreport's RHTSupport plugin
237 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport
239 Requires: %{name} = %{version}-%{release}
240 Obsoletes: abrt-plugin-rhtsupport < 2.0.4
242 %description plugin-rhtsupport
243 Plugin to report bugs into RH support system.
245 %description plugin-rhtsupport -l pl.UTF-8
246 Wtyczka zgłaszająca problemy do systemu obsługi RH.
248 %package plugin-ureport
249 Summary: libreport's micro report plugin
250 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report
252 Requires: %{name} = %{version}-%{release}
254 %description plugin-ureport
255 Uploads micro-report to abrt server.
257 %description plugin-ureport -l pl.UTF-8
258 Wtyczka przesyłająca raporty typu micro-report na serwer abrt.
261 Summary: Default configuration for reporting Anaconda bugs
262 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie
263 Group: Applications/File
264 Requires: %{name}-plugin-bugzilla = %{version}-%{release}
265 Requires: %{name}-plugin-reportuploader = %{version}-%{release}
267 %description anaconda
268 Default configuration for reporting Anaconda problems using Fedora
269 infrastructure or uploading the gathered data over ftp/scp...
271 %description anaconda -l pl.UTF-8
272 Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu
273 infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp.
276 Summary: Default configuration for reporting bugs via Fedora infrastructure
277 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory
278 Group: Applications/File
279 Requires: %{name} = %{version}-%{release}
282 Default configuration for reporting bugs via Fedora infrastructure
283 used primarily to easy configure the reporting process for Fedora
286 %description fedora -l pl.UTF-8
287 Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
288 Fedory, służąca przede wszystkim do łatwej konfiguracji procesu
289 zgłaszania błędów w systemach Fedora.
292 Summary: Default configuration for reporting bugs via RHEL infrastructure
293 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL
294 Group: Applications/File
295 Requires: %{name} = %{version}-%{release}
298 Default configuration for reporting bugs via RHEL infrastructure used
299 primarily to easy configure the reporting process for RHEL systems.
301 %description rhel -l pl.UTF-8
302 Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
303 RHEL, służąca przede wszystkim do łatwej konfiguracji procesu
304 zgłaszania błędów w systemach RHEL.
312 AUGPARSE=/usr/bin/augparse \
313 --disable-silent-rules
322 rm -rf $RPM_BUILD_ROOT
325 DESTDIR=$RPM_BUILD_ROOT
327 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
328 # compat layer for compatibility tool
329 %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1}
334 rm -rf $RPM_BUILD_ROOT
336 %post -p /sbin/ldconfig
337 %postun -p /sbin/ldconfig
339 %post web -p /sbin/ldconfig
340 %postun web -p /sbin/ldconfig
342 %post gtk -p /sbin/ldconfig
343 %postun gtk -p /sbin/ldconfig
345 %files -f %{name}.lang
346 %defattr(644,root,root,755)
348 %dir %{_sysconfdir}/%{name}
349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf
350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf
351 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf
352 %dir %{_sysconfdir}/%{name}/events
353 %dir %{_sysconfdir}/%{name}/events.d
354 %dir %{_sysconfdir}/%{name}/plugins
355 %dir %{_sysconfdir}/%{name}/workflows.d
356 %attr(755,root,root) %{_libdir}/libreport.so.*.*.*
357 %attr(755,root,root) %ghost %{_libdir}/libreport.so.0
358 %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
359 %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
360 %{_datadir}/augeas/lenses/libreport.aug
361 %dir %{_datadir}/libreport
362 %dir %{_datadir}/libreport/conf.d
363 %dir %{_datadir}/libreport/conf.d/plugins
364 %dir %{_datadir}/libreport/events
365 %dir %{_datadir}/libreport/workflows
366 %{_mandir}/man5/forbidden_words.conf.5*
367 %{_mandir}/man5/report_event.conf.5*
370 %defattr(644,root,root,755)
371 %attr(755,root,root) %{_libdir}/libreport.so
372 %attr(755,root,root) %{_libdir}/libabrt_dbus.so
373 %dir %{_includedir}/libreport
374 %{_includedir}/libreport/client.h
375 %{_includedir}/libreport/config_item_info.h
376 %{_includedir}/libreport/dump_dir.h
377 %{_includedir}/libreport/event_config.h
378 %{_includedir}/libreport/file_obj.h
379 %{_includedir}/libreport/libreport_types.h
380 %{_includedir}/libreport/problem_data.h
381 %{_includedir}/libreport/report.h
382 %{_includedir}/libreport/run_event.h
383 %{_includedir}/libreport/internal_abrt_dbus.h
384 %{_includedir}/libreport/internal_libreport.h
385 %{_includedir}/libreport/workflow.h
386 %{_includedir}/libreport/xml_parser.h
387 %{_pkgconfigdir}/%{name}.pc
390 %defattr(644,root,root,755)
391 %attr(755,root,root) %{_libdir}/libreport-web.so.*.*
392 %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0
395 %defattr(644,root,root,755)
396 %attr(755,root,root) %{_libdir}/libreport-web.so
397 %{_includedir}/libreport/libreport_curl.h
398 %{_pkgconfigdir}/libreport-web.pc
400 %files -n python-%{name}
401 %defattr(644,root,root,755)
403 %{py_sitedir}/reportclient
406 %defattr(644,root,root,755)
407 %attr(755,root,root) %{_bindir}/report-cli
408 %{_mandir}/man1/report-cli.1*
411 %defattr(644,root,root,755)
412 %attr(755,root,root) %{_bindir}/report-newt
413 %{_mandir}/man1/report-newt.1*
416 %defattr(644,root,root,755)
417 %attr(755,root,root) %{_bindir}/report-gtk
418 %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
419 %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
420 %{_mandir}/man1/report-gtk.1*
423 %defattr(644,root,root,755)
424 %attr(755,root,root) %{_libdir}/libreport-gtk.so
425 %{_includedir}/libreport/internal_libreport_gtk.h
426 %{_pkgconfigdir}/libreport-gtk.pc
428 %files plugin-bugzilla
429 %defattr(644,root,root,755)
430 %attr(755,root,root) %{_bindir}/reporter-bugzilla
431 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
432 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
433 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
434 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
435 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
436 %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
437 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
438 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml
439 %{_datadir}/libreport/conf.d/plugins/bugzilla.conf
440 %{_datadir}/libreport/events/report_Bugzilla.xml
441 %{_mandir}/man1/reporter-bugzilla.1*
442 %{_mandir}/man5/bugzilla.conf.5*
443 %{_mandir}/man5/bugzilla_event.conf.5*
444 %{_mandir}/man5/bugzilla_format.conf.5*
445 %{_mandir}/man5/bugzilla_format_kernel.conf.5*
446 %{_mandir}/man5/bugzilla_format_libreport.conf.5*
447 %{_mandir}/man5/bugzilla_formatdup.conf.5*
448 %{_mandir}/man5/report_Bugzilla.conf.5*
450 %files plugin-kerneloops
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_bindir}/reporter-kerneloops
453 %{_datadir}/libreport/events/report_Kerneloops.xml
454 %{_mandir}/man1/reporter-kerneloops.1*
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_bindir}/reporter-print
459 %{_sysconfdir}/libreport/events/report_Logger.conf
460 %{_datadir}/libreport/events/report_Logger.xml
461 %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
462 %{_mandir}/man1/reporter-print.1*
463 %{_mandir}/man5/print_event.conf.5*
464 %{_mandir}/man5/report_Logger.conf.5*
467 %defattr(644,root,root,755)
468 %attr(755,root,root) %{_bindir}/reporter-mailx
469 %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
470 %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
471 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml
472 %{_datadir}/libreport/conf.d/plugins/mailx.conf
473 %{_datadir}/libreport/events/report_Mailx.xml
474 %{_mandir}/man1/reporter-mailx.1*
475 %{_mandir}/man5/mailx.conf.5*
476 %{_mandir}/man5/mailx_event.conf.5*
478 %files plugin-reportuploader
479 %defattr(644,root,root,755)
480 %attr(755,root,root) %{_bindir}/reporter-upload
481 %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
482 %{_datadir}/libreport/events/report_Uploader.xml
483 %{_datadir}/libreport/workflows/workflow_Upload.xml
484 %{_mandir}/man1/reporter-upload.1*
485 %{_mandir}/man5/uploader_event.conf.5*
487 %files plugin-rhtsupport
488 %defattr(644,root,root,755)
489 %attr(755,root,root) %{_bindir}/reporter-rhtsupport
490 %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
491 %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
492 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml
493 %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf
494 %{_datadir}/libreport/events/report_RHTSupport.xml
495 %{_mandir}/man1/reporter-rhtsupport.1*
496 %{_mandir}/man5/rhtsupport.conf.5*
497 %{_mandir}/man5/rhtsupport_event.conf.5*
499 %files plugin-ureport
500 %defattr(644,root,root,755)
501 %attr(755,root,root) %{_bindir}/reporter-ureport
502 %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf
503 %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf
504 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml
505 %{_datadir}/libreport/conf.d/plugins/ureport.conf
506 %{_datadir}/libreport/events/report_uReport.xml
507 %{_datadir}/libreport/events/report_EmergencyAnalysis.xml
508 %{_mandir}/man1/reporter-ureport.1*
509 %{_mandir}/man5/emergencyanalysis_event.conf.5*
510 %{_mandir}/man5/ureport.conf.5*
513 %defattr(644,root,root,755)
514 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
515 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
516 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
517 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
518 %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
519 %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
520 %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
521 %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml
522 %{_mandir}/man5/anaconda_event.conf.5*
523 %{_mandir}/man5/bugzilla_anaconda_event.conf.5*
524 %{_mandir}/man5/bugzilla_format_anaconda.conf.5*
525 %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5*
528 %defattr(644,root,root,755)
529 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
530 %{_datadir}/libreport/workflows/workflow_Fedora*.xml
531 %{_mandir}/man5/report_fedora.conf.5*
534 %defattr(644,root,root,755)
535 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
536 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
537 %{_datadir}/libreport/workflows/workflow_RHEL*.xml
538 %{_mandir}/man5/report_rhel.conf.5*
539 %{_mandir}/man5/report_rhel_bugzilla.conf.5*