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