]>
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 | 10 | Version: 2.9.5 |
a5cee3ba | 11 | Release: 5 |
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 |
245994d9 JB |
37 | %{?with_python2:BuildRequires: python-devel >= 2} |
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 | |
c3b743d2 | 380 | |
fabfa611 | 381 | %build |
245994d9 JB |
382 | %{__gettextize} |
383 | %{__intltoolize} | |
e81f471e JB |
384 | %{__libtoolize} |
385 | %{__aclocal} -I m4 | |
386 | %{__autoconf} | |
387 | %{__autoheader} | |
388 | %{__automake} | |
742c5e14 | 389 | %configure \ |
259e35fc | 390 | AUGPARSE=/usr/bin/augparse \ |
245994d9 JB |
391 | --disable-silent-rules \ |
392 | %{!?with_python2:--without-python2} \ | |
393 | %{!?with_python3:--without-python3} | |
59b16745 | 394 | |
fabfa611 JR |
395 | %{__make} |
396 | ||
259e35fc | 397 | %if %{with tests} |
3bcd3722 | 398 | %{__make} check || (cat tests/testsuite.log && /bin/false) |
259e35fc JB |
399 | %endif |
400 | ||
fabfa611 JR |
401 | %install |
402 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
403 | |
404 | %{__make} install \ | |
405 | DESTDIR=$RPM_BUILD_ROOT | |
406 | ||
407 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
742c5e14 JB |
408 | # compat layer for compatibility tool |
409 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
fabfa611 | 410 | |
245994d9 | 411 | %if %{with python2} |
fa7dfe3b JB |
412 | %py_postclean |
413 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la | |
245994d9 JB |
414 | %endif |
415 | %if %{with python3} | |
e402fe0e | 416 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report*/*.la |
245994d9 JB |
417 | # automake uses $PYTHON for both versions, recompile using python3 |
418 | %py_postclean %{py3_sitedir} | |
419 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
420 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
421 | %endif | |
fa7dfe3b | 422 | |
d915e0d3 JB |
423 | # empty versions of nb,ru |
424 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU} | |
425 | # not supported by glibc yet | |
426 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo} | |
d8f3599a | 427 | |
fabfa611 JR |
428 | %find_lang %{name} |
429 | ||
430 | %clean | |
431 | rm -rf $RPM_BUILD_ROOT | |
432 | ||
433 | %post -p /sbin/ldconfig | |
434 | %postun -p /sbin/ldconfig | |
9548a96e JR |
435 | |
436 | %post web -p /sbin/ldconfig | |
437 | %postun web -p /sbin/ldconfig | |
438 | ||
439 | %post gtk -p /sbin/ldconfig | |
440 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
441 | |
442 | %files -f %{name}.lang | |
443 | %defattr(644,root,root,755) | |
245994d9 | 444 | %doc CHANGELOG.md README.md |
6a2e0478 | 445 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
446 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
447 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
448 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
7bc0f56a | 449 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf |
6a2e0478 | 450 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 451 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 452 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 453 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 JR |
454 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
455 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
456 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
457 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 458 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 459 | %dir %{_datadir}/libreport |
259e35fc | 460 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 461 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 462 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
463 | %dir %{_datadir}/libreport/events |
464 | %dir %{_datadir}/libreport/workflows | |
465 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 466 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 467 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
468 | %{_mandir}/man5/report_event.conf.5* |
469 | ||
fabfa611 JR |
470 | %files devel |
471 | %defattr(644,root,root,755) | |
6a2e0478 JB |
472 | %attr(755,root,root) %{_libdir}/libreport.so |
473 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
474 | %dir %{_includedir}/libreport |
475 | %{_includedir}/libreport/client.h | |
742c5e14 | 476 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
477 | %{_includedir}/libreport/dump_dir.h |
478 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 479 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 480 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 481 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
482 | %{_includedir}/libreport/problem_data.h |
483 | %{_includedir}/libreport/report.h | |
484 | %{_includedir}/libreport/run_event.h | |
485 | %{_includedir}/libreport/internal_abrt_dbus.h | |
486 | %{_includedir}/libreport/internal_libreport.h | |
7bc0f56a JB |
487 | %{_includedir}/libreport/problem_report.h |
488 | %{_includedir}/libreport/problem_utils.h | |
489 | %{_includedir}/libreport/reporters.h | |
d8f3599a | 490 | %{_includedir}/libreport/ureport.h |
742c5e14 | 491 | %{_includedir}/libreport/workflow.h |
97b82249 | 492 | %{_includedir}/libreport/xml_parser.h |
245994d9 | 493 | %{_includedir}/libreport/helpers |
ba330959 | 494 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
495 | |
496 | %files web | |
497 | %defattr(644,root,root,755) | |
498 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
499 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
500 | ||
501 | %files web-devel | |
502 | %defattr(644,root,root,755) | |
503 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
504 | %{_includedir}/libreport/libreport_curl.h | |
505 | %{_pkgconfigdir}/libreport-web.pc | |
506 | ||
245994d9 | 507 | %if %{with python2} |
00cca651 | 508 | %files -n python-%{name} |
fabfa611 | 509 | %defattr(644,root,root,755) |
fa7dfe3b JB |
510 | %dir %{py_sitedir}/report |
511 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
512 | %{py_sitedir}/report/*.py[co] | |
513 | %dir %{py_sitedir}/report/io | |
514 | %{py_sitedir}/report/io/*.py[co] | |
515 | %dir %{py_sitedir}/reportclient | |
516 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
517 | %{py_sitedir}/reportclient/*.py[co] | |
245994d9 | 518 | %endif |
fa7dfe3b | 519 | |
245994d9 | 520 | %if %{with python3} |
fa7dfe3b JB |
521 | %files -n python3-%{name} |
522 | %defattr(644,root,root,755) | |
523 | %dir %{py3_sitedir}/report | |
524 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
525 | %{py3_sitedir}/report/*.py* | |
526 | %dir %{py3_sitedir}/report/io | |
527 | %{py3_sitedir}/report/io/*.py* | |
69cb13e6 JB |
528 | %dir %{py3_sitedir}/reportclient |
529 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
530 | %{py3_sitedir}/reportclient/*.py* | |
245994d9 | 531 | %endif |
fabfa611 JR |
532 | |
533 | %files cli | |
534 | %defattr(644,root,root,755) | |
535 | %attr(755,root,root) %{_bindir}/report-cli | |
536 | %{_mandir}/man1/report-cli.1* | |
537 | ||
538 | %files newt | |
539 | %defattr(644,root,root,755) | |
540 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 541 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
542 | |
543 | %files gtk | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{_bindir}/report-gtk | |
546 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
547 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 548 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
549 | |
550 | %files gtk-devel | |
551 | %defattr(644,root,root,755) | |
552 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
553 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
554 | %{_includedir}/libreport/problem_details_dialog.h |
555 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
556 | %{_pkgconfigdir}/libreport-gtk.pc |
557 | ||
742c5e14 JB |
558 | %files plugin-bugzilla |
559 | %defattr(644,root,root,755) | |
560 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
561 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
562 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 563 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 564 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 JB |
565 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
566 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
567 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc JB |
568 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml |
569 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
59b16745 | 570 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 571 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 572 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
573 | %{_mandir}/man5/bugzilla.conf.5* |
574 | %{_mandir}/man5/bugzilla_event.conf.5* | |
575 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 576 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 577 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
578 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
579 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
742c5e14 | 580 | |
fabfa611 JR |
581 | %files plugin-kerneloops |
582 | %defattr(644,root,root,755) | |
fabfa611 | 583 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 584 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
585 | %{_mandir}/man1/reporter-kerneloops.1* |
586 | ||
587 | %files plugin-logger | |
588 | %defattr(644,root,root,755) | |
6a2e0478 | 589 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 590 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 591 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
592 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
593 | %{_datadir}/libreport/events/report_Logger.xml | |
594 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
595 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 596 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
597 | %{_mandir}/man5/print_event.conf.5* |
598 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 599 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
600 | |
601 | %files plugin-mailx | |
602 | %defattr(644,root,root,755) | |
6a2e0478 | 603 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
604 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
605 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 606 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc JB |
607 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml |
608 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
59b16745 | 609 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
610 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
611 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 612 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
613 | %{_mandir}/man5/mailx.conf.5* |
614 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 615 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 616 | |
7bc0f56a JB |
617 | %files plugin-mantisbt |
618 | %defattr(644,root,root,755) | |
619 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
620 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
621 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
f76d859d | 622 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf |
7bc0f56a | 623 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf |
f76d859d | 624 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf |
7bc0f56a | 625 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf |
69cb13e6 JB |
626 | %{_mandir}/man1/reporter-mantisbt.1* |
627 | %{_mandir}/man5/mantisbt.conf.5* | |
628 | %{_mandir}/man5/mantisbt_format.conf.5* | |
f76d859d | 629 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* |
69cb13e6 | 630 | %{_mandir}/man5/mantisbt_formatdup.conf.5* |
f76d859d | 631 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* |
7bc0f56a | 632 | |
742c5e14 | 633 | %files plugin-reportuploader |
6a2e0478 | 634 | %defattr(644,root,root,755) |
742c5e14 | 635 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 636 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
4c28727c | 637 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf |
d8f3599a JB |
638 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
639 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 640 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
641 | %{_datadir}/libreport/events/report_Uploader.xml |
642 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 643 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 644 | %{_mandir}/man1/reporter-upload.1* |
4c28727c | 645 | %{_mandir}/man5/report_Uploader.conf.5* |
d8f3599a | 646 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 647 | %{_mandir}/man5/uploader_event.conf.5* |
4c28727c | 648 | %{_mandir}/man5/upload.conf.5* |
6a2e0478 | 649 | |
fabfa611 JR |
650 | %files plugin-rhtsupport |
651 | %defattr(644,root,root,755) | |
6a2e0478 | 652 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
653 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
654 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc JB |
655 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml |
656 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
59b16745 | 657 | %{_datadir}/libreport/events/report_RHTSupport.xml |
245994d9 | 658 | %{_datadir}/libreport/events/report_RHTSupport_AddData.xml |
fabfa611 | 659 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
660 | %{_mandir}/man5/rhtsupport.conf.5* |
661 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 662 | |
f5ca9803 JB |
663 | %files plugin-systemd-journal |
664 | %defattr(644,root,root,755) | |
665 | %attr(755,root,root) %{_bindir}/reporter-systemd-journal | |
666 | %{_mandir}/man1/reporter-systemd-journal.1* | |
667 | ||
742c5e14 | 668 | %files plugin-ureport |
fabfa611 | 669 | %defattr(644,root,root,755) |
742c5e14 | 670 | %attr(755,root,root) %{_bindir}/reporter-ureport |
97b82249 | 671 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf |
259e35fc | 672 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
4c28727c | 673 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf |
259e35fc JB |
674 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml |
675 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
59b16745 JB |
676 | %{_datadir}/libreport/events/report_uReport.xml |
677 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
4c28727c | 678 | %{_datadir}/libreport/workflows/workflow_uReport.xml |
59b16745 JB |
679 | %{_mandir}/man1/reporter-ureport.1* |
680 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
4c28727c | 681 | %{_mandir}/man5/report_uReport.conf.5* |
259e35fc | 682 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
683 | |
684 | %files anaconda | |
685 | %defattr(644,root,root,755) | |
267c13ea JB |
686 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
687 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
688 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 689 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
690 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
691 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 692 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
693 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
694 | %{_mandir}/man5/anaconda_event.conf.5* | |
695 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
696 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
697 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 698 | |
7bc0f56a JB |
699 | %files centos |
700 | %defattr(644,root,root,755) | |
701 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
702 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
703 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
704 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
705 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
706 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
f5ca9803 | 707 | %{_datadir}/libreport/workflows/workflow_CentOSJavaScript.xml |
7bc0f56a JB |
708 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml |
709 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
710 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
711 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
712 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
713 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
714 | %{_mandir}/man5/centos_report_event.conf.5* |
715 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
716 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 717 | |
742c5e14 JB |
718 | %files fedora |
719 | %defattr(644,root,root,755) | |
742c5e14 | 720 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
721 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
722 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
723 | |
724 | %files rhel | |
725 | %defattr(644,root,root,755) | |
97b82249 | 726 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
245994d9 | 727 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf |
259e35fc | 728 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
729 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
730 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 731 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |