]>
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 |
4a61ddf5 | 9 | Version: 2.14.0 |
a4a72e89 | 10 | Release: 3 |
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 |
4a61ddf5 | 15 | # Source0-md5: bdc4d14d867927c2b5a6c78747f3db6d |
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 |
4a61ddf5 | 29 | BuildRequires: libarchive-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 |
e54d08e8 | 34 | BuildRequires: nettle-devel |
fabfa611 JR |
35 | BuildRequires: newt-devel |
36 | BuildRequires: nss-devel | |
742c5e14 | 37 | BuildRequires: pkgconfig |
926e8678 | 38 | %{?with_python3:BuildRequires: python3-devel >= 1:3.6} |
fa7dfe3b | 39 | BuildRequires: rpmbuild(macros) >= 1.612 |
59b16745 | 40 | BuildRequires: satyr-devel |
926e8678 | 41 | BuildRequires: systemd-devel >= 1:209 |
fabfa611 JR |
42 | BuildRequires: xmlrpc-c-client-devel |
43 | BuildRequires: xmlrpc-c-devel | |
44 | BuildRequires: xmlto | |
5a824a9b JB |
45 | %if %{with tests} |
46 | # findmnt | |
47 | BuildRequires: mount | |
48 | # /etc/system-release for non-empty os_release content | |
49 | BuildRequires: pld-release >= 3.0-8 | |
c3b743d2 | 50 | BuildRequires: sed >= 4.0 |
5a824a9b | 51 | %endif |
926e8678 | 52 | Requires: glib2 >= 1:2.43.4 |
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 | |
59b16745 | 100 | Requires: satyr-devel |
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 | |
117 | Obsoletes: python-libreport | |
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} |
742c5e14 JB |
180 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 |
181 | ||
182 | %description plugin-bugzilla | |
183 | Plugin to report bugs into the bugzilla. | |
184 | ||
185 | %description plugin-bugzilla -l pl.UTF-8 | |
186 | Wtyczka zgłaszająca problemy do systemu Bugzilla. | |
187 | ||
fabfa611 | 188 | %package plugin-kerneloops |
6a2e0478 JB |
189 | Summary: libreport's kerneloops reporter plugin |
190 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
fabfa611 | 191 | Group: Libraries |
7bc0f56a | 192 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 JR |
193 | Requires: curl |
194 | ||
195 | %description plugin-kerneloops | |
196 | This package contains plugin which sends kernel crash information to | |
197 | specified server, usually to kerneloops.org. | |
198 | ||
6a2e0478 JB |
199 | %description plugin-kerneloops -l pl.UTF-8 |
200 | Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na | |
201 | określony serwer, zwykle kerneloops.org. | |
202 | ||
fabfa611 | 203 | %package plugin-logger |
6a2e0478 JB |
204 | Summary: libreport's logger reporter plugin |
205 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
fabfa611 JR |
206 | Group: Libraries |
207 | Requires: %{name} = %{version}-%{release} | |
208 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
209 | ||
210 | %description plugin-logger | |
211 | The simple reporter plugin which writes a report to a specified file. | |
212 | ||
6a2e0478 JB |
213 | %description plugin-logger -l pl.UTF-8 |
214 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
215 | pliku. | |
216 | ||
fabfa611 | 217 | %package plugin-mailx |
6a2e0478 JB |
218 | Summary: libreport's mailx reporter plugin |
219 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
fabfa611 JR |
220 | Group: Libraries |
221 | Requires: %{name} = %{version}-%{release} | |
222 | Requires: mailx | |
223 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
224 | ||
225 | %description plugin-mailx | |
226 | The simple reporter plugin which sends a report via mailx to a | |
227 | specified email address. | |
228 | ||
6a2e0478 JB |
229 | %description plugin-mailx -l pl.UTF-8 |
230 | Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony | |
231 | adres e-mail przy użyciu programu mailx. | |
232 | ||
7bc0f56a JB |
233 | %package plugin-mantisbt |
234 | Summary: libreport's mantisbt plugin | |
235 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez mantisbt | |
236 | Group: Libraries | |
237 | Requires: %{name}-web = %{version}-%{release} | |
238 | ||
239 | %description plugin-mantisbt | |
240 | Plugin to report bugs into the mantisbt. | |
241 | ||
242 | %description plugin-mantisbt -l pl.UTF-8 | |
243 | Wtyczka zgłaszająca problemy do systemu mantisbt. | |
244 | ||
742c5e14 JB |
245 | %package plugin-reportuploader |
246 | Summary: libreport's reportuploader plugin | |
247 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
fabfa611 | 248 | Group: Libraries |
7bc0f56a | 249 | Requires: %{name}-web = %{version}-%{release} |
742c5e14 | 250 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 |
fabfa611 | 251 | |
742c5e14 JB |
252 | %description plugin-reportuploader |
253 | Plugin to report bugs into anonymous FTP site associated with | |
254 | ticketing system. | |
fabfa611 | 255 | |
742c5e14 JB |
256 | %description plugin-reportuploader -l pl.UTF-8 |
257 | Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z | |
258 | systemem biletów. | |
fabfa611 | 259 | |
f5ca9803 JB |
260 | %package plugin-systemd-journal |
261 | Summary: libreport's systemd journal reporter plugin | |
262 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w kronice systemd | |
263 | Group: Libraries | |
264 | Requires: %{name} = %{version}-%{release} | |
265 | ||
266 | %description plugin-systemd-journal | |
267 | The simple reporter plugin which writes a report to the systemd | |
268 | journal. | |
269 | ||
270 | %description plugin-systemd-journal -l pl.UTF-8 | |
271 | Prosta wtyczka zgłoszeń zapisująca raport w kronice systemd. | |
272 | ||
742c5e14 JB |
273 | %package plugin-ureport |
274 | Summary: libreport's micro report plugin | |
275 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
fabfa611 | 276 | Group: Libraries |
7bc0f56a | 277 | Requires: %{name}-web = %{version}-%{release} |
fabfa611 | 278 | |
742c5e14 JB |
279 | %description plugin-ureport |
280 | Uploads micro-report to abrt server. | |
fabfa611 | 281 | |
742c5e14 JB |
282 | %description plugin-ureport -l pl.UTF-8 |
283 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
284 | ||
285 | %package anaconda | |
286 | Summary: Default configuration for reporting Anaconda bugs | |
287 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
288 | Group: Applications/File | |
289 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
290 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
291 | ||
292 | %description anaconda | |
293 | Default configuration for reporting Anaconda problems using Fedora | |
294 | infrastructure or uploading the gathered data over ftp/scp... | |
295 | ||
296 | %description anaconda -l pl.UTF-8 | |
297 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
298 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
299 | ||
7bc0f56a JB |
300 | %package centos |
301 | Summary: Default configuration for reporting bugs via CentOS infrastructure | |
302 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę CentOS | |
303 | Group: Applications/File | |
7bc0f56a | 304 | Requires: %{name}-plugin-mantisbt = %{version}-%{release} |
40b7a09a | 305 | Requires: %{name}-web = %{version}-%{release} |
7bc0f56a JB |
306 | |
307 | %description centos | |
308 | Default configuration for reporting bugs via CentOS infrastructure | |
309 | used primarily to easy configure the reporting process for CentOS | |
310 | systems. | |
311 | ||
312 | %description centos -l pl.UTF-8 | |
313 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
314 | CentOS, służąca przede wszystkim do łatwej konfiguracji procesu | |
315 | zgłaszania błędów w systemach CentOS. | |
316 | ||
742c5e14 JB |
317 | %package fedora |
318 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
7bc0f56a | 319 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę Fedory |
742c5e14 JB |
320 | Group: Applications/File |
321 | Requires: %{name} = %{version}-%{release} | |
322 | ||
323 | %description fedora | |
324 | Default configuration for reporting bugs via Fedora infrastructure | |
325 | used primarily to easy configure the reporting process for Fedora | |
326 | systems. | |
327 | ||
328 | %description fedora -l pl.UTF-8 | |
329 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
330 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
331 | zgłaszania błędów w systemach Fedora. | |
6a2e0478 | 332 | |
97b82249 JB |
333 | %package rhel |
334 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
7bc0f56a | 335 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę RHEL |
97b82249 JB |
336 | Group: Applications/File |
337 | Requires: %{name} = %{version}-%{release} | |
338 | ||
339 | %description rhel | |
340 | Default configuration for reporting bugs via RHEL infrastructure used | |
341 | primarily to easy configure the reporting process for RHEL systems. | |
342 | ||
343 | %description rhel -l pl.UTF-8 | |
344 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
345 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
346 | zgłaszania błędów w systemach RHEL. | |
347 | ||
fabfa611 JR |
348 | %prep |
349 | %setup -q | |
245994d9 JB |
350 | |
351 | ./gen-version | |
fabfa611 | 352 | |
33ea0ae6 | 353 | # set_echo test from client.at fails on builders due to forkpty() |
caaa9547 | 354 | %{__sed} -i -e '/client\.at/d' tests/testsuite.at |
2d4bac7b JR |
355 | # process_has_own_root randomly fails in chroot environment |
356 | %{__sed} -i -e '/proc_helpers\.at/d' tests/testsuite.at | |
e57dcedf JR |
357 | # short_backtrace expects outdated output format |
358 | %{__sed} -i -e '/problem_report\.at/d' tests/testsuite.at | |
c3b743d2 | 359 | |
fabfa611 | 360 | %build |
245994d9 JB |
361 | %{__gettextize} |
362 | %{__intltoolize} | |
e81f471e JB |
363 | %{__libtoolize} |
364 | %{__aclocal} -I m4 | |
365 | %{__autoconf} | |
366 | %{__autoheader} | |
367 | %{__automake} | |
742c5e14 | 368 | %configure \ |
259e35fc | 369 | AUGPARSE=/usr/bin/augparse \ |
245994d9 | 370 | --disable-silent-rules \ |
245994d9 | 371 | %{!?with_python3:--without-python3} |
59b16745 | 372 | |
fabfa611 JR |
373 | %{__make} |
374 | ||
259e35fc | 375 | %if %{with tests} |
3bcd3722 | 376 | %{__make} check || (cat tests/testsuite.log && /bin/false) |
259e35fc JB |
377 | %endif |
378 | ||
fabfa611 JR |
379 | %install |
380 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
381 | |
382 | %{__make} install \ | |
383 | DESTDIR=$RPM_BUILD_ROOT | |
384 | ||
385 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
386 | ||
245994d9 | 387 | %if %{with python3} |
e402fe0e | 388 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report*/*.la |
245994d9 JB |
389 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} |
390 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
391 | %endif | |
fa7dfe3b | 392 | |
926e8678 | 393 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr_Latn,sr@latin} |
d8f3599a | 394 | |
fabfa611 JR |
395 | %find_lang %{name} |
396 | ||
397 | %clean | |
398 | rm -rf $RPM_BUILD_ROOT | |
399 | ||
400 | %post -p /sbin/ldconfig | |
401 | %postun -p /sbin/ldconfig | |
9548a96e JR |
402 | |
403 | %post web -p /sbin/ldconfig | |
404 | %postun web -p /sbin/ldconfig | |
405 | ||
406 | %post gtk -p /sbin/ldconfig | |
407 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
408 | |
409 | %files -f %{name}.lang | |
410 | %defattr(644,root,root,755) | |
245994d9 | 411 | %doc CHANGELOG.md README.md |
6a2e0478 | 412 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
413 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
414 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
415 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
7bc0f56a | 416 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/libreport.conf |
6a2e0478 | 417 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 418 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 419 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 420 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 | 421 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
4a61ddf5 | 422 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.1 |
259e35fc | 423 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 424 | %dir %{_datadir}/libreport |
259e35fc | 425 | %dir %{_datadir}/libreport/conf.d |
7bc0f56a | 426 | %{_datadir}/libreport/conf.d/libreport.conf |
259e35fc | 427 | %dir %{_datadir}/libreport/conf.d/plugins |
59b16745 JB |
428 | %dir %{_datadir}/libreport/events |
429 | %dir %{_datadir}/libreport/workflows | |
430 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 431 | %{_mandir}/man5/ignored_words.conf.5* |
7bc0f56a | 432 | %{_mandir}/man5/libreport.conf.5* |
fabfa611 JR |
433 | %{_mandir}/man5/report_event.conf.5* |
434 | ||
fabfa611 JR |
435 | %files devel |
436 | %defattr(644,root,root,755) | |
6a2e0478 | 437 | %attr(755,root,root) %{_libdir}/libreport.so |
fabfa611 JR |
438 | %dir %{_includedir}/libreport |
439 | %{_includedir}/libreport/client.h | |
742c5e14 | 440 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
441 | %{_includedir}/libreport/dump_dir.h |
442 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 443 | %{_includedir}/libreport/file_obj.h |
7bc0f56a | 444 | %{_includedir}/libreport/global_configuration.h |
267c13ea | 445 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
446 | %{_includedir}/libreport/problem_data.h |
447 | %{_includedir}/libreport/report.h | |
448 | %{_includedir}/libreport/run_event.h | |
fabfa611 | 449 | %{_includedir}/libreport/internal_libreport.h |
7bc0f56a JB |
450 | %{_includedir}/libreport/problem_report.h |
451 | %{_includedir}/libreport/problem_utils.h | |
e57dcedf | 452 | %{_includedir}/libreport/report_result.h |
7bc0f56a | 453 | %{_includedir}/libreport/reporters.h |
d8f3599a | 454 | %{_includedir}/libreport/ureport.h |
742c5e14 | 455 | %{_includedir}/libreport/workflow.h |
97b82249 | 456 | %{_includedir}/libreport/xml_parser.h |
245994d9 | 457 | %{_includedir}/libreport/helpers |
ba330959 | 458 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
459 | |
460 | %files web | |
461 | %defattr(644,root,root,755) | |
462 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
4a61ddf5 | 463 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.1 |
fabfa611 JR |
464 | |
465 | %files web-devel | |
466 | %defattr(644,root,root,755) | |
467 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
468 | %{_includedir}/libreport/libreport_curl.h | |
469 | %{_pkgconfigdir}/libreport-web.pc | |
470 | ||
245994d9 | 471 | %if %{with python3} |
fa7dfe3b JB |
472 | %files -n python3-%{name} |
473 | %defattr(644,root,root,755) | |
474 | %dir %{py3_sitedir}/report | |
475 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
476 | %{py3_sitedir}/report/*.py* | |
e57dcedf | 477 | %{py3_sitedir}/report/__pycache__ |
fa7dfe3b JB |
478 | %dir %{py3_sitedir}/report/io |
479 | %{py3_sitedir}/report/io/*.py* | |
e57dcedf | 480 | %{py3_sitedir}/report/io/__pycache__ |
69cb13e6 JB |
481 | %dir %{py3_sitedir}/reportclient |
482 | %attr(755,root,root) %{py3_sitedir}/reportclient/_reportclient3.so | |
483 | %{py3_sitedir}/reportclient/*.py* | |
e57dcedf | 484 | %{py3_sitedir}/reportclient/__pycache__ |
245994d9 | 485 | %endif |
fabfa611 JR |
486 | |
487 | %files cli | |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_bindir}/report-cli | |
490 | %{_mandir}/man1/report-cli.1* | |
491 | ||
492 | %files newt | |
493 | %defattr(644,root,root,755) | |
494 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 495 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
496 | |
497 | %files gtk | |
498 | %defattr(644,root,root,755) | |
499 | %attr(755,root,root) %{_bindir}/report-gtk | |
500 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
4a61ddf5 | 501 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.1 |
59b16745 | 502 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
503 | |
504 | %files gtk-devel | |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
507 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
508 | %{_includedir}/libreport/problem_details_dialog.h |
509 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
510 | %{_pkgconfigdir}/libreport-gtk.pc |
511 | ||
742c5e14 JB |
512 | %files plugin-bugzilla |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
515 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
516 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 517 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 518 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 | 519 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
e57dcedf | 520 | %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf |
742c5e14 JB |
521 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf |
522 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc | 523 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf |
59b16745 | 524 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 525 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 526 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
527 | %{_mandir}/man5/bugzilla.conf.5* |
528 | %{_mandir}/man5/bugzilla_event.conf.5* | |
529 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 530 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 531 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
532 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
533 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
e57dcedf | 534 | %{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5* |
742c5e14 | 535 | |
fabfa611 JR |
536 | %files plugin-kerneloops |
537 | %defattr(644,root,root,755) | |
fabfa611 | 538 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 539 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
540 | %{_mandir}/man1/reporter-kerneloops.1* |
541 | ||
542 | %files plugin-logger | |
543 | %defattr(644,root,root,755) | |
6a2e0478 | 544 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 545 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 546 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
547 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
548 | %{_datadir}/libreport/events/report_Logger.xml | |
549 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
550 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 551 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
552 | %{_mandir}/man5/print_event.conf.5* |
553 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 554 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
555 | |
556 | %files plugin-mailx | |
557 | %defattr(644,root,root,755) | |
6a2e0478 | 558 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
559 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
560 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 561 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc | 562 | %{_datadir}/libreport/conf.d/plugins/mailx.conf |
59b16745 | 563 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
564 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
565 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 566 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
567 | %{_mandir}/man5/mailx.conf.5* |
568 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 569 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 570 | |
7bc0f56a JB |
571 | %files plugin-mantisbt |
572 | %defattr(644,root,root,755) | |
573 | %attr(755,root,root) %{_bindir}/reporter-mantisbt | |
574 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt.conf | |
575 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format.conf | |
f76d859d | 576 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_format_analyzer_libreport.conf |
7bc0f56a | 577 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup.conf |
f76d859d | 578 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf |
7bc0f56a | 579 | %{_datadir}/libreport/conf.d/plugins/mantisbt.conf |
69cb13e6 JB |
580 | %{_mandir}/man1/reporter-mantisbt.1* |
581 | %{_mandir}/man5/mantisbt.conf.5* | |
582 | %{_mandir}/man5/mantisbt_format.conf.5* | |
f76d859d | 583 | %{_mandir}/man5/mantisbt_format_analyzer_libreport.conf.5* |
69cb13e6 | 584 | %{_mandir}/man5/mantisbt_formatdup.conf.5* |
f76d859d | 585 | %{_mandir}/man5/mantisbt_formatdup_analyzer_libreport.conf.5* |
7bc0f56a | 586 | |
742c5e14 | 587 | %files plugin-reportuploader |
6a2e0478 | 588 | %defattr(644,root,root,755) |
742c5e14 | 589 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 590 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
4c28727c | 591 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf |
d8f3599a JB |
592 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
593 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 594 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
595 | %{_datadir}/libreport/events/report_Uploader.xml |
596 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 597 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 598 | %{_mandir}/man1/reporter-upload.1* |
4c28727c | 599 | %{_mandir}/man5/report_Uploader.conf.5* |
d8f3599a | 600 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 601 | %{_mandir}/man5/uploader_event.conf.5* |
4c28727c | 602 | %{_mandir}/man5/upload.conf.5* |
6a2e0478 | 603 | |
f5ca9803 JB |
604 | %files plugin-systemd-journal |
605 | %defattr(644,root,root,755) | |
606 | %attr(755,root,root) %{_bindir}/reporter-systemd-journal | |
607 | %{_mandir}/man1/reporter-systemd-journal.1* | |
608 | ||
742c5e14 | 609 | %files plugin-ureport |
fabfa611 | 610 | %defattr(644,root,root,755) |
742c5e14 | 611 | %attr(755,root,root) %{_bindir}/reporter-ureport |
259e35fc | 612 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
4c28727c | 613 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf |
259e35fc | 614 | %{_datadir}/libreport/conf.d/plugins/ureport.conf |
59b16745 | 615 | %{_datadir}/libreport/events/report_uReport.xml |
4c28727c | 616 | %{_datadir}/libreport/workflows/workflow_uReport.xml |
59b16745 | 617 | %{_mandir}/man1/reporter-ureport.1* |
4c28727c | 618 | %{_mandir}/man5/report_uReport.conf.5* |
259e35fc | 619 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
620 | |
621 | %files anaconda | |
622 | %defattr(644,root,root,755) | |
267c13ea JB |
623 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
624 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
625 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 626 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 | 627 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
259e35fc | 628 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
629 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
630 | %{_mandir}/man5/anaconda_event.conf.5* | |
631 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
632 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
633 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 | 634 | |
7bc0f56a JB |
635 | %files centos |
636 | %defattr(644,root,root,755) | |
637 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events/report_CentOSBugTracker.conf | |
638 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/centos_report_event.conf | |
639 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/workflows.d/report_centos.conf | |
640 | %{_datadir}/libreport/events/report_CentOSBugTracker.xml | |
641 | %{_datadir}/libreport/workflows/workflow_CentOSCCpp.xml | |
642 | %{_datadir}/libreport/workflows/workflow_CentOSJava.xml | |
f5ca9803 | 643 | %{_datadir}/libreport/workflows/workflow_CentOSJavaScript.xml |
7bc0f56a JB |
644 | %{_datadir}/libreport/workflows/workflow_CentOSKerneloops.xml |
645 | %{_datadir}/libreport/workflows/workflow_CentOSLibreport.xml | |
646 | %{_datadir}/libreport/workflows/workflow_CentOSPython.xml | |
647 | %{_datadir}/libreport/workflows/workflow_CentOSPython3.xml | |
648 | %{_datadir}/libreport/workflows/workflow_CentOSVmcore.xml | |
649 | %{_datadir}/libreport/workflows/workflow_CentOSXorg.xml | |
69cb13e6 JB |
650 | %{_mandir}/man5/centos_report_event.conf.5* |
651 | %{_mandir}/man5/report_CentOSBugTracker.conf.5* | |
652 | %{_mandir}/man5/report_centos.conf.5* | |
7bc0f56a | 653 | |
742c5e14 JB |
654 | %files fedora |
655 | %defattr(644,root,root,755) | |
742c5e14 | 656 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
657 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
658 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
659 | |
660 | %files rhel | |
661 | %defattr(644,root,root,755) | |
259e35fc | 662 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
4a61ddf5 | 663 | %{_datadir}/libreport/workflows/workflow_RHELBugzilla*.xml |
259e35fc | 664 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |