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