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