3 %bcond_with satyr # satyr instead of btparser
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: 50c527d0c642dc21fa5dd3ef43b0c886
14 Patch0: format-security.patch
15 URL: https://fedorahosted.org/abrt/
16 BuildRequires: asciidoc
17 %{!?with_satyr:BuildRequires: btparser-devel}
18 BuildRequires: curl-devel
19 BuildRequires: dbus-devel
20 BuildRequires: desktop-file-utils
21 BuildRequires: gettext-devel >= 0.17
22 BuildRequires: glib2-devel >= 1:2.21
23 BuildRequires: gtk+3-devel >= 3.0
24 BuildRequires: intltool >= 0.35.0
25 BuildRequires: json-c-devel
26 BuildRequires: libproxy-devel
27 BuildRequires: libtar-devel
28 BuildRequires: libtool
29 BuildRequires: libxml2-devel >= 2
30 BuildRequires: newt-devel
31 BuildRequires: nss-devel
32 BuildRequires: pkgconfig
33 BuildRequires: python-devel
34 %{?with_satyr:BuildRequires: satyr-devel}
35 BuildRequires: xmlrpc-c-client-devel
36 BuildRequires: xmlrpc-c-devel
38 Requires: glib2 >= 1:2.21
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Libraries providing API for reporting different problems in
43 applications to different bug targets like Bugzilla, ftp, trac, etc...
45 %description -l pl.UTF-8
46 Biblioteki udostępniające API do zgłaszania różnych programów w
47 aplikacjach do różnych docelowych systemów raportowania błędów, takich
48 jak Bugzilla, ftp, trac...
51 Summary: Header files for libreport libraries
52 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
55 Requires: glib2-devel >= 1:2.21
58 Header files for libreport libraries.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe bibliotek libreport.
64 Summary: Library providing network API for libreport
65 Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport
67 Requires: %{name} = %{version}-%{release}
70 Library providing network API for libreport.
72 %description web -l pl.UTF-8
73 Biblioteka zapewniająca API sieciowe dla libreport.
76 Summary: Development headers for libreport-web
77 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
80 Requires: %{name}-web = %{version}-%{release}
81 %{!?with_satyr:Requires: btparser-devel}
83 Requires: json-c-devel
84 Requires: libproxy-devel
85 Requires: libxml2-devel >= 2
86 %{?with_satyr:Requires: satyr-devel}
87 Requires: xmlrpc-c-client-devel
88 Requires: xmlrpc-c-devel
90 %description web-devel
91 Development headers for libreport-web.
93 %description web-devel -l pl.UTF-8
94 Pliki nagłówkowe biblioteki libreport-web.
96 %package -n python-%{name}
97 Summary: Python bindings for libreport libraries
98 Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport
99 Group: Libraries/Python
100 Requires: %{name} = %{version}-%{release}
101 Provides: %{name}-python = %{version}-%{release}
102 Obsoletes: libreport-python < 2.1.3-1
104 %description -n python-%{name}
105 Python bindings for libreport libraries.
107 %description -n python-%{name} -l pl.UTF-8
108 Wiązania Pythona dla bibliotek libreport
111 Summary: libreport's command line interface
112 Summary(pl.UTF-8): Interfejs linii poleceń libreport
114 Requires: %{name} = %{version}-%{release}
117 This package contains simple command line tool for working with
118 problem dump reports.
120 %description cli -l pl.UTF-8
121 Ten pakiet zawiera proste, działające z linii poleceń narzędzie do
122 pracy ze zgłoszeniami zawierającymi zrzuty problemów.
125 Summary: libreport's newt interface
126 Summary(pl.UTF-8): Interfejs newt libreport
128 Requires: %{name} = %{version}-%{release}
131 This package contains a simple newt application for reporting bugs.
133 %description newt -l pl.UTF-8
134 Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów.
137 Summary: GTK+ front-end for libreport
138 Summary(pl.UTF-8): Interfejs GTK+ libreport
139 Group: X11/Applications
140 Requires: %{name} = %{version}-%{release}
143 Application for reporting bugs using libreport backend.
145 %description gtk -l pl.UTF-8
146 Aplikacja do zgłaszania błędów przy użyciu libreport.
149 Summary: Development headers for libreport-gtk
150 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk
151 Group: Development/Libraries
152 Requires: %{name}-gtk = %{version}-%{release}
154 %description gtk-devel
155 Development headers for libreport-gtk.
157 %description gtk-devel -l pl.UTF-8
158 Pliki nagłówkowe biblioteki libreport-gtk.
160 %package plugin-bugzilla
161 Summary: libreport's bugzilla plugin
162 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę
164 Requires: %{name} = %{version}-%{release}
165 Obsoletes: abrt-plugin-bugzilla < 2.0.4
167 %description plugin-bugzilla
168 Plugin to report bugs into the bugzilla.
170 %description plugin-bugzilla -l pl.UTF-8
171 Wtyczka zgłaszająca problemy do systemu Bugzilla.
173 %package plugin-kerneloops
174 Summary: libreport's kerneloops reporter plugin
175 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops)
177 Requires: %{name} = %{version}-%{release}
180 %description plugin-kerneloops
181 This package contains plugin which sends kernel crash information to
182 specified server, usually to kerneloops.org.
184 %description plugin-kerneloops -l pl.UTF-8
185 Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na
186 określony serwer, zwykle kerneloops.org.
188 %package plugin-logger
189 Summary: libreport's logger reporter plugin
190 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu
192 Requires: %{name} = %{version}-%{release}
193 Obsoletes: abrt-plugin-logger < 2.0.4
195 %description plugin-logger
196 The simple reporter plugin which writes a report to a specified file.
198 %description plugin-logger -l pl.UTF-8
199 Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym
202 %package plugin-mailx
203 Summary: libreport's mailx reporter plugin
204 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną
206 Requires: %{name} = %{version}-%{release}
208 Obsoletes: abrt-plugin-mailx < 2.0.4
210 %description plugin-mailx
211 The simple reporter plugin which sends a report via mailx to a
212 specified email address.
214 %description plugin-mailx -l pl.UTF-8
215 Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony
216 adres e-mail przy użyciu programu mailx.
218 %package plugin-reportuploader
219 Summary: libreport's reportuploader plugin
220 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP
222 Requires: %{name} = %{version}-%{release}
223 Obsoletes: abrt-plugin-reportuploader < 2.0.4
225 %description plugin-reportuploader
226 Plugin to report bugs into anonymous FTP site associated with
229 %description plugin-reportuploader -l pl.UTF-8
230 Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z
233 %package plugin-rhtsupport
234 Summary: libreport's RHTSupport plugin
235 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport
237 Requires: %{name} = %{version}-%{release}
238 Obsoletes: abrt-plugin-rhtsupport < 2.0.4
240 %description plugin-rhtsupport
241 Plugin to report bugs into RH support system.
243 %description plugin-rhtsupport -l pl.UTF-8
244 Wtyczka zgłaszająca problemy do systemu obsługi RH.
246 %package plugin-ureport
247 Summary: libreport's micro report plugin
248 Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report
250 Requires: %{name} = %{version}-%{release}
252 %description plugin-ureport
253 Uploads micro-report to abrt server.
255 %description plugin-ureport -l pl.UTF-8
256 Wtyczka przesyłająca raporty typu micro-report na serwer abrt.
259 Summary: Default configuration for reporting Anaconda bugs
260 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie
261 Group: Applications/File
262 Requires: %{name}-plugin-bugzilla = %{version}-%{release}
263 Requires: %{name}-plugin-reportuploader = %{version}-%{release}
265 %description anaconda
266 Default configuration for reporting Anaconda problems using Fedora
267 infrastructure or uploading the gathered data over ftp/scp...
269 %description anaconda -l pl.UTF-8
270 Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu
271 infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp.
274 Summary: Default configuration for reporting bugs via Fedora infrastructure
275 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory
276 Group: Applications/File
277 Requires: %{name} = %{version}-%{release}
280 Default configuration for reporting bugs via Fedora infrastructure
281 used primarily to easy configure the reporting process for Fedora
284 %description fedora -l pl.UTF-8
285 Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
286 Fedory, służąca przede wszystkim do łatwej konfiguracji procesu
287 zgłaszania błędów w systemach Fedora.
290 Summary: Default configuration for reporting bugs via RHEL infrastructure
291 Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL
292 Group: Applications/File
293 Requires: %{name} = %{version}-%{release}
296 Default configuration for reporting bugs via RHEL infrastructure used
297 primarily to easy configure the reporting process for RHEL systems.
299 %description rhel -l pl.UTF-8
300 Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę
301 RHEL, służąca przede wszystkim do łatwej konfiguracji procesu
302 zgłaszania błędów w systemach RHEL.
310 --disable-silent-rules \
311 %{?with_satyr:--with-satyr}
315 rm -rf $RPM_BUILD_ROOT
318 DESTDIR=$RPM_BUILD_ROOT
320 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
321 # compat layer for compatibility tool
322 %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1}
327 rm -rf $RPM_BUILD_ROOT
329 %post -p /sbin/ldconfig
330 %postun -p /sbin/ldconfig
332 %post web -p /sbin/ldconfig
333 %postun web -p /sbin/ldconfig
335 %post gtk -p /sbin/ldconfig
336 %postun gtk -p /sbin/ldconfig
338 %files -f %{name}.lang
339 %defattr(644,root,root,755)
341 %dir %{_sysconfdir}/%{name}
342 %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
343 %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
344 %dir %{_sysconfdir}/%{name}/events
345 %dir %{_sysconfdir}/%{name}/events.d
346 %dir %{_sysconfdir}/%{name}/plugins
347 %dir %{_sysconfdir}/%{name}/workflows
348 %dir %{_sysconfdir}/%{name}/workflows.d
349 %attr(755,root,root) %{_libdir}/libreport.so.*.*.*
350 %attr(755,root,root) %ghost %{_libdir}/libreport.so.0
351 %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.*
352 %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0
353 %{_mandir}/man5/report_event.conf.5*
356 %defattr(644,root,root,755)
357 %attr(755,root,root) %{_libdir}/libreport.so
358 %attr(755,root,root) %{_libdir}/libabrt_dbus.so
359 %dir %{_includedir}/libreport
360 %{_includedir}/libreport/client.h
361 %{_includedir}/libreport/config_item_info.h
362 %{_includedir}/libreport/dump_dir.h
363 %{_includedir}/libreport/event_config.h
364 %{_includedir}/libreport/file_obj.h
365 %{_includedir}/libreport/libreport_types.h
366 %{_includedir}/libreport/problem_data.h
367 %{_includedir}/libreport/report.h
368 %{_includedir}/libreport/run_event.h
369 %{_includedir}/libreport/internal_abrt_dbus.h
370 %{_includedir}/libreport/internal_libreport.h
371 %{_includedir}/libreport/workflow.h
372 %{_includedir}/libreport/xml_parser.h
373 %{_pkgconfigdir}/%{name}.pc
376 %defattr(644,root,root,755)
377 %attr(755,root,root) %{_libdir}/libreport-web.so.*.*
378 %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0
381 %defattr(644,root,root,755)
382 %attr(755,root,root) %{_libdir}/libreport-web.so
383 %{_includedir}/libreport/libreport_curl.h
384 %{_pkgconfigdir}/libreport-web.pc
386 %files -n python-%{name}
387 %defattr(644,root,root,755)
389 %{py_sitedir}/reportclient
392 %defattr(644,root,root,755)
393 %attr(755,root,root) %{_bindir}/report-cli
394 %{_mandir}/man1/report-cli.1*
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_bindir}/report-newt
401 %defattr(644,root,root,755)
402 %attr(755,root,root) %{_bindir}/report-gtk
403 %attr(755,root,root) %{_libexecdir}/abrt-screencast
404 %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.*
405 %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0
408 %defattr(644,root,root,755)
409 %attr(755,root,root) %{_libdir}/libreport-gtk.so
410 %{_includedir}/libreport/internal_libreport_gtk.h
411 %{_pkgconfigdir}/libreport-gtk.pc
413 %files plugin-bugzilla
414 %defattr(644,root,root,755)
415 %attr(755,root,root) %{_bindir}/reporter-bugzilla
416 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
417 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf
418 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
419 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
420 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf
421 %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
422 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
423 %{_sysconfdir}/libreport/events/report_Bugzilla.xml
424 %{_mandir}/man1/reporter-bugzilla.1*
426 %files plugin-kerneloops
427 %defattr(644,root,root,755)
428 %attr(755,root,root) %{_bindir}/reporter-kerneloops
429 %{_sysconfdir}/libreport/events/report_Kerneloops.xml
430 %{_mandir}/man1/reporter-kerneloops.1*
433 %defattr(644,root,root,755)
434 %attr(755,root,root) %{_bindir}/reporter-print
435 %{_sysconfdir}/libreport/events/report_Logger.conf
436 %{_sysconfdir}/libreport/events/report_Logger.xml
437 %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
438 %{_mandir}/man1/reporter-print.1*
441 %defattr(644,root,root,755)
442 %attr(755,root,root) %{_bindir}/reporter-mailx
443 %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
444 %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
445 %{_sysconfdir}/libreport/events/report_Mailx.xml
446 %{_mandir}/man1/reporter-mailx.1*
448 %files plugin-reportuploader
449 %defattr(644,root,root,755)
450 %attr(755,root,root) %{_bindir}/reporter-upload
451 %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
452 %{_sysconfdir}/libreport/events/report_Uploader.xml
453 %{_sysconfdir}/libreport/workflows/workflow_Upload.xml
454 %{_mandir}/man1/reporter-upload.1*
456 %files plugin-rhtsupport
457 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_bindir}/reporter-rhtsupport
459 %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
460 %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
461 %{_sysconfdir}/libreport/events/report_RHTSupport.xml
462 %{_mandir}/man1/reporter-rhtsupport.1*
464 %files plugin-ureport
465 %defattr(644,root,root,755)
466 %attr(755,root,root) %{_bindir}/reporter-ureport
467 %{_sysconfdir}/libreport/events/report_uReport.xml
468 %{_sysconfdir}/libreport/events/report_EmergencyAnalysis.xml
469 %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf
472 %defattr(644,root,root,755)
473 %{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml
474 %{_sysconfdir}/libreport/workflows/workflow_AnacondaUpload.xml
475 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
476 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
477 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
478 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
481 %defattr(644,root,root,755)
482 %{_sysconfdir}/libreport/workflows/workflow_Fedora.xml
483 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
486 %defattr(644,root,root,755)
487 %{_sysconfdir}/libreport/workflows/workflow_RHEL*.xml
488 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf