]>
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" | |
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 |
69cb13e6 | 9 | Version: 2.5.0 |
7bc0f56a | 10 | Release: 1 |
742c5e14 | 11 | License: GPL v2+ |
fabfa611 JR |
12 | Group: Libraries |
13 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
69cb13e6 | 14 | # Source0-md5: c3b8d39d0b224cbda73eb6ffc46291dd |
fabfa611 JR |
15 | Patch0: format-security.patch |
16 | URL: https://fedorahosted.org/abrt/ | |
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 | |
7bc0f56a | 387 | # empty version ru |
d8f3599a | 388 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru_RU |
d8f3599a | 389 | |
fabfa611 JR |
390 | %find_lang %{name} |
391 | ||
392 | %clean | |
393 | rm -rf $RPM_BUILD_ROOT | |
394 | ||
395 | %post -p /sbin/ldconfig | |
396 | %postun -p /sbin/ldconfig | |
9548a96e JR |
397 | |
398 | %post web -p /sbin/ldconfig | |
399 | %postun web -p /sbin/ldconfig | |
400 | ||
401 | %post gtk -p /sbin/ldconfig | |
402 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
403 | |
404 | %files -f %{name}.lang | |
405 | %defattr(644,root,root,755) | |
406 | %doc README | |
6a2e0478 | 407 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
408 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
409 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
410 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
7bc0f56a | 411 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf |
6a2e0478 | 412 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 413 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 414 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 415 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 JR |
416 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
417 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
418 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
419 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 420 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 421 | %dir %{_datadir}/libreport |
259e35fc | 422 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 423 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 424 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
425 | %dir %{_datadir}/libreport/events |
426 | %dir %{_datadir}/libreport/workflows | |
427 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 428 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 429 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
430 | %{_mandir}/man5/report_event.conf.5* |
431 | ||
fabfa611 JR |
432 | %files devel |
433 | %defattr(644,root,root,755) | |
6a2e0478 JB |
434 | %attr(755,root,root) %{_libdir}/libreport.so |
435 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
436 | %dir %{_includedir}/libreport |
437 | %{_includedir}/libreport/client.h | |
742c5e14 | 438 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
439 | %{_includedir}/libreport/dump_dir.h |
440 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 441 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 442 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 443 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
444 | %{_includedir}/libreport/problem_data.h |
445 | %{_includedir}/libreport/report.h | |
446 | %{_includedir}/libreport/run_event.h | |
447 | %{_includedir}/libreport/internal_abrt_dbus.h | |
448 | %{_includedir}/libreport/internal_libreport.h | |
7bc0f56a JB |
449 | %{_includedir}/libreport/problem_report.h |
450 | %{_includedir}/libreport/problem_utils.h | |
451 | %{_includedir}/libreport/reporters.h | |
d8f3599a | 452 | %{_includedir}/libreport/ureport.h |
742c5e14 | 453 | %{_includedir}/libreport/workflow.h |
97b82249 | 454 | %{_includedir}/libreport/xml_parser.h |
ba330959 | 455 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
456 | |
457 | %files web | |
458 | %defattr(644,root,root,755) | |
459 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
460 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
461 | ||
462 | %files web-devel | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
465 | %{_includedir}/libreport/libreport_curl.h | |
466 | %{_pkgconfigdir}/libreport-web.pc | |
467 | ||
00cca651 | 468 | %files -n python-%{name} |
fabfa611 | 469 | %defattr(644,root,root,755) |
fa7dfe3b JB |
470 | %dir %{py_sitedir}/report |
471 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
472 | %{py_sitedir}/report/*.py[co] | |
473 | %dir %{py_sitedir}/report/io | |
474 | %{py_sitedir}/report/io/*.py[co] | |
475 | %dir %{py_sitedir}/reportclient | |
476 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
477 | %{py_sitedir}/reportclient/*.py[co] | |
478 | ||
479 | %files -n python3-%{name} | |
480 | %defattr(644,root,root,755) | |
481 | %dir %{py3_sitedir}/report | |
482 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
483 | %{py3_sitedir}/report/*.py* | |
484 | %dir %{py3_sitedir}/report/io | |
485 | %{py3_sitedir}/report/io/*.py* | |
69cb13e6 JB |
486 | %dir %{py3_sitedir}/reportclient |
487 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
488 | %{py3_sitedir}/reportclient/*.py* | |
fabfa611 JR |
489 | |
490 | %files cli | |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_bindir}/report-cli | |
493 | %{_mandir}/man1/report-cli.1* | |
494 | ||
495 | %files newt | |
496 | %defattr(644,root,root,755) | |
497 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 498 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
499 | |
500 | %files gtk | |
501 | %defattr(644,root,root,755) | |
502 | %attr(755,root,root) %{_bindir}/report-gtk | |
503 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
504 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 505 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
506 | |
507 | %files gtk-devel | |
508 | %defattr(644,root,root,755) | |
509 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
510 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
511 | %{_includedir}/libreport/problem_details_dialog.h |
512 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
513 | %{_pkgconfigdir}/libreport-gtk.pc |
514 | ||
742c5e14 JB |
515 | %files plugin-bugzilla |
516 | %defattr(644,root,root,755) | |
517 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
518 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
519 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 520 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 521 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 JB |
522 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
523 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
524 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc JB |
525 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml |
526 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
59b16745 | 527 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 528 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 529 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
530 | %{_mandir}/man5/bugzilla.conf.5* |
531 | %{_mandir}/man5/bugzilla_event.conf.5* | |
532 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 533 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 534 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
535 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
536 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
742c5e14 | 537 | |
fabfa611 JR |
538 | %files plugin-kerneloops |
539 | %defattr(644,root,root,755) | |
fabfa611 | 540 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 541 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
542 | %{_mandir}/man1/reporter-kerneloops.1* |
543 | ||
544 | %files plugin-logger | |
545 | %defattr(644,root,root,755) | |
6a2e0478 | 546 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 547 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 548 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
549 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
550 | %{_datadir}/libreport/events/report_Logger.xml | |
551 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
552 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 553 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
554 | %{_mandir}/man5/print_event.conf.5* |
555 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 556 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
557 | |
558 | %files plugin-mailx | |
559 | %defattr(644,root,root,755) | |
6a2e0478 | 560 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
561 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
562 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 563 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc JB |
564 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml |
565 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
59b16745 | 566 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
567 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
568 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 569 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
570 | %{_mandir}/man5/mailx.conf.5* |
571 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 572 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 573 | |
7bc0f56a JB |
574 | %files plugin-mantisbt |
575 | %defattr(644,root,root,755) | |
576 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
577 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
578 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
579 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf | |
580 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf | |
69cb13e6 JB |
581 | %{_mandir}/man1/reporter-mantisbt.1* |
582 | %{_mandir}/man5/mantisbt.conf.5* | |
583 | %{_mandir}/man5/mantisbt_format.conf.5* | |
584 | %{_mandir}/man5/mantisbt_formatdup.conf.5* | |
7bc0f56a | 585 | |
742c5e14 | 586 | %files plugin-reportuploader |
6a2e0478 | 587 | %defattr(644,root,root,755) |
742c5e14 | 588 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 589 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
d8f3599a JB |
590 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
591 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 592 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
593 | %{_datadir}/libreport/events/report_Uploader.xml |
594 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 595 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 596 | %{_mandir}/man1/reporter-upload.1* |
d8f3599a | 597 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 598 | %{_mandir}/man5/uploader_event.conf.5* |
6a2e0478 | 599 | |
fabfa611 JR |
600 | %files plugin-rhtsupport |
601 | %defattr(644,root,root,755) | |
6a2e0478 | 602 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
603 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
604 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc JB |
605 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml |
606 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
59b16745 | 607 | %{_datadir}/libreport/events/report_RHTSupport.xml |
fabfa611 | 608 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
609 | %{_mandir}/man5/rhtsupport.conf.5* |
610 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 611 | |
742c5e14 | 612 | %files plugin-ureport |
fabfa611 | 613 | %defattr(644,root,root,755) |
742c5e14 | 614 | %attr(755,root,root) %{_bindir}/reporter-ureport |
97b82249 | 615 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf |
259e35fc JB |
616 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
617 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml | |
618 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
59b16745 JB |
619 | %{_datadir}/libreport/events/report_uReport.xml |
620 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
621 | %{_mandir}/man1/reporter-ureport.1* | |
622 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
259e35fc | 623 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
624 | |
625 | %files anaconda | |
626 | %defattr(644,root,root,755) | |
267c13ea JB |
627 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
628 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
629 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 630 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
631 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
632 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 633 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
634 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
635 | %{_mandir}/man5/anaconda_event.conf.5* | |
636 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
637 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
638 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 639 | |
7bc0f56a JB |
640 | %files centos |
641 | %defattr(644,root,root,755) | |
642 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
643 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
644 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
645 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
646 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
647 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
648 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml | |
649 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
650 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
651 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
652 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
653 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
654 | %{_mandir}/man5/centos_report_event.conf.5* |
655 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
656 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 657 | |
742c5e14 JB |
658 | %files fedora |
659 | %defattr(644,root,root,755) | |
742c5e14 | 660 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
661 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
662 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
663 | |
664 | %files rhel | |
665 | %defattr(644,root,root,755) | |
97b82249 | 666 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
259e35fc | 667 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
668 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
669 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 670 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |