]>
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 |
926e8678 | 9 | Version: 2.12.0 |
e57dcedf | 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 |
926e8678 | 15 | # Source0-md5: 09153b254ce2d675ca77788986702ac5 |
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 |
926e8678 | 26 | BuildRequires: glib2-devel >= 1:2.43.4 |
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 |
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 | |
436 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
437 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 438 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 439 | %dir %{_datadir}/libreport |
259e35fc | 440 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 441 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 442 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
443 | %dir %{_datadir}/libreport/events |
444 | %dir %{_datadir}/libreport/workflows | |
445 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 446 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 447 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
448 | %{_mandir}/man5/report_event.conf.5* |
449 | ||
fabfa611 JR |
450 | %files devel |
451 | %defattr(644,root,root,755) | |
6a2e0478 JB |
452 | %attr(755,root,root) %{_libdir}/libreport.so |
453 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
454 | %dir %{_includedir}/libreport |
455 | %{_includedir}/libreport/client.h | |
742c5e14 | 456 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
457 | %{_includedir}/libreport/dump_dir.h |
458 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 459 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 460 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 461 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
462 | %{_includedir}/libreport/problem_data.h |
463 | %{_includedir}/libreport/report.h | |
464 | %{_includedir}/libreport/run_event.h | |
465 | %{_includedir}/libreport/internal_abrt_dbus.h | |
466 | %{_includedir}/libreport/internal_libreport.h | |
7bc0f56a JB |
467 | %{_includedir}/libreport/problem_report.h |
468 | %{_includedir}/libreport/problem_utils.h | |
e57dcedf | 469 | %{_includedir}/libreport/report_result.h |
7bc0f56a | 470 | %{_includedir}/libreport/reporters.h |
d8f3599a | 471 | %{_includedir}/libreport/ureport.h |
742c5e14 | 472 | %{_includedir}/libreport/workflow.h |
97b82249 | 473 | %{_includedir}/libreport/xml_parser.h |
245994d9 | 474 | %{_includedir}/libreport/helpers |
ba330959 | 475 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
476 | |
477 | %files web | |
478 | %defattr(644,root,root,755) | |
479 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
480 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
481 | ||
482 | %files web-devel | |
483 | %defattr(644,root,root,755) | |
484 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
485 | %{_includedir}/libreport/libreport_curl.h | |
486 | %{_pkgconfigdir}/libreport-web.pc | |
487 | ||
245994d9 | 488 | %if %{with python3} |
fa7dfe3b JB |
489 | %files -n python3-%{name} |
490 | %defattr(644,root,root,755) | |
491 | %dir %{py3_sitedir}/report | |
492 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
493 | %{py3_sitedir}/report/*.py* | |
e57dcedf | 494 | %{py3_sitedir}/report/__pycache__ |
fa7dfe3b JB |
495 | %dir %{py3_sitedir}/report/io |
496 | %{py3_sitedir}/report/io/*.py* | |
e57dcedf | 497 | %{py3_sitedir}/report/io/__pycache__ |
69cb13e6 JB |
498 | %dir %{py3_sitedir}/reportclient |
499 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
500 | %{py3_sitedir}/reportclient/*.py* | |
e57dcedf | 501 | %{py3_sitedir}/reportclient/__pycache__ |
245994d9 | 502 | %endif |
fabfa611 JR |
503 | |
504 | %files cli | |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{_bindir}/report-cli | |
507 | %{_mandir}/man1/report-cli.1* | |
508 | ||
509 | %files newt | |
510 | %defattr(644,root,root,755) | |
511 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 512 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
513 | |
514 | %files gtk | |
515 | %defattr(644,root,root,755) | |
516 | %attr(755,root,root) %{_bindir}/report-gtk | |
517 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
518 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 519 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
520 | |
521 | %files gtk-devel | |
522 | %defattr(644,root,root,755) | |
523 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
524 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
525 | %{_includedir}/libreport/problem_details_dialog.h |
526 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
527 | %{_pkgconfigdir}/libreport-gtk.pc |
528 | ||
742c5e14 JB |
529 | %files plugin-bugzilla |
530 | %defattr(644,root,root,755) | |
531 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
532 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
533 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 534 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 535 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 | 536 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
e57dcedf | 537 | %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf |
742c5e14 JB |
538 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf |
539 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc | 540 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf |
59b16745 | 541 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 542 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 543 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
544 | %{_mandir}/man5/bugzilla.conf.5* |
545 | %{_mandir}/man5/bugzilla_event.conf.5* | |
546 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 547 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 548 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
549 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
550 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
e57dcedf | 551 | %{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5* |
742c5e14 | 552 | |
fabfa611 JR |
553 | %files plugin-kerneloops |
554 | %defattr(644,root,root,755) | |
fabfa611 | 555 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 556 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
557 | %{_mandir}/man1/reporter-kerneloops.1* |
558 | ||
559 | %files plugin-logger | |
560 | %defattr(644,root,root,755) | |
6a2e0478 | 561 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 562 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 563 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
564 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
565 | %{_datadir}/libreport/events/report_Logger.xml | |
566 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
567 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 568 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
569 | %{_mandir}/man5/print_event.conf.5* |
570 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 571 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
572 | |
573 | %files plugin-mailx | |
574 | %defattr(644,root,root,755) | |
6a2e0478 | 575 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
576 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
577 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 578 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc | 579 | %{_datadir}/libreport/conf.d/plugins/mailx.conf |
59b16745 | 580 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
581 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
582 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 583 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
584 | %{_mandir}/man5/mailx.conf.5* |
585 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 586 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 587 | |
7bc0f56a JB |
588 | %files plugin-mantisbt |
589 | %defattr(644,root,root,755) | |
590 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
591 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
592 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
f76d859d | 593 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf |
7bc0f56a | 594 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf |
f76d859d | 595 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf |
7bc0f56a | 596 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf |
69cb13e6 JB |
597 | %{_mandir}/man1/reporter-mantisbt.1* |
598 | %{_mandir}/man5/mantisbt.conf.5* | |
599 | %{_mandir}/man5/mantisbt_format.conf.5* | |
f76d859d | 600 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* |
69cb13e6 | 601 | %{_mandir}/man5/mantisbt_formatdup.conf.5* |
f76d859d | 602 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* |
7bc0f56a | 603 | |
742c5e14 | 604 | %files plugin-reportuploader |
6a2e0478 | 605 | %defattr(644,root,root,755) |
742c5e14 | 606 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 607 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
4c28727c | 608 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf |
d8f3599a JB |
609 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
610 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 611 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
612 | %{_datadir}/libreport/events/report_Uploader.xml |
613 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 614 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 615 | %{_mandir}/man1/reporter-upload.1* |
4c28727c | 616 | %{_mandir}/man5/report_Uploader.conf.5* |
d8f3599a | 617 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 618 | %{_mandir}/man5/uploader_event.conf.5* |
4c28727c | 619 | %{_mandir}/man5/upload.conf.5* |
6a2e0478 | 620 | |
fabfa611 JR |
621 | %files plugin-rhtsupport |
622 | %defattr(644,root,root,755) | |
6a2e0478 | 623 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
624 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
625 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc | 626 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf |
59b16745 | 627 | %{_datadir}/libreport/events/report_RHTSupport.xml |
245994d9 | 628 | %{_datadir}/libreport/events/report_RHTSupport_AddData.xml |
fabfa611 | 629 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
630 | %{_mandir}/man5/rhtsupport.conf.5* |
631 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 632 | |
f5ca9803 JB |
633 | %files plugin-systemd-journal |
634 | %defattr(644,root,root,755) | |
635 | %attr(755,root,root) %{_bindir}/reporter-systemd-journal | |
636 | %{_mandir}/man1/reporter-systemd-journal.1* | |
637 | ||
742c5e14 | 638 | %files plugin-ureport |
fabfa611 | 639 | %defattr(644,root,root,755) |
742c5e14 | 640 | %attr(755,root,root) %{_bindir}/reporter-ureport |
259e35fc | 641 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
4c28727c | 642 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf |
259e35fc | 643 | %{_datadir}/libreport/conf.d/plugins/ureport.conf |
59b16745 | 644 | %{_datadir}/libreport/events/report_uReport.xml |
4c28727c | 645 | %{_datadir}/libreport/workflows/workflow_uReport.xml |
59b16745 | 646 | %{_mandir}/man1/reporter-ureport.1* |
4c28727c | 647 | %{_mandir}/man5/report_uReport.conf.5* |
259e35fc | 648 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
649 | |
650 | %files anaconda | |
651 | %defattr(644,root,root,755) | |
267c13ea JB |
652 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
653 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
654 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 655 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
656 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
657 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 658 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
659 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
660 | %{_mandir}/man5/anaconda_event.conf.5* | |
661 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
662 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
663 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 664 | |
7bc0f56a JB |
665 | %files centos |
666 | %defattr(644,root,root,755) | |
667 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
668 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
669 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
670 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
671 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
672 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
f5ca9803 | 673 | %{_datadir}/libreport/workflows/workflow_CentOSJavaScript.xml |
7bc0f56a JB |
674 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml |
675 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
676 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
677 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
678 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
679 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
680 | %{_mandir}/man5/centos_report_event.conf.5* |
681 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
682 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 683 | |
742c5e14 JB |
684 | %files fedora |
685 | %defattr(644,root,root,755) | |
742c5e14 | 686 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
687 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
688 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
689 | |
690 | %files rhel | |
691 | %defattr(644,root,root,755) | |
97b82249 | 692 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
245994d9 | 693 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf |
259e35fc | 694 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
695 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
696 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 697 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |