]>
Commit | Line | Data |
---|---|---|
fa7dfe3b | 1 | # TODO: teach build system to use python3.2+ __pycache__ |
259e35fc JB |
2 | # |
3 | # Conditional build: | |
4 | %bcond_without tests # "make check" | |
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 |
d8f3599a | 9 | Version: 2.3.0 |
e20640be | 10 | Release: 3 |
742c5e14 | 11 | License: GPL v2+ |
fabfa611 JR |
12 | Group: Libraries |
13 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz | |
d8f3599a | 14 | # Source0-md5: ec15ee90d241e5b74a2ab2d66fec3bc3 |
fabfa611 JR |
15 | Patch0: format-security.patch |
16 | URL: https://fedorahosted.org/abrt/ | |
17 | BuildRequires: asciidoc | |
259e35fc JB |
18 | %{?with_tests:BuildRequires: augeas} |
19 | BuildRequires: augeas-devel | |
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 | |
742c5e14 JB |
25 | BuildRequires: gettext-devel >= 0.17 |
26 | BuildRequires: glib2-devel >= 1:2.21 | |
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 |
fa7dfe3b JB |
37 | BuildRequires: python-devel >= 2 |
38 | BuildRequires: python3-devel >= 3 | |
39 | BuildRequires: rpmbuild(macros) >= 1.612 | |
59b16745 | 40 | BuildRequires: satyr-devel |
259e35fc JB |
41 | # libsystemd-journal |
42 | BuildRequires: systemd-devel | |
fabfa611 JR |
43 | BuildRequires: xmlrpc-c-client-devel |
44 | BuildRequires: xmlrpc-c-devel | |
45 | BuildRequires: xmlto | |
742c5e14 | 46 | Requires: glib2 >= 1:2.21 |
fabfa611 JR |
47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
49 | %description | |
50 | Libraries providing API for reporting different problems in | |
51 | applications to different bug targets like Bugzilla, ftp, trac, etc... | |
52 | ||
6a2e0478 JB |
53 | %description -l pl.UTF-8 |
54 | Biblioteki udostępniające API do zgłaszania różnych programów w | |
55 | aplikacjach do różnych docelowych systemów raportowania błędów, takich | |
56 | jak Bugzilla, ftp, trac... | |
fabfa611 JR |
57 | |
58 | %package devel | |
6a2e0478 JB |
59 | Summary: Header files for libreport libraries |
60 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libreport | |
fabfa611 JR |
61 | Group: Development/Libraries |
62 | Requires: %{name} = %{version}-%{release} | |
742c5e14 | 63 | Requires: glib2-devel >= 1:2.21 |
fabfa611 JR |
64 | |
65 | %description devel | |
6a2e0478 | 66 | Header files for libreport libraries. |
fabfa611 JR |
67 | |
68 | %description devel -l pl.UTF-8 | |
6a2e0478 | 69 | Pliki nagłówkowe bibliotek libreport. |
fabfa611 JR |
70 | |
71 | %package web | |
72 | Summary: Library providing network API for libreport | |
6a2e0478 | 73 | Summary(pl.UTF-8): Biblioteka zapewniająca API sieciowe dla libreport |
fabfa611 JR |
74 | Group: Libraries |
75 | Requires: %{name} = %{version}-%{release} | |
76 | ||
77 | %description web | |
6a2e0478 JB |
78 | Library providing network API for libreport. |
79 | ||
80 | %description web -l pl.UTF-8 | |
81 | Biblioteka zapewniająca API sieciowe dla libreport. | |
fabfa611 JR |
82 | |
83 | %package web-devel | |
84 | Summary: Development headers for libreport-web | |
6a2e0478 | 85 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-web |
fabfa611 | 86 | Group: Development/Libraries |
6a2e0478 | 87 | Requires: %{name}-devel = %{version}-%{release} |
fabfa611 | 88 | Requires: %{name}-web = %{version}-%{release} |
742c5e14 JB |
89 | Requires: curl-devel |
90 | Requires: json-c-devel | |
91 | Requires: libproxy-devel | |
92 | Requires: libxml2-devel >= 2 | |
59b16745 | 93 | Requires: satyr-devel |
742c5e14 JB |
94 | Requires: xmlrpc-c-client-devel |
95 | Requires: xmlrpc-c-devel | |
fabfa611 JR |
96 | |
97 | %description web-devel | |
6a2e0478 JB |
98 | Development headers for libreport-web. |
99 | ||
100 | %description web-devel -l pl.UTF-8 | |
101 | Pliki nagłówkowe biblioteki libreport-web. | |
fabfa611 | 102 | |
00cca651 | 103 | %package -n python-%{name} |
fa7dfe3b JB |
104 | Summary: Python 2 bindings for libreport libraries |
105 | Summary(pl.UTF-8): Wiązania Pythona 2 do bibliotek libreport | |
6a2e0478 | 106 | Group: Libraries/Python |
fabfa611 | 107 | Requires: %{name} = %{version}-%{release} |
00cca651 ER |
108 | Provides: %{name}-python = %{version}-%{release} |
109 | Obsoletes: libreport-python < 2.1.3-1 | |
fabfa611 | 110 | |
00cca651 | 111 | %description -n python-%{name} |
fa7dfe3b | 112 | Python 2 bindings for libreport libraries. |
6a2e0478 | 113 | |
00cca651 | 114 | %description -n python-%{name} -l pl.UTF-8 |
fa7dfe3b JB |
115 | Wiązania Pythona 2 do bibliotek libreport |
116 | ||
117 | %package -n python3-%{name} | |
118 | Summary: Python 3 bindings for libreport libraries | |
119 | Summary(pl.UTF-8): Wiązania Pythona 3 do bibliotek libreport | |
120 | Group: Libraries/Python | |
121 | Requires: %{name} = %{version}-%{release} | |
122 | ||
123 | %description -n python3-%{name} | |
124 | Python 3 bindings for libreport libraries. | |
125 | ||
126 | %description -n python3-%{name} -l pl.UTF-8 | |
127 | Wiązania Pythona 3 do bibliotek libreport | |
fabfa611 JR |
128 | |
129 | %package cli | |
6a2e0478 JB |
130 | Summary: libreport's command line interface |
131 | Summary(pl.UTF-8): Interfejs linii poleceń libreport | |
132 | Group: Applications | |
fabfa611 JR |
133 | Requires: %{name} = %{version}-%{release} |
134 | ||
135 | %description cli | |
136 | This package contains simple command line tool for working with | |
6a2e0478 JB |
137 | problem dump reports. |
138 | ||
139 | %description cli -l pl.UTF-8 | |
140 | Ten pakiet zawiera proste, działające z linii poleceń narzędzie do | |
141 | pracy ze zgłoszeniami zawierającymi zrzuty problemów. | |
fabfa611 JR |
142 | |
143 | %package newt | |
6a2e0478 JB |
144 | Summary: libreport's newt interface |
145 | Summary(pl.UTF-8): Interfejs newt libreport | |
146 | Group: Applications | |
fabfa611 JR |
147 | Requires: %{name} = %{version}-%{release} |
148 | ||
149 | %description newt | |
6a2e0478 JB |
150 | This package contains a simple newt application for reporting bugs. |
151 | ||
152 | %description newt -l pl.UTF-8 | |
153 | Ten pakiet zawiera prostą aplikację newt do zgłaszania błędów. | |
fabfa611 JR |
154 | |
155 | %package gtk | |
6a2e0478 JB |
156 | Summary: GTK+ front-end for libreport |
157 | Summary(pl.UTF-8): Interfejs GTK+ libreport | |
fabfa611 JR |
158 | Group: X11/Applications |
159 | Requires: %{name} = %{version}-%{release} | |
160 | ||
161 | %description gtk | |
6a2e0478 JB |
162 | Application for reporting bugs using libreport backend. |
163 | ||
164 | %description gtk -l pl.UTF-8 | |
165 | Aplikacja do zgłaszania błędów przy użyciu libreport. | |
fabfa611 JR |
166 | |
167 | %package gtk-devel | |
6a2e0478 JB |
168 | Summary: Development headers for libreport-gtk |
169 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libreport-gtk | |
fabfa611 JR |
170 | Group: Development/Libraries |
171 | Requires: %{name}-gtk = %{version}-%{release} | |
172 | ||
173 | %description gtk-devel | |
6a2e0478 JB |
174 | Development headers for libreport-gtk. |
175 | ||
176 | %description gtk-devel -l pl.UTF-8 | |
177 | Pliki nagłówkowe biblioteki libreport-gtk. | |
fabfa611 | 178 | |
742c5e14 JB |
179 | %package plugin-bugzilla |
180 | Summary: libreport's bugzilla plugin | |
181 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez Bugzillę | |
182 | Group: Libraries | |
183 | Requires: %{name} = %{version}-%{release} | |
184 | Obsoletes: abrt-plugin-bugzilla < 2.0.4 | |
185 | ||
186 | %description plugin-bugzilla | |
187 | Plugin to report bugs into the bugzilla. | |
188 | ||
189 | %description plugin-bugzilla -l pl.UTF-8 | |
190 | Wtyczka zgłaszająca problemy do systemu Bugzilla. | |
191 | ||
fabfa611 | 192 | %package plugin-kerneloops |
6a2e0478 JB |
193 | Summary: libreport's kerneloops reporter plugin |
194 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń awarii jądra (kerneloops) | |
fabfa611 JR |
195 | Group: Libraries |
196 | Requires: %{name} = %{version}-%{release} | |
197 | Requires: curl | |
198 | ||
199 | %description plugin-kerneloops | |
200 | This package contains plugin which sends kernel crash information to | |
201 | specified server, usually to kerneloops.org. | |
202 | ||
6a2e0478 JB |
203 | %description plugin-kerneloops -l pl.UTF-8 |
204 | Ten pakiet zawiera wtyczkę wysyłającą informacje o awariach jądra na | |
205 | określony serwer, zwykle kerneloops.org. | |
206 | ||
fabfa611 | 207 | %package plugin-logger |
6a2e0478 JB |
208 | Summary: libreport's logger reporter plugin |
209 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń w logu | |
fabfa611 JR |
210 | Group: Libraries |
211 | Requires: %{name} = %{version}-%{release} | |
212 | Obsoletes: abrt-plugin-logger < 2.0.4 | |
213 | ||
214 | %description plugin-logger | |
215 | The simple reporter plugin which writes a report to a specified file. | |
216 | ||
6a2e0478 JB |
217 | %description plugin-logger -l pl.UTF-8 |
218 | Prosta wtyczka zgłaszająca problem, zapisująca raport w określonym | |
219 | pliku. | |
220 | ||
fabfa611 | 221 | %package plugin-mailx |
6a2e0478 JB |
222 | Summary: libreport's mailx reporter plugin |
223 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez pocztę elektroniczną | |
fabfa611 JR |
224 | Group: Libraries |
225 | Requires: %{name} = %{version}-%{release} | |
226 | Requires: mailx | |
227 | Obsoletes: abrt-plugin-mailx < 2.0.4 | |
228 | ||
229 | %description plugin-mailx | |
230 | The simple reporter plugin which sends a report via mailx to a | |
231 | specified email address. | |
232 | ||
6a2e0478 JB |
233 | %description plugin-mailx -l pl.UTF-8 |
234 | Prosta wtyczka zgłaszająca problem, wysyłająca raport na określony | |
235 | adres e-mail przy użyciu programu mailx. | |
236 | ||
742c5e14 JB |
237 | %package plugin-reportuploader |
238 | Summary: libreport's reportuploader plugin | |
239 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez FTP | |
fabfa611 | 240 | Group: Libraries |
fabfa611 | 241 | Requires: %{name} = %{version}-%{release} |
742c5e14 | 242 | Obsoletes: abrt-plugin-reportuploader < 2.0.4 |
fabfa611 | 243 | |
742c5e14 JB |
244 | %description plugin-reportuploader |
245 | Plugin to report bugs into anonymous FTP site associated with | |
246 | ticketing system. | |
fabfa611 | 247 | |
742c5e14 JB |
248 | %description plugin-reportuploader -l pl.UTF-8 |
249 | Wtyczka zgłaszająca błędy poprzez serwer anonimowego FTP powiązany z | |
250 | systemem biletów. | |
fabfa611 JR |
251 | |
252 | %package plugin-rhtsupport | |
6a2e0478 JB |
253 | Summary: libreport's RHTSupport plugin |
254 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń przez RHTSupport | |
fabfa611 JR |
255 | Group: Libraries |
256 | Requires: %{name} = %{version}-%{release} | |
257 | Obsoletes: abrt-plugin-rhtsupport < 2.0.4 | |
258 | ||
259 | %description plugin-rhtsupport | |
260 | Plugin to report bugs into RH support system. | |
261 | ||
6a2e0478 JB |
262 | %description plugin-rhtsupport -l pl.UTF-8 |
263 | Wtyczka zgłaszająca problemy do systemu obsługi RH. | |
264 | ||
742c5e14 JB |
265 | %package plugin-ureport |
266 | Summary: libreport's micro report plugin | |
267 | Summary(pl.UTF-8): Wtyczka libreport do zgłoszeń typu micro-report | |
fabfa611 JR |
268 | Group: Libraries |
269 | Requires: %{name} = %{version}-%{release} | |
fabfa611 | 270 | |
742c5e14 JB |
271 | %description plugin-ureport |
272 | Uploads micro-report to abrt server. | |
fabfa611 | 273 | |
742c5e14 JB |
274 | %description plugin-ureport -l pl.UTF-8 |
275 | Wtyczka przesyłająca raporty typu micro-report na serwer abrt. | |
276 | ||
277 | %package anaconda | |
278 | Summary: Default configuration for reporting Anaconda bugs | |
279 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów w Anacondzie | |
280 | Group: Applications/File | |
281 | Requires: %{name}-plugin-bugzilla = %{version}-%{release} | |
282 | Requires: %{name}-plugin-reportuploader = %{version}-%{release} | |
283 | ||
284 | %description anaconda | |
285 | Default configuration for reporting Anaconda problems using Fedora | |
286 | infrastructure or uploading the gathered data over ftp/scp... | |
287 | ||
288 | %description anaconda -l pl.UTF-8 | |
289 | Domyślna konfiguracja do zgłaszania problemów z Anacondą przy użyciu | |
290 | infrastruktury Fedory lub przesyłając zebrane dane po ftp/scp. | |
291 | ||
292 | %package fedora | |
293 | Summary: Default configuration for reporting bugs via Fedora infrastructure | |
294 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę Fedory | |
295 | Group: Applications/File | |
296 | Requires: %{name} = %{version}-%{release} | |
297 | ||
298 | %description fedora | |
299 | Default configuration for reporting bugs via Fedora infrastructure | |
300 | used primarily to easy configure the reporting process for Fedora | |
301 | systems. | |
302 | ||
303 | %description fedora -l pl.UTF-8 | |
304 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
305 | Fedory, służąca przede wszystkim do łatwej konfiguracji procesu | |
306 | zgłaszania błędów w systemach Fedora. | |
6a2e0478 | 307 | |
97b82249 JB |
308 | %package rhel |
309 | Summary: Default configuration for reporting bugs via RHEL infrastructure | |
310 | Summary(pl.UTF-8): Domyślna konfiguracja do zgłaszania błędów poprzeze infrastrukturę RHEL | |
311 | Group: Applications/File | |
312 | Requires: %{name} = %{version}-%{release} | |
313 | ||
314 | %description rhel | |
315 | Default configuration for reporting bugs via RHEL infrastructure used | |
316 | primarily to easy configure the reporting process for RHEL systems. | |
317 | ||
318 | %description rhel -l pl.UTF-8 | |
319 | Domyślna konfiguracja do zgłaszania błędów poprzez infrastrukturę | |
320 | RHEL, służąca przede wszystkim do łatwej konfiguracji procesu | |
321 | zgłaszania błędów w systemach RHEL. | |
322 | ||
fabfa611 JR |
323 | %prep |
324 | %setup -q | |
325 | %patch0 -p1 | |
326 | ||
327 | %build | |
ba330959 JB |
328 | %{__libtoolize} |
329 | %{__aclocal} -I m4 | |
330 | %{__autoconf} | |
331 | %{__autoheader} | |
332 | %{__automake} | |
742c5e14 | 333 | %configure \ |
259e35fc | 334 | AUGPARSE=/usr/bin/augparse \ |
59b16745 JB |
335 | --disable-silent-rules |
336 | ||
fabfa611 JR |
337 | %{__make} |
338 | ||
259e35fc JB |
339 | %if %{with tests} |
340 | %{__make} check | |
341 | %endif | |
342 | ||
fabfa611 JR |
343 | %install |
344 | rm -rf $RPM_BUILD_ROOT | |
fabfa611 JR |
345 | |
346 | %{__make} install \ | |
347 | DESTDIR=$RPM_BUILD_ROOT | |
348 | ||
349 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
742c5e14 JB |
350 | # compat layer for compatibility tool |
351 | %{__rm} $RPM_BUILD_ROOT{%{_bindir}/report,%{_mandir}/man1/report.1} | |
fabfa611 | 352 | |
fa7dfe3b JB |
353 | %py_postclean |
354 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/report*/*.la | |
355 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/report/*.la | |
356 | ||
d8f3599a JB |
357 | # just a copy of af,hr,ms (empty in turn) |
358 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/af_ZA | |
359 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/hr_HR | |
360 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ms_MY | |
361 | # empty version of cs,es,eu,fa,it,ja,ru,ta,uk | |
362 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs_CZ | |
363 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/es_ES | |
364 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/eu_ES | |
365 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/fa_IR | |
366 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/it_IT | |
367 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja_JP | |
368 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru_RU | |
369 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ta_IN | |
370 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk_UA | |
371 | ||
fabfa611 JR |
372 | %find_lang %{name} |
373 | ||
374 | %clean | |
375 | rm -rf $RPM_BUILD_ROOT | |
376 | ||
377 | %post -p /sbin/ldconfig | |
378 | %postun -p /sbin/ldconfig | |
9548a96e JR |
379 | |
380 | %post web -p /sbin/ldconfig | |
381 | %postun web -p /sbin/ldconfig | |
382 | ||
383 | %post gtk -p /sbin/ldconfig | |
384 | %postun gtk -p /sbin/ldconfig | |
fabfa611 JR |
385 | |
386 | %files -f %{name}.lang | |
387 | %defattr(644,root,root,755) | |
388 | %doc README | |
6a2e0478 | 389 | %dir %{_sysconfdir}/%{name} |
3ba57398 JB |
390 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/report_event.conf |
391 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/forbidden_words.conf | |
392 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/ignored_words.conf | |
6a2e0478 | 393 | %dir %{_sysconfdir}/%{name}/events |
742c5e14 | 394 | %dir %{_sysconfdir}/%{name}/events.d |
6a2e0478 | 395 | %dir %{_sysconfdir}/%{name}/plugins |
742c5e14 | 396 | %dir %{_sysconfdir}/%{name}/workflows.d |
fabfa611 JR |
397 | %attr(755,root,root) %{_libdir}/libreport.so.*.*.* |
398 | %attr(755,root,root) %ghost %{_libdir}/libreport.so.0 | |
399 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so.*.*.* | |
400 | %attr(755,root,root) %ghost %{_libdir}/libabrt_dbus.so.0 | |
259e35fc | 401 | %{_datadir}/augeas/lenses/libreport.aug |
59b16745 | 402 | %dir %{_datadir}/libreport |
259e35fc JB |
403 | %dir %{_datadir}/libreport/conf.d |
404 | %dir %{_datadir}/libreport/conf.d/plugins | |
59b16745 JB |
405 | %dir %{_datadir}/libreport/events |
406 | %dir %{_datadir}/libreport/workflows | |
407 | %{_mandir}/man5/forbidden_words.conf.5* | |
4e7d5436 | 408 | %{_mandir}/man5/ignored_words.conf.5* |
fabfa611 JR |
409 | %{_mandir}/man5/report_event.conf.5* |
410 | ||
fabfa611 JR |
411 | %files devel |
412 | %defattr(644,root,root,755) | |
6a2e0478 JB |
413 | %attr(755,root,root) %{_libdir}/libreport.so |
414 | %attr(755,root,root) %{_libdir}/libabrt_dbus.so | |
fabfa611 JR |
415 | %dir %{_includedir}/libreport |
416 | %{_includedir}/libreport/client.h | |
742c5e14 | 417 | %{_includedir}/libreport/config_item_info.h |
fabfa611 JR |
418 | %{_includedir}/libreport/dump_dir.h |
419 | %{_includedir}/libreport/event_config.h | |
742c5e14 | 420 | %{_includedir}/libreport/file_obj.h |
267c13ea | 421 | %{_includedir}/libreport/libreport_types.h |
fabfa611 JR |
422 | %{_includedir}/libreport/problem_data.h |
423 | %{_includedir}/libreport/report.h | |
424 | %{_includedir}/libreport/run_event.h | |
425 | %{_includedir}/libreport/internal_abrt_dbus.h | |
426 | %{_includedir}/libreport/internal_libreport.h | |
d8f3599a | 427 | %{_includedir}/libreport/ureport.h |
742c5e14 | 428 | %{_includedir}/libreport/workflow.h |
97b82249 | 429 | %{_includedir}/libreport/xml_parser.h |
ba330959 | 430 | %{_pkgconfigdir}/libreport.pc |
fabfa611 JR |
431 | |
432 | %files web | |
433 | %defattr(644,root,root,755) | |
434 | %attr(755,root,root) %{_libdir}/libreport-web.so.*.* | |
435 | %attr(755,root,root) %ghost %{_libdir}/libreport-web.so.0 | |
436 | ||
437 | %files web-devel | |
438 | %defattr(644,root,root,755) | |
439 | %attr(755,root,root) %{_libdir}/libreport-web.so | |
440 | %{_includedir}/libreport/libreport_curl.h | |
441 | %{_pkgconfigdir}/libreport-web.pc | |
442 | ||
00cca651 | 443 | %files -n python-%{name} |
fabfa611 | 444 | %defattr(644,root,root,755) |
fa7dfe3b JB |
445 | %dir %{py_sitedir}/report |
446 | %attr(755,root,root) %{py_sitedir}/report/_pyreport.so | |
447 | %{py_sitedir}/report/*.py[co] | |
448 | %dir %{py_sitedir}/report/io | |
449 | %{py_sitedir}/report/io/*.py[co] | |
450 | %dir %{py_sitedir}/reportclient | |
451 | %attr(755,root,root) %{py_sitedir}/reportclient/_reportclient.so | |
452 | %{py_sitedir}/reportclient/*.py[co] | |
453 | ||
454 | %files -n python3-%{name} | |
455 | %defattr(644,root,root,755) | |
456 | %dir %{py3_sitedir}/report | |
457 | %attr(755,root,root) %{py3_sitedir}/report/_py3report.so | |
458 | %{py3_sitedir}/report/*.py* | |
459 | %dir %{py3_sitedir}/report/io | |
460 | %{py3_sitedir}/report/io/*.py* | |
fabfa611 JR |
461 | |
462 | %files cli | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_bindir}/report-cli | |
465 | %{_mandir}/man1/report-cli.1* | |
466 | ||
467 | %files newt | |
468 | %defattr(644,root,root,755) | |
469 | %attr(755,root,root) %{_bindir}/report-newt | |
59b16745 | 470 | %{_mandir}/man1/report-newt.1* |
fabfa611 JR |
471 | |
472 | %files gtk | |
473 | %defattr(644,root,root,755) | |
474 | %attr(755,root,root) %{_bindir}/report-gtk | |
475 | %attr(755,root,root) %{_libdir}/libreport-gtk.so.*.* | |
476 | %attr(755,root,root) %ghost %{_libdir}/libreport-gtk.so.0 | |
59b16745 | 477 | %{_mandir}/man1/report-gtk.1* |
fabfa611 JR |
478 | |
479 | %files gtk-devel | |
480 | %defattr(644,root,root,755) | |
481 | %attr(755,root,root) %{_libdir}/libreport-gtk.so | |
482 | %{_includedir}/libreport/internal_libreport_gtk.h | |
d8f3599a JB |
483 | %{_includedir}/libreport/problem_details_dialog.h |
484 | %{_includedir}/libreport/problem_details_widget.h | |
fabfa611 JR |
485 | %{_pkgconfigdir}/libreport-gtk.pc |
486 | ||
742c5e14 JB |
487 | %files plugin-bugzilla |
488 | %defattr(644,root,root,755) | |
489 | %attr(755,root,root) %{_bindir}/reporter-bugzilla | |
490 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf | |
491 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf | |
d8f3599a | 492 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf |
742c5e14 | 493 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf |
742c5e14 JB |
494 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf |
495 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf | |
496 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf | |
259e35fc JB |
497 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml |
498 | %{_datadir}/libreport/conf.d/plugins/bugzilla.conf | |
59b16745 | 499 | %{_datadir}/libreport/events/report_Bugzilla.xml |
fa7dfe3b | 500 | %{_datadir}/libreport/events/watch_Bugzilla.xml |
742c5e14 | 501 | %{_mandir}/man1/reporter-bugzilla.1* |
59b16745 JB |
502 | %{_mandir}/man5/bugzilla.conf.5* |
503 | %{_mandir}/man5/bugzilla_event.conf.5* | |
504 | %{_mandir}/man5/bugzilla_format.conf.5* | |
d8f3599a | 505 | %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5* |
59b16745 | 506 | %{_mandir}/man5/bugzilla_format_kernel.conf.5* |
59b16745 JB |
507 | %{_mandir}/man5/bugzilla_formatdup.conf.5* |
508 | %{_mandir}/man5/report_Bugzilla.conf.5* | |
742c5e14 | 509 | |
fabfa611 JR |
510 | %files plugin-kerneloops |
511 | %defattr(644,root,root,755) | |
fabfa611 | 512 | %attr(755,root,root) %{_bindir}/reporter-kerneloops |
59b16745 | 513 | %{_datadir}/libreport/events/report_Kerneloops.xml |
fabfa611 JR |
514 | %{_mandir}/man1/reporter-kerneloops.1* |
515 | ||
516 | %files plugin-logger | |
517 | %defattr(644,root,root,755) | |
6a2e0478 | 518 | %attr(755,root,root) %{_bindir}/reporter-print |
d8f3599a | 519 | %config(noreplace) %{_sysconfdir}/libreport/events/report_Logger.conf |
fabfa611 | 520 | %config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf |
d8f3599a JB |
521 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_logger.conf |
522 | %{_datadir}/libreport/events/report_Logger.xml | |
523 | %{_datadir}/libreport/workflows/workflow_Logger.xml | |
524 | %{_datadir}/libreport/workflows/workflow_LoggerCCpp.xml | |
fabfa611 | 525 | %{_mandir}/man1/reporter-print.1* |
59b16745 JB |
526 | %{_mandir}/man5/print_event.conf.5* |
527 | %{_mandir}/man5/report_Logger.conf.5* | |
d8f3599a | 528 | %{_mandir}/man5/report_logger.conf.5* |
fabfa611 JR |
529 | |
530 | %files plugin-mailx | |
531 | %defattr(644,root,root,755) | |
6a2e0478 | 532 | %attr(755,root,root) %{_bindir}/reporter-mailx |
fabfa611 JR |
533 | %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf |
534 | %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf | |
d8f3599a | 535 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_mailx.conf |
259e35fc JB |
536 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml |
537 | %{_datadir}/libreport/conf.d/plugins/mailx.conf | |
59b16745 | 538 | %{_datadir}/libreport/events/report_Mailx.xml |
d8f3599a JB |
539 | %{_datadir}/libreport/workflows/workflow_Mailx.xml |
540 | %{_datadir}/libreport/workflows/workflow_MailxCCpp.xml | |
fabfa611 | 541 | %{_mandir}/man1/reporter-mailx.1* |
59b16745 JB |
542 | %{_mandir}/man5/mailx.conf.5* |
543 | %{_mandir}/man5/mailx_event.conf.5* | |
d8f3599a | 544 | %{_mandir}/man5/report_mailx.conf.5* |
fabfa611 | 545 | |
742c5e14 | 546 | %files plugin-reportuploader |
6a2e0478 | 547 | %defattr(644,root,root,755) |
742c5e14 | 548 | %attr(755,root,root) %{_bindir}/reporter-upload |
4e7d5436 | 549 | %config(noreplace) %{_sysconfdir}/libreport/plugins/upload.conf |
d8f3599a JB |
550 | %config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf |
551 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uploader.conf | |
4e7d5436 | 552 | %{_datadir}/libreport/conf.d/plugins/upload.conf |
59b16745 JB |
553 | %{_datadir}/libreport/events/report_Uploader.xml |
554 | %{_datadir}/libreport/workflows/workflow_Upload.xml | |
d8f3599a | 555 | %{_datadir}/libreport/workflows/workflow_UploadCCpp.xml |
742c5e14 | 556 | %{_mandir}/man1/reporter-upload.1* |
d8f3599a | 557 | %{_mandir}/man5/report_uploader.conf.5* |
59b16745 | 558 | %{_mandir}/man5/uploader_event.conf.5* |
6a2e0478 | 559 | |
fabfa611 JR |
560 | %files plugin-rhtsupport |
561 | %defattr(644,root,root,755) | |
6a2e0478 | 562 | %attr(755,root,root) %{_bindir}/reporter-rhtsupport |
fabfa611 JR |
563 | %config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf |
564 | %config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf | |
259e35fc JB |
565 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.xml |
566 | %{_datadir}/libreport/conf.d/plugins/rhtsupport.conf | |
59b16745 | 567 | %{_datadir}/libreport/events/report_RHTSupport.xml |
fabfa611 | 568 | %{_mandir}/man1/reporter-rhtsupport.1* |
59b16745 JB |
569 | %{_mandir}/man5/rhtsupport.conf.5* |
570 | %{_mandir}/man5/rhtsupport_event.conf.5* | |
fabfa611 | 571 | |
742c5e14 | 572 | %files plugin-ureport |
fabfa611 | 573 | %defattr(644,root,root,755) |
742c5e14 | 574 | %attr(755,root,root) %{_bindir}/reporter-ureport |
97b82249 | 575 | %config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf |
259e35fc JB |
576 | %config(noreplace) %{_sysconfdir}/libreport/plugins/ureport.conf |
577 | %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml | |
578 | %{_datadir}/libreport/conf.d/plugins/ureport.conf | |
59b16745 JB |
579 | %{_datadir}/libreport/events/report_uReport.xml |
580 | %{_datadir}/libreport/events/report_EmergencyAnalysis.xml | |
581 | %{_mandir}/man1/reporter-ureport.1* | |
582 | %{_mandir}/man5/emergencyanalysis_event.conf.5* | |
259e35fc | 583 | %{_mandir}/man5/ureport.conf.5* |
742c5e14 JB |
584 | |
585 | %files anaconda | |
586 | %defattr(644,root,root,755) | |
267c13ea JB |
587 | %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf |
588 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf | |
589 | %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf | |
742c5e14 | 590 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf |
59b16745 JB |
591 | %{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml |
592 | %{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml | |
259e35fc | 593 | %{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml |
59b16745 JB |
594 | %{_datadir}/libreport/workflows/workflow_AnacondaUpload.xml |
595 | %{_mandir}/man5/anaconda_event.conf.5* | |
596 | %{_mandir}/man5/bugzilla_anaconda_event.conf.5* | |
597 | %{_mandir}/man5/bugzilla_format_anaconda.conf.5* | |
598 | %{_mandir}/man5/bugzilla_formatdup_anaconda.conf.5* | |
742c5e14 JB |
599 | |
600 | %files fedora | |
601 | %defattr(644,root,root,755) | |
742c5e14 | 602 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf |
59b16745 JB |
603 | %{_datadir}/libreport/workflows/workflow_Fedora*.xml |
604 | %{_mandir}/man5/report_fedora.conf.5* | |
97b82249 JB |
605 | |
606 | %files rhel | |
607 | %defattr(644,root,root,755) | |
97b82249 | 608 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf |
259e35fc | 609 | %config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf |
59b16745 JB |
610 | %{_datadir}/libreport/workflows/workflow_RHEL*.xml |
611 | %{_mandir}/man5/report_rhel.conf.5* | |
259e35fc | 612 | %{_mandir}/man5/report_rhel_bugzilla.conf.5* |