]>
Commit | Line | Data |
---|---|---|
1 | Summary: Generic library for reporting various problems | |
2 | Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów | |
3 | Name: libreport | |
4 | Version: 2.1.3 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Libraries | |
8 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: bae83bebcb2601707ac780c53d16e7fe | |
10 | Patch0: format-security.patch | |
11 | URL: https://fedorahosted.org/abrt/ | |
12 | BuildRequires: asciidoc | |
13 | BuildRequires: btparser-devel | |
14 | BuildRequires: curl-devel | |
15 | BuildRequires: dbus-devel | |
16 | BuildRequires: desktop-file-utils | |
17 | BuildRequires: gettext-devel >= 0.17 | |
18 | BuildRequires: glib2-devel >= 1:2.21 | |
19 | BuildRequires: gtk+3-devel >= 3.0 | |
20 | BuildRequires: intltool >= 0.35.0 | |
21 | BuildRequires: json-c-devel | |
22 | BuildRequires: libproxy-devel | |
23 | BuildRequires: libtar-devel | |
24 | BuildRequires: libtool | |
25 | BuildRequires: libxml2-devel >= 2 | |
26 | BuildRequires: newt-devel | |
27 | BuildRequires: nss-devel | |
28 | BuildRequires: pkgconfig | |
29 | BuildRequires: python-devel | |
30 | BuildRequires: xmlrpc-c-client-devel | |
31 | BuildRequires: xmlrpc-c-devel | |
32 | BuildRequires: xmlto | |
33 | Requires: glib2 >= 1:2.21 | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | Libraries providing API for reporting different problems in | |
38 | applications to different bug targets like Bugzilla, ftp, trac, etc... | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Biblioteki udostępniające API do zgłaszania różnych programów w | |
42 | aplikacjach do różnych docelowych systemów raportowania błędów, takich | |
43 | jak Bugzilla, ftp, trac... | |
44 | ||
45 | %package devel | |
46 | Summary: Header files for libreport libraries | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport | |
48 | Group: Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | Requires: glib2-devel >= 1:2.21 | |
51 | ||
52 | %description devel | |
53 | Header files for libreport libraries. | |
54 | ||
55 | %description devel -l pl.UTF-8 | |
56 | Pliki nagłówkowe bibliotek libreport. | |
57 | ||
58 | %package web | |
59 | Summary: Library providing network API for libreport | |
60 | Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport | |
61 | Group: Libraries | |
62 | Requires: %{name} = %{version}-%{release} | |
63 | ||
64 | %description web | |
65 | Library providing network API for libreport. | |
66 | ||
67 | %description web -l pl.UTF-8 | |
68 | Biblioteka zapewniająca API sieciowe dla libreport. | |
69 | ||
70 | %package web-devel | |
71 | Summary: Development headers for libreport-web | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web | |
73 | Group: Development/Libraries | |
74 | Requires: %{name}-devel = %{version}-%{release} | |
75 | Requires: %{name}-web = %{version}-%{release} | |
76 | Requires: btparser-devel | |
77 | Requires: curl-devel | |
78 | Requires: json-c-devel | |
79 | Requires: libproxy-devel | |
80 | Requires: libxml2-devel >= 2 | |
81 | Requires: xmlrpc-c-client-devel | |
82 | Requires: xmlrpc-c-devel | |
83 | ||
84 | %description web-devel | |
85 | Development headers for libreport-web. | |
86 | ||
87 | %description web-devel -l pl.UTF-8 | |
88 | Pliki nagłówkowe biblioteki libreport-web. | |
89 | ||
90 | %package python | |
91 | Summary: Python bindings for libreport libraries | |
92 | Summary(pl.UTF-8): Wiązania Pythona dla bibliotek libreport | |
93 | Group: Libraries/Python | |
94 | Requires: %{name} = %{version}-%{release} | |
95 | ||
96 | %description python | |
97 | Python bindings for libreport libraries. | |
98 | ||
99 | %description python -l pl.UTF-8 | |
100 | Wiązania Pythona dla bibliotek libreport | |
101 | ||
102 | %package cli | |
103 | Summary: libreport's command line interface | |
104 | Summary(pl.UTF-8): Interfejs linii poleceń libreport | |
105 | Group: Applications | |
106 | Requires: %{name} = %{version}-%{release} | |
107 | ||
108 | %description cli | |
109 | This package contains simple command line tool for working with | |
110 | problem dump reports. | |
111 | ||
112 | %description cli -l pl.UTF-8 | |
113 | Ten pakiet zawiera proste, działające z linii poleceń narzędzie do | |
114 | pracy ze zgłoszeniami zawierającymi zrzuty problemów. | |
115 | ||
116 | %package newt | |
117 | Summary: libreport's newt interface | |
118 | Summary(pl.UTF-8): Interfejs newt libreport | |
119 | Group: Applications | |
120 | Requires: %{name} = %{version}-%{release} | |
121 | ||
122 | %description newt | |
123 | This package contains a simple newt application for reporting bugs. | |
124 | ||
125 | %description newt -l pl.UTF-8 | |
126 | Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów. | |
127 | ||
128 | %package gtk | |
129 | Summary: GTK+ front-end for libreport | |
130 | Summary(pl.UTF-8): Interfejs GTK+ libreport | |
131 | Group: X11/Applications | |
132 | Requires: %{name} = %{version}-%{release} | |
133 | ||
134 | %description gtk | |
135 | Application for reporting bugs using libreport backend. | |
136 | ||
137 | %description gtk -l pl.UTF-8 | |
138 | Aplikacja do zgłaszania błędów przy użyciu libreport. | |
139 | ||
140 | %package gtk-devel | |
141 | Summary: Development headers for libreport-gtk | |
142 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk | |
143 | Group: Development/Libraries | |
144 | Requires: %{name}-gtk = %{version}-%{release} | |
145 | ||
146 | %description gtk-devel | |
147 | Development headers for libreport-gtk. | |
148 | ||
149 | %description gtk-devel -l pl.UTF-8 | |
150 | Pliki nagłówkowe biblioteki libreport-gtk. | |
151 | ||
152 | %package plugin-bugzilla | |
153 | Summary: libreport's bugzilla plugin | |
154 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę | |
155 | Group: Libraries | |
156 | Requires: %{name} = %{version}-%{release} | |
157 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 | |
158 | ||
159 | %description plugin-bugzilla | |
160 | Plugin to report bugs into the bugzilla. | |
161 | ||
162 | %description plugin-bugzilla -l pl.UTF-8 | |
163 | Wtyczka zgłaszająca problemy do systemu Bugzilla. | |
164 | ||
165 | %package plugin-kerneloops | |
166 | Summary: libreport's kerneloops reporter plugin | |
167 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
168 | Group: Libraries | |
169 | Requires: %{name} = %{version}-%{release} | |
170 | Requires: curl | |
171 | ||
172 | %description plugin-kerneloops | |
173 | This package contains plugin which sends kernel crash information to | |
174 | specified server, usually to kerneloops.org. | |
175 | ||
176 | %description plugin-kerneloops -l pl.UTF-8 | |
177 | Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na | |
178 | określony serwer, zwykle kerneloops.org. | |
179 | ||
180 | %package plugin-logger | |
181 | Summary: libreport's logger reporter plugin | |
182 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
183 | Group: Libraries | |
184 | Requires: %{name} = %{version}-%{release} | |
185 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
186 | ||
187 | %description plugin-logger | |
188 | The simple reporter plugin which writes a report to a specified file. | |
189 | ||
190 | %description plugin-logger -l pl.UTF-8 | |
191 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
192 | pliku. | |
193 | ||
194 | %package plugin-mailx | |
195 | Summary: libreport's mailx reporter plugin | |
196 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
197 | Group: Libraries | |
198 | Requires: %{name} = %{version}-%{release} | |
199 | Requires: mailx | |
200 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
201 | ||
202 | %description plugin-mailx | |
203 | The simple reporter plugin which sends a report via mailx to a | |
204 | specified email address. | |
205 | ||
206 | %description plugin-mailx -l pl.UTF-8 | |
207 | Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony | |
208 | adres e-mail przy użyciu programu mailx. | |
209 | ||
210 | %package plugin-reportuploader | |
211 | Summary: libreport's reportuploader plugin | |
212 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
213 | Group: Libraries | |
214 | Requires: %{name} = %{version}-%{release} | |
215 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 | |
216 | ||
217 | %description plugin-reportuploader | |
218 | Plugin to report bugs into anonymous FTP site associated with | |
219 | ticketing system. | |
220 | ||
221 | %description plugin-reportuploader -l pl.UTF-8 | |
222 | Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z | |
223 | systemem biletów. | |
224 | ||
225 | %package plugin-rhtsupport | |
226 | Summary: libreport's RHTSupport plugin | |
227 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport | |
228 | Group: Libraries | |
229 | Requires: %{name} = %{version}-%{release} | |
230 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 | |
231 | ||
232 | %description plugin-rhtsupport | |
233 | Plugin to report bugs into RH support system. | |
234 | ||
235 | %description plugin-rhtsupport -l pl.UTF-8 | |
236 | Wtyczka zgłaszająca problemy do systemu obsługi RH. | |
237 | ||
238 | %package plugin-ureport | |
239 | Summary: libreport's micro report plugin | |
240 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
241 | Group: Libraries | |
242 | Requires: %{name} = %{version}-%{release} | |
243 | ||
244 | %description plugin-ureport | |
245 | Uploads micro-report to abrt server. | |
246 | ||
247 | %description plugin-ureport -l pl.UTF-8 | |
248 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
249 | ||
250 | %package anaconda | |
251 | Summary: Default configuration for reporting Anaconda bugs | |
252 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
253 | Group: Applications/File | |
254 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
255 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
256 | ||
257 | %description anaconda | |
258 | Default configuration for reporting Anaconda problems using Fedora | |
259 | infrastructure or uploading the gathered data over ftp/scp... | |
260 | ||
261 | %description anaconda -l pl.UTF-8 | |
262 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
263 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
264 | ||
265 | %package fedora | |
266 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
267 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory | |
268 | Group: Applications/File | |
269 | Requires: %{name} = %{version}-%{release} | |
270 | ||
271 | %description fedora | |
272 | Default configuration for reporting bugs via Fedora infrastructure | |
273 | used primarily to easy configure the reporting process for Fedora | |
274 | systems. | |
275 | ||
276 | %description fedora -l pl.UTF-8 | |
277 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
278 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
279 | zgłaszania błędów w systemach Fedora. | |
280 | ||
281 | %package rhel | |
282 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
283 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL | |
284 | Group: Applications/File | |
285 | Requires: %{name} = %{version}-%{release} | |
286 | ||
287 | %description rhel | |
288 | Default configuration for reporting bugs via RHEL infrastructure used | |
289 | primarily to easy configure the reporting process for RHEL systems. | |
290 | ||
291 | %description rhel -l pl.UTF-8 | |
292 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
293 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
294 | zgłaszania błędów w systemach RHEL. | |
295 | ||
296 | %prep | |
297 | %setup -q | |
298 | %patch0 -p1 | |
299 | ||
300 | %build | |
301 | %configure \ | |
302 | --disable-silent-rules | |
303 | %{__make} | |
304 | ||
305 | %install | |
306 | rm -rf $RPM_BUILD_ROOT | |
307 | ||
308 | %{__make} install \ | |
309 | DESTDIR=$RPM_BUILD_ROOT | |
310 | ||
311 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
312 | # compat layer for compatibility tool | |
313 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
314 | ||
315 | %find_lang %{name} | |
316 | ||
317 | %clean | |
318 | rm -rf $RPM_BUILD_ROOT | |
319 | ||
320 | %post -p /sbin/ldconfig | |
321 | %postun -p /sbin/ldconfig | |
322 | ||
323 | %post web -p /sbin/ldconfig | |
324 | %postun web -p /sbin/ldconfig | |
325 | ||
326 | %post gtk -p /sbin/ldconfig | |
327 | %postun gtk -p /sbin/ldconfig | |
328 | ||
329 | %files -f %{name}.lang | |
330 | %defattr(644,root,root,755) | |
331 | %doc README | |
332 | %dir %{_sysconfdir}/%{name} | |
333 | %config(noreplace) %{_sysconfdir}/%{name}/report_event.conf | |
334 | %config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf | |
335 | %dir %{_sysconfdir}/%{name}/events | |
336 | %dir %{_sysconfdir}/%{name}/events.d | |
337 | %dir %{_sysconfdir}/%{name}/plugins | |
338 | %dir %{_sysconfdir}/%{name}/workflows | |
339 | %dir %{_sysconfdir}/%{name}/workflows.d | |
340 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* | |
341 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
342 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
343 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
344 | %{_mandir}/man5/report_event.conf.5* | |
345 | ||
346 | %files devel | |
347 | %defattr(644,root,root,755) | |
348 | %attr(755,root,root) %{_libdir}/libreport.so | |
349 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
350 | %dir %{_includedir}/libreport | |
351 | %{_includedir}/libreport/client.h | |
352 | %{_includedir}/libreport/config_item_info.h | |
353 | %{_includedir}/libreport/dump_dir.h | |
354 | %{_includedir}/libreport/event_config.h | |
355 | %{_includedir}/libreport/file_obj.h | |
356 | %{_includedir}/libreport/problem_data.h | |
357 | %{_includedir}/libreport/report.h | |
358 | %{_includedir}/libreport/run_event.h | |
359 | %{_includedir}/libreport/internal_abrt_dbus.h | |
360 | %{_includedir}/libreport/internal_libreport.h | |
361 | %{_includedir}/libreport/workflow.h | |
362 | %{_includedir}/libreport/xml_parser.h | |
363 | %{_pkgconfigdir}/%{name}.pc | |
364 | ||
365 | %files web | |
366 | %defattr(644,root,root,755) | |
367 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
368 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
369 | ||
370 | %files web-devel | |
371 | %defattr(644,root,root,755) | |
372 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
373 | %{_includedir}/libreport/libreport_curl.h | |
374 | %{_pkgconfigdir}/libreport-web.pc | |
375 | ||
376 | %files python | |
377 | %defattr(644,root,root,755) | |
378 | %{py_sitedir}/report | |
379 | %{py_sitedir}/reportclient | |
380 | ||
381 | %files cli | |
382 | %defattr(644,root,root,755) | |
383 | %attr(755,root,root) %{_bindir}/report-cli | |
384 | %{_mandir}/man1/report-cli.1* | |
385 | ||
386 | %files newt | |
387 | %defattr(644,root,root,755) | |
388 | %attr(755,root,root) %{_bindir}/report-newt | |
389 | ||
390 | %files gtk | |
391 | %defattr(644,root,root,755) | |
392 | %attr(755,root,root) %{_bindir}/report-gtk | |
393 | %attr(755,root,root) %{_libexecdir}/abrt-screencast | |
394 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
395 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
396 | ||
397 | %files gtk-devel | |
398 | %defattr(644,root,root,755) | |
399 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
400 | %{_includedir}/libreport/internal_libreport_gtk.h | |
401 | %{_pkgconfigdir}/libreport-gtk.pc | |
402 | ||
403 | %files plugin-bugzilla | |
404 | %defattr(644,root,root,755) | |
405 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
406 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
407 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
408 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf | |
409 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf | |
410 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf | |
411 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
412 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
413 | %{_sysconfdir}/libreport/events/report_Bugzilla.xml | |
414 | %{_mandir}/man1/reporter-bugzilla.1* | |
415 | ||
416 | %files plugin-kerneloops | |
417 | %defattr(644,root,root,755) | |
418 | %attr(755,root,root) %{_bindir}/reporter-kerneloops | |
419 | %{_sysconfdir}/libreport/events/report_Kerneloops.xml | |
420 | %{_mandir}/man1/reporter-kerneloops.1* | |
421 | ||
422 | %files plugin-logger | |
423 | %defattr(644,root,root,755) | |
424 | %attr(755,root,root) %{_bindir}/reporter-print | |
425 | %{_sysconfdir}/libreport/events/report_Logger.conf | |
426 | %{_sysconfdir}/libreport/events/report_Logger.xml | |
427 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf | |
428 | %{_mandir}/man1/reporter-print.1* | |
429 | ||
430 | %files plugin-mailx | |
431 | %defattr(644,root,root,755) | |
432 | %attr(755,root,root) %{_bindir}/reporter-mailx | |
433 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf | |
434 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
435 | %{_sysconfdir}/libreport/events/report_Mailx.xml | |
436 | %{_mandir}/man1/reporter-mailx.1* | |
437 | ||
438 | %files plugin-reportuploader | |
439 | %defattr(644,root,root,755) | |
440 | %attr(755,root,root) %{_bindir}/reporter-upload | |
441 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf | |
442 | %{_sysconfdir}/libreport/events/report_Uploader.xml | |
443 | %{_sysconfdir}/libreport/workflows/workflow_Upload.xml | |
444 | %{_mandir}/man1/reporter-upload.1* | |
445 | ||
446 | %files plugin-rhtsupport | |
447 | %defattr(644,root,root,755) | |
448 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport | |
449 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf | |
450 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
451 | %{_sysconfdir}/libreport/events/report_RHTSupport.xml | |
452 | %{_mandir}/man1/reporter-rhtsupport.1* | |
453 | ||
454 | %files plugin-ureport | |
455 | %defattr(644,root,root,755) | |
456 | %attr(755,root,root) %{_bindir}/reporter-ureport | |
457 | %{_sysconfdir}/libreport/events/report_uReport.xml | |
458 | %{_sysconfdir}/libreport/events/report_EmergencyAnalysis.xml | |
459 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf | |
460 | ||
461 | %files anaconda | |
462 | %defattr(644,root,root,755) | |
463 | %{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml | |
464 | %{_sysconfdir}/libreport/workflows/workflow_AnacondaUpload.xml | |
465 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf | |
466 | ||
467 | %files fedora | |
468 | %defattr(644,root,root,755) | |
469 | %{_sysconfdir}/libreport/workflows/workflow_Fedora.xml | |
470 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf | |
471 | ||
472 | %files rhel | |
473 | %defattr(644,root,root,755) | |
474 | %{_sysconfdir}/libreport/workflows/workflow_RHEL*.xml | |
475 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |