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