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