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