]>
Commit | Line | Data |
---|---|---|
fa7dfe3b | 1 | # TODO: teach build system to use python3.2+ __pycache__ |
259e35fc JB |
2 | # |
3 | # Conditional build: | |
4 | %bcond_without tests # "make check" | |
90e55b11 | 5 | |
fabfa611 | 6 | Summary: Generic library for reporting various problems |
6a2e0478 | 7 | Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów |
fabfa611 | 8 | Name: libreport |
d915e0d3 JB |
9 | Version: 2.6.3 |
10 | Release: 1 | |
742c5e14 | 11 | License: GPL v2+ |
fabfa611 JR |
12 | Group: Libraries |
13 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
d915e0d3 | 14 | # Source0-md5: a377e6dc8665e679a72fefd09341c9c5 |
fabfa611 | 15 | Patch0: format-security.patch |
90e55b11 | 16 | URL: https://github.com/abrt/libreport |
fabfa611 | 17 | BuildRequires: asciidoc |
259e35fc JB |
18 | %{?with_tests:BuildRequires: augeas} |
19 | BuildRequires: augeas-devel | |
ba330959 JB |
20 | BuildRequires: autoconf >= 2.50 |
21 | BuildRequires: automake | |
fabfa611 JR |
22 | BuildRequires: curl-devel |
23 | BuildRequires: dbus-devel | |
24 | BuildRequires: desktop-file-utils | |
a206e817 | 25 | BuildRequires: gettext-tools >= 0.17 |
742c5e14 JB |
26 | BuildRequires: glib2-devel >= 1:2.21 |
27 | BuildRequires: gtk+3-devel >= 3.0 | |
28 | BuildRequires: intltool >= 0.35.0 | |
6a2e0478 | 29 | BuildRequires: json-c-devel |
fabfa611 JR |
30 | BuildRequires: libproxy-devel |
31 | BuildRequires: libtar-devel | |
ba330959 | 32 | BuildRequires: libtool >= 1:1.4.2 |
742c5e14 | 33 | BuildRequires: libxml2-devel >= 2 |
fabfa611 JR |
34 | BuildRequires: newt-devel |
35 | BuildRequires: nss-devel | |
742c5e14 | 36 | BuildRequires: pkgconfig |
fa7dfe3b JB |
37 | BuildRequires: python-devel >= 2 |
38 | BuildRequires: python3-devel >= 3 | |
39 | BuildRequires: rpmbuild(macros) >= 1.612 | |
59b16745 | 40 | BuildRequires: satyr-devel |
259e35fc JB |
41 | # libsystemd-journal |
42 | BuildRequires: systemd-devel | |
fabfa611 JR |
43 | BuildRequires: xmlrpc-c-client-devel |
44 | BuildRequires: xmlrpc-c-devel | |
45 | BuildRequires: xmlto | |
53dd4a24 | 46 | BuildRequires: xz-devel |
742c5e14 | 47 | Requires: glib2 >= 1:2.21 |
fabfa611 JR |
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 | ||
6a2e0478 JB |
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... | |
fabfa611 JR |
58 | |
59 | %package devel | |
6a2e0478 JB |
60 | Summary: Header files for libreport libraries |
61 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport | |
fabfa611 JR |
62 | Group: Development/Libraries |
63 | Requires: %{name} = %{version}-%{release} | |
742c5e14 | 64 | Requires: glib2-devel >= 1:2.21 |
fabfa611 JR |
65 | |
66 | %description devel | |
6a2e0478 | 67 | Header files for libreport libraries. |
fabfa611 JR |
68 | |
69 | %description devel -l pl.UTF-8 | |
6a2e0478 | 70 | Pliki nagłówkowe bibliotek libreport. |
fabfa611 JR |
71 | |
72 | %package web | |
73 | Summary: Library providing network API for libreport | |
6a2e0478 | 74 | Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport |
fabfa611 JR |
75 | Group: Libraries |
76 | Requires: %{name} = %{version}-%{release} | |
77 | ||
78 | %description web | |
6a2e0478 JB |
79 | Library providing network API for libreport. |
80 | ||
81 | %description web -l pl.UTF-8 | |
82 | Biblioteka zapewniająca API sieciowe dla libreport. | |
fabfa611 JR |
83 | |
84 | %package web-devel | |
85 | Summary: Development headers for libreport-web | |
6a2e0478 | 86 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web |
fabfa611 | 87 | Group: Development/Libraries |
6a2e0478 | 88 | Requires: %{name}-devel = %{version}-%{release} |
fabfa611 | 89 | Requires: %{name}-web = %{version}-%{release} |
742c5e14 JB |
90 | Requires: curl-devel |
91 | Requires: json-c-devel | |
92 | Requires: libproxy-devel | |
93 | Requires: libxml2-devel >= 2 | |
59b16745 | 94 | Requires: satyr-devel |
742c5e14 JB |
95 | Requires: xmlrpc-c-client-devel |
96 | Requires: xmlrpc-c-devel | |
fabfa611 JR |
97 | |
98 | %description web-devel | |
6a2e0478 JB |
99 | Development headers for libreport-web. |
100 | ||
101 | %description web-devel -l pl.UTF-8 | |
102 | Pliki nagłówkowe biblioteki libreport-web. | |
fabfa611 | 103 | |
00cca651 | 104 | %package -n python-%{name} |
fa7dfe3b JB |
105 | Summary: Python 2 bindings for libreport libraries |
106 | Summary(pl.UTF-8): Wiązania Pythona 2 do bibliotek libreport | |
6a2e0478 | 107 | Group: Libraries/Python |
fabfa611 | 108 | Requires: %{name} = %{version}-%{release} |
00cca651 ER |
109 | Provides: %{name}-python = %{version}-%{release} |
110 | Obsoletes: libreport-python < 2.1.3-1 | |
fabfa611 | 111 | |
00cca651 | 112 | %description -n python-%{name} |
fa7dfe3b | 113 | Python 2 bindings for libreport libraries. |
6a2e0478 | 114 | |
00cca651 | 115 | %description -n python-%{name} -l pl.UTF-8 |
fa7dfe3b JB |
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 | |
fabfa611 JR |
129 | |
130 | %package cli | |
6a2e0478 JB |
131 | Summary: libreport's command line interface |
132 | Summary(pl.UTF-8): Interfejs linii poleceń libreport | |
133 | Group: Applications | |
fabfa611 JR |
134 | Requires: %{name} = %{version}-%{release} |
135 | ||
136 | %description cli | |
137 | This package contains simple command line tool for working with | |
6a2e0478 JB |
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. | |
fabfa611 JR |
143 | |
144 | %package newt | |
6a2e0478 JB |
145 | Summary: libreport's newt interface |
146 | Summary(pl.UTF-8): Interfejs newt libreport | |
147 | Group: Applications | |
fabfa611 JR |
148 | Requires: %{name} = %{version}-%{release} |
149 | ||
150 | %description newt | |
6a2e0478 JB |
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. | |
fabfa611 JR |
155 | |
156 | %package gtk | |
6a2e0478 JB |
157 | Summary: GTK+ front-end for libreport |
158 | Summary(pl.UTF-8): Interfejs GTK+ libreport | |
fabfa611 JR |
159 | Group: X11/Applications |
160 | Requires: %{name} = %{version}-%{release} | |
161 | ||
162 | %description gtk | |
6a2e0478 JB |
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. | |
fabfa611 JR |
167 | |
168 | %package gtk-devel | |
6a2e0478 JB |
169 | Summary: Development headers for libreport-gtk |
170 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk | |
fabfa611 JR |
171 | Group: Development/Libraries |
172 | Requires: %{name}-gtk = %{version}-%{release} | |
173 | ||
174 | %description gtk-devel | |
6a2e0478 JB |
175 | Development headers for libreport-gtk. |
176 | ||
177 | %description gtk-devel -l pl.UTF-8 | |
178 | Pliki nagłówkowe biblioteki libreport-gtk. | |
fabfa611 | 179 | |
742c5e14 JB |
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 | |
7bc0f56a | 184 | Requires: %{name}-web = %{version}-%{release} |
742c5e14 JB |
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 | ||
fabfa611 | 193 | %package plugin-kerneloops |
6a2e0478 JB |
194 | Summary: libreport's kerneloops reporter plugin |
195 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
fabfa611 | 196 | Group: Libraries |
7bc0f56a | 197 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 JR |
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 | ||
6a2e0478 JB |
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 | ||
fabfa611 | 208 | %package plugin-logger |
6a2e0478 JB |
209 | Summary: libreport's logger reporter plugin |
210 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
fabfa611 JR |
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 | ||
6a2e0478 JB |
218 | %description plugin-logger -l pl.UTF-8 |
219 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
220 | pliku. | |
221 | ||
fabfa611 | 222 | %package plugin-mailx |
6a2e0478 JB |
223 | Summary: libreport's mailx reporter plugin |
224 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
fabfa611 JR |
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 | ||
6a2e0478 JB |
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 | ||
7bc0f56a JB |
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 | ||
742c5e14 JB |
250 | %package plugin-reportuploader |
251 | Summary: libreport's reportuploader plugin | |
252 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
fabfa611 | 253 | Group: Libraries |
7bc0f56a | 254 | Requires: %{name}-web = %{version}-%{release} |
742c5e14 | 255 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 |
fabfa611 | 256 | |
742c5e14 JB |
257 | %description plugin-reportuploader |
258 | Plugin to report bugs into anonymous FTP site associated with | |
259 | ticketing system. | |
fabfa611 | 260 | |
742c5e14 JB |
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. | |
fabfa611 JR |
264 | |
265 | %package plugin-rhtsupport | |
6a2e0478 JB |
266 | Summary: libreport's RHTSupport plugin |
267 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport | |
fabfa611 | 268 | Group: Libraries |
7bc0f56a | 269 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 JR |
270 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 |
271 | ||
272 | %description plugin-rhtsupport | |
273 | Plugin to report bugs into RH support system. | |
274 | ||
6a2e0478 JB |
275 | %description plugin-rhtsupport -l pl.UTF-8 |
276 | Wtyczka zgłaszająca problemy do systemu obsługi RH. | |
277 | ||
742c5e14 JB |
278 | %package plugin-ureport |
279 | Summary: libreport's micro report plugin | |
280 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
fabfa611 | 281 | Group: Libraries |
7bc0f56a | 282 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 | 283 | |
742c5e14 JB |
284 | %description plugin-ureport |
285 | Uploads micro-report to abrt server. | |
fabfa611 | 286 | |
742c5e14 JB |
287 | %description plugin-ureport -l pl.UTF-8 |
288 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
289 | ||
290 | %package anaconda | |
291 | Summary: Default configuration for reporting Anaconda bugs | |
292 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
293 | Group: Applications/File | |
294 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
295 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
296 | ||
297 | %description anaconda | |
298 | Default configuration for reporting Anaconda problems using Fedora | |
299 | infrastructure or uploading the gathered data over ftp/scp... | |
300 | ||
301 | %description anaconda -l pl.UTF-8 | |
302 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
303 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
304 | ||
7bc0f56a JB |
305 | %package centos |
306 | Summary: Default configuration for reporting bugs via CentOS infrastructure | |
307 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę CentOS | |
308 | Group: Applications/File | |
309 | Requires: %{name}-web = %{version}-%{release} | |
310 | Requires: %{name}-plugin-mantisbt = %{version}-%{release} | |
311 | ||
312 | %description centos | |
313 | Default configuration for reporting bugs via CentOS infrastructure | |
314 | used primarily to easy configure the reporting process for CentOS | |
315 | systems. | |
316 | ||
317 | %description centos -l pl.UTF-8 | |
318 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
319 | CentOS, służąca przede wszystkim do łatwej konfiguracji procesu | |
320 | zgłaszania błędów w systemach CentOS. | |
321 | ||
742c5e14 JB |
322 | %package fedora |
323 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
7bc0f56a | 324 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę Fedory |
742c5e14 JB |
325 | Group: Applications/File |
326 | Requires: %{name} = %{version}-%{release} | |
327 | ||
328 | %description fedora | |
329 | Default configuration for reporting bugs via Fedora infrastructure | |
330 | used primarily to easy configure the reporting process for Fedora | |
331 | systems. | |
332 | ||
333 | %description fedora -l pl.UTF-8 | |
334 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
335 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
336 | zgłaszania błędów w systemach Fedora. | |
6a2e0478 | 337 | |
97b82249 JB |
338 | %package rhel |
339 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
7bc0f56a | 340 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę RHEL |
97b82249 JB |
341 | Group: Applications/File |
342 | Requires: %{name} = %{version}-%{release} | |
343 | ||
344 | %description rhel | |
345 | Default configuration for reporting bugs via RHEL infrastructure used | |
346 | primarily to easy configure the reporting process for RHEL systems. | |
347 | ||
348 | %description rhel -l pl.UTF-8 | |
349 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
350 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
351 | zgłaszania błędów w systemach RHEL. | |
352 | ||
fabfa611 JR |
353 | %prep |
354 | %setup -q | |
355 | %patch0 -p1 | |
356 | ||
357 | %build | |
ba330959 JB |
358 | %{__libtoolize} |
359 | %{__aclocal} -I m4 | |
360 | %{__autoconf} | |
361 | %{__autoheader} | |
362 | %{__automake} | |
742c5e14 | 363 | %configure \ |
259e35fc | 364 | AUGPARSE=/usr/bin/augparse \ |
59b16745 JB |
365 | --disable-silent-rules |
366 | ||
fabfa611 JR |
367 | %{__make} |
368 | ||
259e35fc JB |
369 | %if %{with tests} |
370 | %{__make} check | |
371 | %endif | |
372 | ||
fabfa611 JR |
373 | %install |
374 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
375 | |
376 | %{__make} install \ | |
377 | DESTDIR=$RPM_BUILD_ROOT | |
378 | ||
379 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
742c5e14 JB |
380 | # compat layer for compatibility tool |
381 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
fabfa611 | 382 | |
fa7dfe3b JB |
383 | %py_postclean |
384 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la | |
69cb13e6 | 385 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report*/*.la |
fa7dfe3b | 386 | |
d915e0d3 JB |
387 | # empty versions of nb,ru |
388 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU} | |
389 | # not supported by glibc yet | |
390 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo} | |
d8f3599a | 391 | |
fabfa611 JR |
392 | %find_lang %{name} |
393 | ||
394 | %clean | |
395 | rm -rf $RPM_BUILD_ROOT | |
396 | ||
397 | %post -p /sbin/ldconfig | |
398 | %postun -p /sbin/ldconfig | |
9548a96e JR |
399 | |
400 | %post web -p /sbin/ldconfig | |
401 | %postun web -p /sbin/ldconfig | |
402 | ||
403 | %post gtk -p /sbin/ldconfig | |
404 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
405 | |
406 | %files -f %{name}.lang | |
407 | %defattr(644,root,root,755) | |
408 | %doc README | |
6a2e0478 | 409 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
410 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
411 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
412 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
7bc0f56a | 413 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf |
6a2e0478 | 414 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 415 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 416 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 417 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 JR |
418 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
419 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
420 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
421 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 422 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 423 | %dir %{_datadir}/libreport |
259e35fc | 424 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 425 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 426 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
427 | %dir %{_datadir}/libreport/events |
428 | %dir %{_datadir}/libreport/workflows | |
429 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 430 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 431 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
432 | %{_mandir}/man5/report_event.conf.5* |
433 | ||
fabfa611 JR |
434 | %files devel |
435 | %defattr(644,root,root,755) | |
6a2e0478 JB |
436 | %attr(755,root,root) %{_libdir}/libreport.so |
437 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
438 | %dir %{_includedir}/libreport |
439 | %{_includedir}/libreport/client.h | |
742c5e14 | 440 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
441 | %{_includedir}/libreport/dump_dir.h |
442 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 443 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 444 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 445 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
446 | %{_includedir}/libreport/problem_data.h |
447 | %{_includedir}/libreport/report.h | |
448 | %{_includedir}/libreport/run_event.h | |
449 | %{_includedir}/libreport/internal_abrt_dbus.h | |
450 | %{_includedir}/libreport/internal_libreport.h | |
7bc0f56a JB |
451 | %{_includedir}/libreport/problem_report.h |
452 | %{_includedir}/libreport/problem_utils.h | |
453 | %{_includedir}/libreport/reporters.h | |
d8f3599a | 454 | %{_includedir}/libreport/ureport.h |
742c5e14 | 455 | %{_includedir}/libreport/workflow.h |
97b82249 | 456 | %{_includedir}/libreport/xml_parser.h |
ba330959 | 457 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
458 | |
459 | %files web | |
460 | %defattr(644,root,root,755) | |
461 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
462 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
463 | ||
464 | %files web-devel | |
465 | %defattr(644,root,root,755) | |
466 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
467 | %{_includedir}/libreport/libreport_curl.h | |
468 | %{_pkgconfigdir}/libreport-web.pc | |
469 | ||
00cca651 | 470 | %files -n python-%{name} |
fabfa611 | 471 | %defattr(644,root,root,755) |
fa7dfe3b JB |
472 | %dir %{py_sitedir}/report |
473 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
474 | %{py_sitedir}/report/*.py[co] | |
475 | %dir %{py_sitedir}/report/io | |
476 | %{py_sitedir}/report/io/*.py[co] | |
477 | %dir %{py_sitedir}/reportclient | |
478 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
479 | %{py_sitedir}/reportclient/*.py[co] | |
480 | ||
481 | %files -n python3-%{name} | |
482 | %defattr(644,root,root,755) | |
483 | %dir %{py3_sitedir}/report | |
484 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
485 | %{py3_sitedir}/report/*.py* | |
486 | %dir %{py3_sitedir}/report/io | |
487 | %{py3_sitedir}/report/io/*.py* | |
69cb13e6 JB |
488 | %dir %{py3_sitedir}/reportclient |
489 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
490 | %{py3_sitedir}/reportclient/*.py* | |
fabfa611 JR |
491 | |
492 | %files cli | |
493 | %defattr(644,root,root,755) | |
494 | %attr(755,root,root) %{_bindir}/report-cli | |
495 | %{_mandir}/man1/report-cli.1* | |
496 | ||
497 | %files newt | |
498 | %defattr(644,root,root,755) | |
499 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 500 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
501 | |
502 | %files gtk | |
503 | %defattr(644,root,root,755) | |
504 | %attr(755,root,root) %{_bindir}/report-gtk | |
505 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
506 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 507 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
508 | |
509 | %files gtk-devel | |
510 | %defattr(644,root,root,755) | |
511 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
512 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
513 | %{_includedir}/libreport/problem_details_dialog.h |
514 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
515 | %{_pkgconfigdir}/libreport-gtk.pc |
516 | ||
742c5e14 JB |
517 | %files plugin-bugzilla |
518 | %defattr(644,root,root,755) | |
519 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
520 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
521 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 522 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 523 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 JB |
524 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
525 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
526 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc JB |
527 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml |
528 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
59b16745 | 529 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 530 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 531 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
532 | %{_mandir}/man5/bugzilla.conf.5* |
533 | %{_mandir}/man5/bugzilla_event.conf.5* | |
534 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 535 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 536 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
537 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
538 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
742c5e14 | 539 | |
fabfa611 JR |
540 | %files plugin-kerneloops |
541 | %defattr(644,root,root,755) | |
fabfa611 | 542 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 543 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
544 | %{_mandir}/man1/reporter-kerneloops.1* |
545 | ||
546 | %files plugin-logger | |
547 | %defattr(644,root,root,755) | |
6a2e0478 | 548 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 549 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 550 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
551 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
552 | %{_datadir}/libreport/events/report_Logger.xml | |
553 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
554 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 555 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
556 | %{_mandir}/man5/print_event.conf.5* |
557 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 558 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
559 | |
560 | %files plugin-mailx | |
561 | %defattr(644,root,root,755) | |
6a2e0478 | 562 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
563 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
564 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 565 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc JB |
566 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml |
567 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
59b16745 | 568 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
569 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
570 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 571 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
572 | %{_mandir}/man5/mailx.conf.5* |
573 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 574 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 575 | |
7bc0f56a JB |
576 | %files plugin-mantisbt |
577 | %defattr(644,root,root,755) | |
578 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
579 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
f76d859d | 581 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf |
7bc0f56a | 582 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf |
f76d859d | 583 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf |
7bc0f56a | 584 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf |
69cb13e6 JB |
585 | %{_mandir}/man1/reporter-mantisbt.1* |
586 | %{_mandir}/man5/mantisbt.conf.5* | |
587 | %{_mandir}/man5/mantisbt_format.conf.5* | |
f76d859d | 588 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* |
69cb13e6 | 589 | %{_mandir}/man5/mantisbt_formatdup.conf.5* |
f76d859d | 590 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* |
7bc0f56a | 591 | |
742c5e14 | 592 | %files plugin-reportuploader |
6a2e0478 | 593 | %defattr(644,root,root,755) |
742c5e14 | 594 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 595 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
d8f3599a JB |
596 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
597 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 598 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
599 | %{_datadir}/libreport/events/report_Uploader.xml |
600 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 601 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 602 | %{_mandir}/man1/reporter-upload.1* |
d8f3599a | 603 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 604 | %{_mandir}/man5/uploader_event.conf.5* |
6a2e0478 | 605 | |
fabfa611 JR |
606 | %files plugin-rhtsupport |
607 | %defattr(644,root,root,755) | |
6a2e0478 | 608 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
609 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
610 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc JB |
611 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml |
612 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
59b16745 | 613 | %{_datadir}/libreport/events/report_RHTSupport.xml |
fabfa611 | 614 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
615 | %{_mandir}/man5/rhtsupport.conf.5* |
616 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 617 | |
742c5e14 | 618 | %files plugin-ureport |
fabfa611 | 619 | %defattr(644,root,root,755) |
742c5e14 | 620 | %attr(755,root,root) %{_bindir}/reporter-ureport |
97b82249 | 621 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf |
259e35fc JB |
622 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
623 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml | |
624 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
59b16745 JB |
625 | %{_datadir}/libreport/events/report_uReport.xml |
626 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
627 | %{_mandir}/man1/reporter-ureport.1* | |
628 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
259e35fc | 629 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
630 | |
631 | %files anaconda | |
632 | %defattr(644,root,root,755) | |
267c13ea JB |
633 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
634 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
635 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 636 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
637 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
638 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 639 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
640 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
641 | %{_mandir}/man5/anaconda_event.conf.5* | |
642 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
643 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
644 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 645 | |
7bc0f56a JB |
646 | %files centos |
647 | %defattr(644,root,root,755) | |
648 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
649 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
650 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
651 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
652 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
653 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
654 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml | |
655 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
656 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
657 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
658 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
659 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
660 | %{_mandir}/man5/centos_report_event.conf.5* |
661 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
662 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 663 | |
742c5e14 JB |
664 | %files fedora |
665 | %defattr(644,root,root,755) | |
742c5e14 | 666 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
667 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
668 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
669 | |
670 | %files rhel | |
671 | %defattr(644,root,root,755) | |
97b82249 | 672 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
259e35fc | 673 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
674 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
675 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 676 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |