]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without python2 # Python 2.x modules | |
4 | %bcond_without python3 # Python 3.x modules | |
5 | %bcond_without tests # "make check" | |
6 | ||
7 | Summary: Generic library for reporting various problems | |
8 | Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów | |
9 | Name: libreport | |
10 | Version: 2.9.5 | |
11 | Release: 1 | |
12 | License: GPL v2+ | |
13 | Group: Libraries | |
14 | Source0: https://github.com/abrt/libreport/archive/%{version}/%{name}-%{version}.tar.gz | |
15 | # Source0-md5: a3abcdfbf1b1ec27ce6c44d5ba22b31b | |
16 | URL: https://github.com/abrt/libreport | |
17 | BuildRequires: asciidoc | |
18 | BuildRequires: augeas-devel | |
19 | %{?with_tests:BuildRequires: augeas} | |
20 | BuildRequires: autoconf >= 2.50 | |
21 | BuildRequires: automake | |
22 | BuildRequires: curl-devel | |
23 | BuildRequires: dbus-devel | |
24 | BuildRequires: desktop-file-utils | |
25 | BuildRequires: gettext-tools >= 0.17 | |
26 | BuildRequires: glib2-devel >= 1:2.43 | |
27 | BuildRequires: gtk+3-devel >= 3.0 | |
28 | BuildRequires: intltool >= 0.35.0 | |
29 | BuildRequires: json-c-devel | |
30 | BuildRequires: libproxy-devel | |
31 | BuildRequires: libtar-devel | |
32 | BuildRequires: libtool >= 1:1.4.2 | |
33 | BuildRequires: libxml2-devel >= 2 | |
34 | BuildRequires: newt-devel | |
35 | BuildRequires: nss-devel | |
36 | BuildRequires: pkgconfig | |
37 | # /etc/system-release for non-empty os_release content | |
38 | %{?with_tests:BuildRequires: pld-release >= 3.0-8} | |
39 | %{?with_python2:BuildRequires: python-devel >= 2} | |
40 | %{?with_python3:BuildRequires: python3-devel >= 1:3} | |
41 | BuildRequires: rpmbuild(macros) >= 1.612 | |
42 | BuildRequires: satyr-devel | |
43 | BuildRequires: systemd-devel | |
44 | BuildRequires: xmlrpc-c-client-devel | |
45 | BuildRequires: xmlrpc-c-devel | |
46 | BuildRequires: xmlto | |
47 | Requires: glib2 >= 1:2.43 | |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
49 | ||
50 | %description | |
51 | Libraries providing API for reporting different problems in | |
52 | applications to different bug targets like Bugzilla, ftp, trac, etc... | |
53 | ||
54 | %description -l pl.UTF-8 | |
55 | Biblioteki udostępniające API do zgłaszania różnych programów w | |
56 | aplikacjach do różnych docelowych systemów raportowania błędów, takich | |
57 | jak Bugzilla, ftp, trac... | |
58 | ||
59 | %package devel | |
60 | Summary: Header files for libreport libraries | |
61 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport | |
62 | Group: Development/Libraries | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | Requires: glib2-devel >= 1:2.43 | |
65 | ||
66 | %description devel | |
67 | Header files for libreport libraries. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Pliki nagłówkowe bibliotek libreport. | |
71 | ||
72 | %package web | |
73 | Summary: Library providing network API for libreport | |
74 | Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport | |
75 | Group: Libraries | |
76 | Requires: %{name} = %{version}-%{release} | |
77 | ||
78 | %description web | |
79 | Library providing network API for libreport. | |
80 | ||
81 | %description web -l pl.UTF-8 | |
82 | Biblioteka zapewniająca API sieciowe dla libreport. | |
83 | ||
84 | %package web-devel | |
85 | Summary: Development headers for libreport-web | |
86 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web | |
87 | Group: Development/Libraries | |
88 | Requires: %{name}-devel = %{version}-%{release} | |
89 | Requires: %{name}-web = %{version}-%{release} | |
90 | Requires: curl-devel | |
91 | Requires: json-c-devel | |
92 | Requires: libproxy-devel | |
93 | Requires: libxml2-devel >= 2 | |
94 | Requires: satyr-devel | |
95 | Requires: xmlrpc-c-client-devel | |
96 | Requires: xmlrpc-c-devel | |
97 | ||
98 | %description web-devel | |
99 | Development headers for libreport-web. | |
100 | ||
101 | %description web-devel -l pl.UTF-8 | |
102 | Pliki nagłówkowe biblioteki libreport-web. | |
103 | ||
104 | %package -n python-%{name} | |
105 | Summary: Python 2 bindings for libreport libraries | |
106 | Summary(pl.UTF-8): Wiązania Pythona 2 do bibliotek libreport | |
107 | Group: Libraries/Python | |
108 | Requires: %{name} = %{version}-%{release} | |
109 | Provides: %{name}-python = %{version}-%{release} | |
110 | Obsoletes: libreport-python < 2.1.3-1 | |
111 | ||
112 | %description -n python-%{name} | |
113 | Python 2 bindings for libreport libraries. | |
114 | ||
115 | %description -n python-%{name} -l pl.UTF-8 | |
116 | Wiązania Pythona 2 do bibliotek libreport | |
117 | ||
118 | %package -n python3-%{name} | |
119 | Summary: Python 3 bindings for libreport libraries | |
120 | Summary(pl.UTF-8): Wiązania Pythona 3 do bibliotek libreport | |
121 | Group: Libraries/Python | |
122 | Requires: %{name} = %{version}-%{release} | |
123 | ||
124 | %description -n python3-%{name} | |
125 | Python 3 bindings for libreport libraries. | |
126 | ||
127 | %description -n python3-%{name} -l pl.UTF-8 | |
128 | Wiązania Pythona 3 do bibliotek libreport | |
129 | ||
130 | %package cli | |
131 | Summary: libreport's command line interface | |
132 | Summary(pl.UTF-8): Interfejs linii poleceń libreport | |
133 | Group: Applications | |
134 | Requires: %{name} = %{version}-%{release} | |
135 | ||
136 | %description cli | |
137 | This package contains simple command line tool for working with | |
138 | problem dump reports. | |
139 | ||
140 | %description cli -l pl.UTF-8 | |
141 | Ten pakiet zawiera proste, działające z linii poleceń narzędzie do | |
142 | pracy ze zgłoszeniami zawierającymi zrzuty problemów. | |
143 | ||
144 | %package newt | |
145 | Summary: libreport's newt interface | |
146 | Summary(pl.UTF-8): Interfejs newt libreport | |
147 | Group: Applications | |
148 | Requires: %{name} = %{version}-%{release} | |
149 | ||
150 | %description newt | |
151 | This package contains a simple newt application for reporting bugs. | |
152 | ||
153 | %description newt -l pl.UTF-8 | |
154 | Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów. | |
155 | ||
156 | %package gtk | |
157 | Summary: GTK+ front-end for libreport | |
158 | Summary(pl.UTF-8): Interfejs GTK+ libreport | |
159 | Group: X11/Applications | |
160 | Requires: %{name} = %{version}-%{release} | |
161 | ||
162 | %description gtk | |
163 | Application for reporting bugs using libreport backend. | |
164 | ||
165 | %description gtk -l pl.UTF-8 | |
166 | Aplikacja do zgłaszania błędów przy użyciu libreport. | |
167 | ||
168 | %package gtk-devel | |
169 | Summary: Development headers for libreport-gtk | |
170 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk | |
171 | Group: Development/Libraries | |
172 | Requires: %{name}-gtk = %{version}-%{release} | |
173 | ||
174 | %description gtk-devel | |
175 | Development headers for libreport-gtk. | |
176 | ||
177 | %description gtk-devel -l pl.UTF-8 | |
178 | Pliki nagłówkowe biblioteki libreport-gtk. | |
179 | ||
180 | %package plugin-bugzilla | |
181 | Summary: libreport's bugzilla plugin | |
182 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę | |
183 | Group: Libraries | |
184 | Requires: %{name}-web = %{version}-%{release} | |
185 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 | |
186 | ||
187 | %description plugin-bugzilla | |
188 | Plugin to report bugs into the bugzilla. | |
189 | ||
190 | %description plugin-bugzilla -l pl.UTF-8 | |
191 | Wtyczka zgłaszająca problemy do systemu Bugzilla. | |
192 | ||
193 | %package plugin-kerneloops | |
194 | Summary: libreport's kerneloops reporter plugin | |
195 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
196 | Group: Libraries | |
197 | Requires: %{name}-web = %{version}-%{release} | |
198 | Requires: curl | |
199 | ||
200 | %description plugin-kerneloops | |
201 | This package contains plugin which sends kernel crash information to | |
202 | specified server, usually to kerneloops.org. | |
203 | ||
204 | %description plugin-kerneloops -l pl.UTF-8 | |
205 | Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na | |
206 | określony serwer, zwykle kerneloops.org. | |
207 | ||
208 | %package plugin-logger | |
209 | Summary: libreport's logger reporter plugin | |
210 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
211 | Group: Libraries | |
212 | Requires: %{name} = %{version}-%{release} | |
213 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
214 | ||
215 | %description plugin-logger | |
216 | The simple reporter plugin which writes a report to a specified file. | |
217 | ||
218 | %description plugin-logger -l pl.UTF-8 | |
219 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
220 | pliku. | |
221 | ||
222 | %package plugin-mailx | |
223 | Summary: libreport's mailx reporter plugin | |
224 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
225 | Group: Libraries | |
226 | Requires: %{name} = %{version}-%{release} | |
227 | Requires: mailx | |
228 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
229 | ||
230 | %description plugin-mailx | |
231 | The simple reporter plugin which sends a report via mailx to a | |
232 | specified email address. | |
233 | ||
234 | %description plugin-mailx -l pl.UTF-8 | |
235 | Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony | |
236 | adres e-mail przy użyciu programu mailx. | |
237 | ||
238 | %package plugin-mantisbt | |
239 | Summary: libreport's mantisbt plugin | |
240 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez mantisbt | |
241 | Group: Libraries | |
242 | Requires: %{name}-web = %{version}-%{release} | |
243 | ||
244 | %description plugin-mantisbt | |
245 | Plugin to report bugs into the mantisbt. | |
246 | ||
247 | %description plugin-mantisbt -l pl.UTF-8 | |
248 | Wtyczka zgłaszająca problemy do systemu mantisbt. | |
249 | ||
250 | %package plugin-reportuploader | |
251 | Summary: libreport's reportuploader plugin | |
252 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
253 | Group: Libraries | |
254 | Requires: %{name}-web = %{version}-%{release} | |
255 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 | |
256 | ||
257 | %description plugin-reportuploader | |
258 | Plugin to report bugs into anonymous FTP site associated with | |
259 | ticketing system. | |
260 | ||
261 | %description plugin-reportuploader -l pl.UTF-8 | |
262 | Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z | |
263 | systemem biletów. | |
264 | ||
265 | %package plugin-rhtsupport | |
266 | Summary: libreport's RHTSupport plugin | |
267 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport | |
268 | Group: Libraries | |
269 | Requires: %{name}-web = %{version}-%{release} | |
270 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 | |
271 | ||
272 | %description plugin-rhtsupport | |
273 | Plugin to report bugs into RH support system. | |
274 | ||
275 | %description plugin-rhtsupport -l pl.UTF-8 | |
276 | Wtyczka zgłaszająca problemy do systemu obsługi RH. | |
277 | ||
278 | %package plugin-systemd-journal | |
279 | Summary: libreport's systemd journal reporter plugin | |
280 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w kronice systemd | |
281 | Group: Libraries | |
282 | Requires: %{name} = %{version}-%{release} | |
283 | ||
284 | %description plugin-systemd-journal | |
285 | The simple reporter plugin which writes a report to the systemd | |
286 | journal. | |
287 | ||
288 | %description plugin-systemd-journal -l pl.UTF-8 | |
289 | Prosta wtyczka zgłoszeń zapisująca raport w kronice systemd. | |
290 | ||
291 | %package plugin-ureport | |
292 | Summary: libreport's micro report plugin | |
293 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
294 | Group: Libraries | |
295 | Requires: %{name}-web = %{version}-%{release} | |
296 | ||
297 | %description plugin-ureport | |
298 | Uploads micro-report to abrt server. | |
299 | ||
300 | %description plugin-ureport -l pl.UTF-8 | |
301 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
302 | ||
303 | %package anaconda | |
304 | Summary: Default configuration for reporting Anaconda bugs | |
305 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
306 | Group: Applications/File | |
307 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
308 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
309 | ||
310 | %description anaconda | |
311 | Default configuration for reporting Anaconda problems using Fedora | |
312 | infrastructure or uploading the gathered data over ftp/scp... | |
313 | ||
314 | %description anaconda -l pl.UTF-8 | |
315 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
316 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
317 | ||
318 | %package centos | |
319 | Summary: Default configuration for reporting bugs via CentOS infrastructure | |
320 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę CentOS | |
321 | Group: Applications/File | |
322 | Requires: %{name}-plugin-mantisbt = %{version}-%{release} | |
323 | Requires: %{name}-web = %{version}-%{release} | |
324 | ||
325 | %description centos | |
326 | Default configuration for reporting bugs via CentOS infrastructure | |
327 | used primarily to easy configure the reporting process for CentOS | |
328 | systems. | |
329 | ||
330 | %description centos -l pl.UTF-8 | |
331 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
332 | CentOS, służąca przede wszystkim do łatwej konfiguracji procesu | |
333 | zgłaszania błędów w systemach CentOS. | |
334 | ||
335 | %package fedora | |
336 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
337 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę Fedory | |
338 | Group: Applications/File | |
339 | Requires: %{name} = %{version}-%{release} | |
340 | ||
341 | %description fedora | |
342 | Default configuration for reporting bugs via Fedora infrastructure | |
343 | used primarily to easy configure the reporting process for Fedora | |
344 | systems. | |
345 | ||
346 | %description fedora -l pl.UTF-8 | |
347 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
348 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
349 | zgłaszania błędów w systemach Fedora. | |
350 | ||
351 | %package rhel | |
352 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
353 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę RHEL | |
354 | Group: Applications/File | |
355 | Requires: %{name} = %{version}-%{release} | |
356 | ||
357 | %description rhel | |
358 | Default configuration for reporting bugs via RHEL infrastructure used | |
359 | primarily to easy configure the reporting process for RHEL systems. | |
360 | ||
361 | %description rhel -l pl.UTF-8 | |
362 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
363 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
364 | zgłaszania błędów w systemach RHEL. | |
365 | ||
366 | %prep | |
367 | %setup -q | |
368 | ||
369 | ./gen-version | |
370 | ||
371 | %build | |
372 | %{__gettextize} | |
373 | %{__intltoolize} | |
374 | %{__libtoolize} | |
375 | %{__aclocal} -I m4 | |
376 | %{__autoconf} | |
377 | %{__autoheader} | |
378 | %{__automake} | |
379 | %configure \ | |
380 | AUGPARSE=/usr/bin/augparse \ | |
381 | --disable-silent-rules \ | |
382 | %{!?with_python2:--without-python2} \ | |
383 | %{!?with_python3:--without-python3} | |
384 | ||
385 | %{__make} | |
386 | ||
387 | %if %{with tests} | |
388 | %{__make} check || (cat tests/test-suite.log && /bin/false) | |
389 | %endif | |
390 | ||
391 | %install | |
392 | rm -rf $RPM_BUILD_ROOT | |
393 | ||
394 | %{__make} install \ | |
395 | DESTDIR=$RPM_BUILD_ROOT | |
396 | ||
397 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
398 | # compat layer for compatibility tool | |
399 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
400 | ||
401 | %if %{with python2} | |
402 | %py_postclean | |
403 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la | |
404 | %endif | |
405 | %if %{with python3} | |
406 | # automake uses $PYTHON for both versions, recompile using python3 | |
407 | %py_postclean %{py3_sitedir} | |
408 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
409 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
410 | %endif | |
411 | ||
412 | # empty versions of nb,ru | |
413 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU} | |
414 | # not supported by glibc yet | |
415 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo} | |
416 | ||
417 | %find_lang %{name} | |
418 | ||
419 | %clean | |
420 | rm -rf $RPM_BUILD_ROOT | |
421 | ||
422 | %post -p /sbin/ldconfig | |
423 | %postun -p /sbin/ldconfig | |
424 | ||
425 | %post web -p /sbin/ldconfig | |
426 | %postun web -p /sbin/ldconfig | |
427 | ||
428 | %post gtk -p /sbin/ldconfig | |
429 | %postun gtk -p /sbin/ldconfig | |
430 | ||
431 | %files -f %{name}.lang | |
432 | %defattr(644,root,root,755) | |
433 | %doc CHANGELOG.md README.md | |
434 | %dir %{_sysconfdir}/%{name} | |
435 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf | |
436 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
437 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
438 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf | |
439 | %dir %{_sysconfdir}/%{name}/events | |
440 | %dir %{_sysconfdir}/%{name}/events.d | |
441 | %dir %{_sysconfdir}/%{name}/plugins | |
442 | %dir %{_sysconfdir}/%{name}/workflows.d | |
443 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* | |
444 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
445 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
446 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
447 | %{_datadir}/augeas/lenses/libreport.aug | |
448 | %dir %{_datadir}/libreport | |
449 | %dir %{_datadir}/libreport/conf.d | |
450 | %{_datadir}/libreport/conf.d/libreport.conf | |
451 | %dir %{_datadir}/libreport/conf.d/plugins | |
452 | %dir %{_datadir}/libreport/events | |
453 | %dir %{_datadir}/libreport/workflows | |
454 | %{_mandir}/man5/forbidden_words.conf.5* | |
455 | %{_mandir}/man5/ignored_words.conf.5* | |
456 | %{_mandir}/man5/libreport.conf.5* | |
457 | %{_mandir}/man5/report_event.conf.5* | |
458 | ||
459 | %files devel | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/libreport.so | |
462 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
463 | %dir %{_includedir}/libreport | |
464 | %{_includedir}/libreport/client.h | |
465 | %{_includedir}/libreport/config_item_info.h | |
466 | %{_includedir}/libreport/dump_dir.h | |
467 | %{_includedir}/libreport/event_config.h | |
468 | %{_includedir}/libreport/file_obj.h | |
469 | %{_includedir}/libreport/global_configuration.h | |
470 | %{_includedir}/libreport/libreport_types.h | |
471 | %{_includedir}/libreport/problem_data.h | |
472 | %{_includedir}/libreport/report.h | |
473 | %{_includedir}/libreport/run_event.h | |
474 | %{_includedir}/libreport/internal_abrt_dbus.h | |
475 | %{_includedir}/libreport/internal_libreport.h | |
476 | %{_includedir}/libreport/problem_report.h | |
477 | %{_includedir}/libreport/problem_utils.h | |
478 | %{_includedir}/libreport/reporters.h | |
479 | %{_includedir}/libreport/ureport.h | |
480 | %{_includedir}/libreport/workflow.h | |
481 | %{_includedir}/libreport/xml_parser.h | |
482 | %{_includedir}/libreport/helpers | |
483 | %{_pkgconfigdir}/libreport.pc | |
484 | ||
485 | %files web | |
486 | %defattr(644,root,root,755) | |
487 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
488 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
489 | ||
490 | %files web-devel | |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
493 | %{_includedir}/libreport/libreport_curl.h | |
494 | %{_pkgconfigdir}/libreport-web.pc | |
495 | ||
496 | %if %{with python2} | |
497 | %files -n python-%{name} | |
498 | %defattr(644,root,root,755) | |
499 | %dir %{py_sitedir}/report | |
500 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
501 | %{py_sitedir}/report/*.py[co] | |
502 | %dir %{py_sitedir}/report/io | |
503 | %{py_sitedir}/report/io/*.py[co] | |
504 | %dir %{py_sitedir}/reportclient | |
505 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
506 | %{py_sitedir}/reportclient/*.py[co] | |
507 | %endif | |
508 | ||
509 | %if %{with python3} | |
510 | %files -n python3-%{name} | |
511 | %defattr(644,root,root,755) | |
512 | %dir %{py3_sitedir}/report | |
513 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
514 | %{py3_sitedir}/report/*.py* | |
515 | %dir %{py3_sitedir}/report/io | |
516 | %{py3_sitedir}/report/io/*.py* | |
517 | %dir %{py3_sitedir}/reportclient | |
518 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
519 | %{py3_sitedir}/reportclient/*.py* | |
520 | %endif | |
521 | ||
522 | %files cli | |
523 | %defattr(644,root,root,755) | |
524 | %attr(755,root,root) %{_bindir}/report-cli | |
525 | %{_mandir}/man1/report-cli.1* | |
526 | ||
527 | %files newt | |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{_bindir}/report-newt | |
530 | %{_mandir}/man1/report-newt.1* | |
531 | ||
532 | %files gtk | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_bindir}/report-gtk | |
535 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
536 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
537 | %{_mandir}/man1/report-gtk.1* | |
538 | ||
539 | %files gtk-devel | |
540 | %defattr(644,root,root,755) | |
541 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
542 | %{_includedir}/libreport/internal_libreport_gtk.h | |
543 | %{_includedir}/libreport/problem_details_dialog.h | |
544 | %{_includedir}/libreport/problem_details_widget.h | |
545 | %{_pkgconfigdir}/libreport-gtk.pc | |
546 | ||
547 | %files plugin-bugzilla | |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
550 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
551 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
552 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf | |
553 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf | |
554 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf | |
555 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
556 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
557 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml | |
558 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
559 | %{_datadir}/libreport/events/report_Bugzilla.xml | |
560 | %{_datadir}/libreport/events/watch_Bugzilla.xml | |
561 | %{_mandir}/man1/reporter-bugzilla.1* | |
562 | %{_mandir}/man5/bugzilla.conf.5* | |
563 | %{_mandir}/man5/bugzilla_event.conf.5* | |
564 | %{_mandir}/man5/bugzilla_format.conf.5* | |
565 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* | |
566 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* | |
567 | %{_mandir}/man5/bugzilla_formatdup.conf.5* | |
568 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
569 | ||
570 | %files plugin-kerneloops | |
571 | %defattr(644,root,root,755) | |
572 | %attr(755,root,root) %{_bindir}/reporter-kerneloops | |
573 | %{_datadir}/libreport/events/report_Kerneloops.xml | |
574 | %{_mandir}/man1/reporter-kerneloops.1* | |
575 | ||
576 | %files plugin-logger | |
577 | %defattr(644,root,root,755) | |
578 | %attr(755,root,root) %{_bindir}/reporter-print | |
579 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf | |
580 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf | |
581 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf | |
582 | %{_datadir}/libreport/events/report_Logger.xml | |
583 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
584 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
585 | %{_mandir}/man1/reporter-print.1* | |
586 | %{_mandir}/man5/print_event.conf.5* | |
587 | %{_mandir}/man5/report_Logger.conf.5* | |
588 | %{_mandir}/man5/report_logger.conf.5* | |
589 | ||
590 | %files plugin-mailx | |
591 | %defattr(644,root,root,755) | |
592 | %attr(755,root,root) %{_bindir}/reporter-mailx | |
593 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf | |
594 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
595 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf | |
596 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml | |
597 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
598 | %{_datadir}/libreport/events/report_Mailx.xml | |
599 | %{_datadir}/libreport/workflows/workflow_Mailx.xml | |
600 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
601 | %{_mandir}/man1/reporter-mailx.1* | |
602 | %{_mandir}/man5/mailx.conf.5* | |
603 | %{_mandir}/man5/mailx_event.conf.5* | |
604 | %{_mandir}/man5/report_mailx.conf.5* | |
605 | ||
606 | %files plugin-mantisbt | |
607 | %defattr(644,root,root,755) | |
608 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
609 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
610 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
611 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf | |
612 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf | |
613 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf | |
614 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf | |
615 | %{_mandir}/man1/reporter-mantisbt.1* | |
616 | %{_mandir}/man5/mantisbt.conf.5* | |
617 | %{_mandir}/man5/mantisbt_format.conf.5* | |
618 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* | |
619 | %{_mandir}/man5/mantisbt_formatdup.conf.5* | |
620 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* | |
621 | ||
622 | %files plugin-reportuploader | |
623 | %defattr(644,root,root,755) | |
624 | %attr(755,root,root) %{_bindir}/reporter-upload | |
625 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf | |
626 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf | |
627 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf | |
628 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
629 | %{_datadir}/libreport/conf.d/plugins/upload.conf | |
630 | %{_datadir}/libreport/events/report_Uploader.xml | |
631 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
632 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml | |
633 | %{_mandir}/man1/reporter-upload.1* | |
634 | %{_mandir}/man5/report_Uploader.conf.5* | |
635 | %{_mandir}/man5/report_uploader.conf.5* | |
636 | %{_mandir}/man5/uploader_event.conf.5* | |
637 | %{_mandir}/man5/upload.conf.5* | |
638 | ||
639 | %files plugin-rhtsupport | |
640 | %defattr(644,root,root,755) | |
641 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport | |
642 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf | |
643 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
644 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml | |
645 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
646 | %{_datadir}/libreport/events/report_RHTSupport.xml | |
647 | %{_datadir}/libreport/events/report_RHTSupport_AddData.xml | |
648 | %{_mandir}/man1/reporter-rhtsupport.1* | |
649 | %{_mandir}/man5/rhtsupport.conf.5* | |
650 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
651 | ||
652 | %files plugin-systemd-journal | |
653 | %defattr(644,root,root,755) | |
654 | %attr(755,root,root) %{_bindir}/reporter-systemd-journal | |
655 | %{_mandir}/man1/reporter-systemd-journal.1* | |
656 | ||
657 | %files plugin-ureport | |
658 | %defattr(644,root,root,755) | |
659 | %attr(755,root,root) %{_bindir}/reporter-ureport | |
660 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf | |
661 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf | |
662 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf | |
663 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml | |
664 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
665 | %{_datadir}/libreport/events/report_uReport.xml | |
666 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
667 | %{_datadir}/libreport/workflows/workflow_uReport.xml | |
668 | %{_mandir}/man1/reporter-ureport.1* | |
669 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
670 | %{_mandir}/man5/report_uReport.conf.5* | |
671 | %{_mandir}/man5/ureport.conf.5* | |
672 | ||
673 | %files anaconda | |
674 | %defattr(644,root,root,755) | |
675 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf | |
676 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
677 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
678 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf | |
679 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml | |
680 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
681 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml | |
682 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml | |
683 | %{_mandir}/man5/anaconda_event.conf.5* | |
684 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
685 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
686 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
687 | ||
688 | %files centos | |
689 | %defattr(644,root,root,755) | |
690 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
691 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
692 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
693 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
694 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
695 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
696 | %{_datadir}/libreport/workflows/workflow_CentOSJavaScript.xml | |
697 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml | |
698 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
699 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
700 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
701 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
702 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
703 | %{_mandir}/man5/centos_report_event.conf.5* | |
704 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
705 | %{_mandir}/man5/report_centos.conf.5* | |
706 | ||
707 | %files fedora | |
708 | %defattr(644,root,root,755) | |
709 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf | |
710 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml | |
711 | %{_mandir}/man5/report_fedora.conf.5* | |
712 | ||
713 | %files rhel | |
714 | %defattr(644,root,root,755) | |
715 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf | |
716 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf | |
717 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf | |
718 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml | |
719 | %{_mandir}/man5/report_rhel.conf.5* | |
720 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |