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