]>
Commit | Line | Data |
---|---|---|
259e35fc JB |
1 | # |
2 | # Conditional build: | |
245994d9 JB |
3 | %bcond_without python2 # Python 2.x modules |
4 | %bcond_without python3 # Python 3.x modules | |
259e35fc | 5 | %bcond_without tests # "make check" |
90e55b11 | 6 | |
fabfa611 | 7 | Summary: Generic library for reporting various problems |
6a2e0478 | 8 | Summary(pl.UTF-8): Ogólna biblioteka do zgłaszania różnych problemów |
fabfa611 | 9 | Name: libreport |
245994d9 JB |
10 | Version: 2.9.5 |
11 | Release: 1 | |
742c5e14 | 12 | License: GPL v2+ |
fabfa611 | 13 | Group: Libraries |
245994d9 JB |
14 | Source0: https://github.com/abrt/libreport/archive/%{version}/%{name}-%{version}.tar.gz |
15 | # Source0-md5: a3abcdfbf1b1ec27ce6c44d5ba22b31b | |
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 |
245994d9 | 26 | BuildRequires: glib2-devel >= 1:2.43 |
742c5e14 JB |
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 |
e81f471e JB |
37 | # /etc/system-release for non-empty os_release content |
38 | %{?with_tests:BuildRequires: pld-release >= 3.0-8} | |
245994d9 JB |
39 | %{?with_python2:BuildRequires: python-devel >= 2} |
40 | %{?with_python3:BuildRequires: python3-devel >= 1:3} | |
fa7dfe3b | 41 | BuildRequires: rpmbuild(macros) >= 1.612 |
59b16745 | 42 | BuildRequires: satyr-devel |
259e35fc | 43 | BuildRequires: systemd-devel |
fabfa611 JR |
44 | BuildRequires: xmlrpc-c-client-devel |
45 | BuildRequires: xmlrpc-c-devel | |
46 | BuildRequires: xmlto | |
245994d9 | 47 | Requires: glib2 >= 1:2.43 |
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} | |
245994d9 | 64 | Requires: glib2-devel >= 1:2.43 |
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 | ||
f5ca9803 JB |
278 | %package plugin-systemd-journal |
279 | Summary: libreport's systemd journal reporter plugin | |
280 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w kronice systemd | |
281 | Group: Libraries | |
282 | Requires: %{name} = %{version}-%{release} | |
283 | ||
284 | %description plugin-systemd-journal | |
285 | The simple reporter plugin which writes a report to the systemd | |
286 | journal. | |
287 | ||
288 | %description plugin-systemd-journal -l pl.UTF-8 | |
289 | Prosta wtyczka zgłoszeń zapisująca raport w kronice systemd. | |
290 | ||
742c5e14 JB |
291 | %package plugin-ureport |
292 | Summary: libreport's micro report plugin | |
293 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
fabfa611 | 294 | Group: Libraries |
7bc0f56a | 295 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 | 296 | |
742c5e14 JB |
297 | %description plugin-ureport |
298 | Uploads micro-report to abrt server. | |
fabfa611 | 299 | |
742c5e14 JB |
300 | %description plugin-ureport -l pl.UTF-8 |
301 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
302 | ||
303 | %package anaconda | |
304 | Summary: Default configuration for reporting Anaconda bugs | |
305 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
306 | Group: Applications/File | |
307 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
308 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
309 | ||
310 | %description anaconda | |
311 | Default configuration for reporting Anaconda problems using Fedora | |
312 | infrastructure or uploading the gathered data over ftp/scp... | |
313 | ||
314 | %description anaconda -l pl.UTF-8 | |
315 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
316 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
317 | ||
7bc0f56a JB |
318 | %package centos |
319 | Summary: Default configuration for reporting bugs via CentOS infrastructure | |
320 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę CentOS | |
321 | Group: Applications/File | |
7bc0f56a | 322 | Requires: %{name}-plugin-mantisbt = %{version}-%{release} |
40b7a09a | 323 | Requires: %{name}-web = %{version}-%{release} |
7bc0f56a JB |
324 | |
325 | %description centos | |
326 | Default configuration for reporting bugs via CentOS infrastructure | |
327 | used primarily to easy configure the reporting process for CentOS | |
328 | systems. | |
329 | ||
330 | %description centos -l pl.UTF-8 | |
331 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
332 | CentOS, służąca przede wszystkim do łatwej konfiguracji procesu | |
333 | zgłaszania błędów w systemach CentOS. | |
334 | ||
742c5e14 JB |
335 | %package fedora |
336 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
7bc0f56a | 337 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę Fedory |
742c5e14 JB |
338 | Group: Applications/File |
339 | Requires: %{name} = %{version}-%{release} | |
340 | ||
341 | %description fedora | |
342 | Default configuration for reporting bugs via Fedora infrastructure | |
343 | used primarily to easy configure the reporting process for Fedora | |
344 | systems. | |
345 | ||
346 | %description fedora -l pl.UTF-8 | |
347 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
348 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
349 | zgłaszania błędów w systemach Fedora. | |
6a2e0478 | 350 | |
97b82249 JB |
351 | %package rhel |
352 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
7bc0f56a | 353 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę RHEL |
97b82249 JB |
354 | Group: Applications/File |
355 | Requires: %{name} = %{version}-%{release} | |
356 | ||
357 | %description rhel | |
358 | Default configuration for reporting bugs via RHEL infrastructure used | |
359 | primarily to easy configure the reporting process for RHEL systems. | |
360 | ||
361 | %description rhel -l pl.UTF-8 | |
362 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
363 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
364 | zgłaszania błędów w systemach RHEL. | |
365 | ||
fabfa611 JR |
366 | %prep |
367 | %setup -q | |
245994d9 JB |
368 | |
369 | ./gen-version | |
fabfa611 JR |
370 | |
371 | %build | |
245994d9 JB |
372 | %{__gettextize} |
373 | %{__intltoolize} | |
e81f471e JB |
374 | %{__libtoolize} |
375 | %{__aclocal} -I m4 | |
376 | %{__autoconf} | |
377 | %{__autoheader} | |
378 | %{__automake} | |
742c5e14 | 379 | %configure \ |
259e35fc | 380 | AUGPARSE=/usr/bin/augparse \ |
245994d9 JB |
381 | --disable-silent-rules \ |
382 | %{!?with_python2:--without-python2} \ | |
383 | %{!?with_python3:--without-python3} | |
59b16745 | 384 | |
fabfa611 JR |
385 | %{__make} |
386 | ||
259e35fc | 387 | %if %{with tests} |
44b5dc96 | 388 | %{__make} check || (cat tests/test-suite.log && /bin/false) |
259e35fc JB |
389 | %endif |
390 | ||
fabfa611 JR |
391 | %install |
392 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
393 | |
394 | %{__make} install \ | |
395 | DESTDIR=$RPM_BUILD_ROOT | |
396 | ||
397 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
742c5e14 JB |
398 | # compat layer for compatibility tool |
399 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
fabfa611 | 400 | |
245994d9 | 401 | %if %{with python2} |
fa7dfe3b JB |
402 | %py_postclean |
403 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la | |
245994d9 JB |
404 | %endif |
405 | %if %{with python3} | |
406 | # automake uses $PYTHON for both versions, recompile using python3 | |
407 | %py_postclean %{py3_sitedir} | |
408 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
409 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
410 | %endif | |
fa7dfe3b | 411 | |
d915e0d3 JB |
412 | # empty versions of nb,ru |
413 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU} | |
414 | # not supported by glibc yet | |
415 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo} | |
d8f3599a | 416 | |
fabfa611 JR |
417 | %find_lang %{name} |
418 | ||
419 | %clean | |
420 | rm -rf $RPM_BUILD_ROOT | |
421 | ||
422 | %post -p /sbin/ldconfig | |
423 | %postun -p /sbin/ldconfig | |
9548a96e JR |
424 | |
425 | %post web -p /sbin/ldconfig | |
426 | %postun web -p /sbin/ldconfig | |
427 | ||
428 | %post gtk -p /sbin/ldconfig | |
429 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
430 | |
431 | %files -f %{name}.lang | |
432 | %defattr(644,root,root,755) | |
245994d9 | 433 | %doc CHANGELOG.md README.md |
6a2e0478 | 434 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
435 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
436 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
437 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
7bc0f56a | 438 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf |
6a2e0478 | 439 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 440 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 441 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 442 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 JR |
443 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
444 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
445 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
446 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 447 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 448 | %dir %{_datadir}/libreport |
259e35fc | 449 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 450 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 451 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
452 | %dir %{_datadir}/libreport/events |
453 | %dir %{_datadir}/libreport/workflows | |
454 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 455 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 456 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
457 | %{_mandir}/man5/report_event.conf.5* |
458 | ||
fabfa611 JR |
459 | %files devel |
460 | %defattr(644,root,root,755) | |
6a2e0478 JB |
461 | %attr(755,root,root) %{_libdir}/libreport.so |
462 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
463 | %dir %{_includedir}/libreport |
464 | %{_includedir}/libreport/client.h | |
742c5e14 | 465 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
466 | %{_includedir}/libreport/dump_dir.h |
467 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 468 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 469 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 470 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
471 | %{_includedir}/libreport/problem_data.h |
472 | %{_includedir}/libreport/report.h | |
473 | %{_includedir}/libreport/run_event.h | |
474 | %{_includedir}/libreport/internal_abrt_dbus.h | |
475 | %{_includedir}/libreport/internal_libreport.h | |
7bc0f56a JB |
476 | %{_includedir}/libreport/problem_report.h |
477 | %{_includedir}/libreport/problem_utils.h | |
478 | %{_includedir}/libreport/reporters.h | |
d8f3599a | 479 | %{_includedir}/libreport/ureport.h |
742c5e14 | 480 | %{_includedir}/libreport/workflow.h |
97b82249 | 481 | %{_includedir}/libreport/xml_parser.h |
245994d9 | 482 | %{_includedir}/libreport/helpers |
ba330959 | 483 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
484 | |
485 | %files web | |
486 | %defattr(644,root,root,755) | |
487 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
488 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
489 | ||
490 | %files web-devel | |
491 | %defattr(644,root,root,755) | |
492 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
493 | %{_includedir}/libreport/libreport_curl.h | |
494 | %{_pkgconfigdir}/libreport-web.pc | |
495 | ||
245994d9 | 496 | %if %{with python2} |
00cca651 | 497 | %files -n python-%{name} |
fabfa611 | 498 | %defattr(644,root,root,755) |
fa7dfe3b JB |
499 | %dir %{py_sitedir}/report |
500 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
501 | %{py_sitedir}/report/*.py[co] | |
502 | %dir %{py_sitedir}/report/io | |
503 | %{py_sitedir}/report/io/*.py[co] | |
504 | %dir %{py_sitedir}/reportclient | |
505 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
506 | %{py_sitedir}/reportclient/*.py[co] | |
245994d9 | 507 | %endif |
fa7dfe3b | 508 | |
245994d9 | 509 | %if %{with python3} |
fa7dfe3b JB |
510 | %files -n python3-%{name} |
511 | %defattr(644,root,root,755) | |
512 | %dir %{py3_sitedir}/report | |
513 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
514 | %{py3_sitedir}/report/*.py* | |
515 | %dir %{py3_sitedir}/report/io | |
516 | %{py3_sitedir}/report/io/*.py* | |
69cb13e6 JB |
517 | %dir %{py3_sitedir}/reportclient |
518 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
519 | %{py3_sitedir}/reportclient/*.py* | |
245994d9 | 520 | %endif |
fabfa611 JR |
521 | |
522 | %files cli | |
523 | %defattr(644,root,root,755) | |
524 | %attr(755,root,root) %{_bindir}/report-cli | |
525 | %{_mandir}/man1/report-cli.1* | |
526 | ||
527 | %files newt | |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 530 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
531 | |
532 | %files gtk | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_bindir}/report-gtk | |
535 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
536 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 537 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
538 | |
539 | %files gtk-devel | |
540 | %defattr(644,root,root,755) | |
541 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
542 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
543 | %{_includedir}/libreport/problem_details_dialog.h |
544 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
545 | %{_pkgconfigdir}/libreport-gtk.pc |
546 | ||
742c5e14 JB |
547 | %files plugin-bugzilla |
548 | %defattr(644,root,root,755) | |
549 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
550 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
551 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 552 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 553 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 JB |
554 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
555 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
556 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc JB |
557 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml |
558 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
59b16745 | 559 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 560 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 561 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
562 | %{_mandir}/man5/bugzilla.conf.5* |
563 | %{_mandir}/man5/bugzilla_event.conf.5* | |
564 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 565 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 566 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
567 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
568 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
742c5e14 | 569 | |
fabfa611 JR |
570 | %files plugin-kerneloops |
571 | %defattr(644,root,root,755) | |
fabfa611 | 572 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 573 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
574 | %{_mandir}/man1/reporter-kerneloops.1* |
575 | ||
576 | %files plugin-logger | |
577 | %defattr(644,root,root,755) | |
6a2e0478 | 578 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 579 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 580 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
581 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
582 | %{_datadir}/libreport/events/report_Logger.xml | |
583 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
584 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 585 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
586 | %{_mandir}/man5/print_event.conf.5* |
587 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 588 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
589 | |
590 | %files plugin-mailx | |
591 | %defattr(644,root,root,755) | |
6a2e0478 | 592 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
593 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
594 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 595 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc JB |
596 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml |
597 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
59b16745 | 598 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
599 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
600 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 601 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
602 | %{_mandir}/man5/mailx.conf.5* |
603 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 604 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 605 | |
7bc0f56a JB |
606 | %files plugin-mantisbt |
607 | %defattr(644,root,root,755) | |
608 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
609 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
610 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
f76d859d | 611 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf |
7bc0f56a | 612 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf |
f76d859d | 613 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf |
7bc0f56a | 614 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf |
69cb13e6 JB |
615 | %{_mandir}/man1/reporter-mantisbt.1* |
616 | %{_mandir}/man5/mantisbt.conf.5* | |
617 | %{_mandir}/man5/mantisbt_format.conf.5* | |
f76d859d | 618 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* |
69cb13e6 | 619 | %{_mandir}/man5/mantisbt_formatdup.conf.5* |
f76d859d | 620 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* |
7bc0f56a | 621 | |
742c5e14 | 622 | %files plugin-reportuploader |
6a2e0478 | 623 | %defattr(644,root,root,755) |
742c5e14 | 624 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 625 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
4c28727c | 626 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf |
d8f3599a JB |
627 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
628 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 629 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
630 | %{_datadir}/libreport/events/report_Uploader.xml |
631 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 632 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 633 | %{_mandir}/man1/reporter-upload.1* |
4c28727c | 634 | %{_mandir}/man5/report_Uploader.conf.5* |
d8f3599a | 635 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 636 | %{_mandir}/man5/uploader_event.conf.5* |
4c28727c | 637 | %{_mandir}/man5/upload.conf.5* |
6a2e0478 | 638 | |
fabfa611 JR |
639 | %files plugin-rhtsupport |
640 | %defattr(644,root,root,755) | |
6a2e0478 | 641 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
642 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
643 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc JB |
644 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml |
645 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
59b16745 | 646 | %{_datadir}/libreport/events/report_RHTSupport.xml |
245994d9 | 647 | %{_datadir}/libreport/events/report_RHTSupport_AddData.xml |
fabfa611 | 648 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
649 | %{_mandir}/man5/rhtsupport.conf.5* |
650 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 651 | |
f5ca9803 JB |
652 | %files plugin-systemd-journal |
653 | %defattr(644,root,root,755) | |
654 | %attr(755,root,root) %{_bindir}/reporter-systemd-journal | |
655 | %{_mandir}/man1/reporter-systemd-journal.1* | |
656 | ||
742c5e14 | 657 | %files plugin-ureport |
fabfa611 | 658 | %defattr(644,root,root,755) |
742c5e14 | 659 | %attr(755,root,root) %{_bindir}/reporter-ureport |
97b82249 | 660 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf |
259e35fc | 661 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
4c28727c | 662 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf |
259e35fc JB |
663 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml |
664 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
59b16745 JB |
665 | %{_datadir}/libreport/events/report_uReport.xml |
666 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
4c28727c | 667 | %{_datadir}/libreport/workflows/workflow_uReport.xml |
59b16745 JB |
668 | %{_mandir}/man1/reporter-ureport.1* |
669 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
4c28727c | 670 | %{_mandir}/man5/report_uReport.conf.5* |
259e35fc | 671 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
672 | |
673 | %files anaconda | |
674 | %defattr(644,root,root,755) | |
267c13ea JB |
675 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
676 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
677 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 678 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
679 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
680 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 681 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
682 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
683 | %{_mandir}/man5/anaconda_event.conf.5* | |
684 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
685 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
686 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 687 | |
7bc0f56a JB |
688 | %files centos |
689 | %defattr(644,root,root,755) | |
690 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
691 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
692 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
693 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
694 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
695 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
f5ca9803 | 696 | %{_datadir}/libreport/workflows/workflow_CentOSJavaScript.xml |
7bc0f56a JB |
697 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml |
698 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
699 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
700 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
701 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
702 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
703 | %{_mandir}/man5/centos_report_event.conf.5* |
704 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
705 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 706 | |
742c5e14 JB |
707 | %files fedora |
708 | %defattr(644,root,root,755) | |
742c5e14 | 709 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
710 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
711 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
712 | |
713 | %files rhel | |
714 | %defattr(644,root,root,755) | |
97b82249 | 715 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
245994d9 | 716 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf |
259e35fc | 717 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
718 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
719 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 720 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |