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