]> git.pld-linux.org Git - packages/abrt.git/blob - abrt.spec
- journal_catalog_update macro moved to rpm-build-macros (1.721)
[packages/abrt.git] / abrt.spec
1 #
2 # TODO:
3 # - handle obsolete packages: abrt-plugin-{catcut,rhfastcheck,rhticket,ticketuploader}
4 # - SysV init scripts for -addon-ccpp, -addon-kerneloops, -addon-pstoreoops, -addon-upload-watch, -addon-vmcore, -addon-xorg
5 # - teach build system to use python3.2+ __pycache__
6 #
7 # Conditional build:
8 %bcond_without  tests   # disable pythontests
9 #
10 %define         libreport_ver   2.9.0
11 Summary:        Automatic bug detection and reporting tool
12 Summary(pl.UTF-8):      Narzędzie do automatycznego wykrywania i zgłaszania błędów
13 Name:           abrt
14 Version:        2.10.0
15 Release:        1
16 License:        GPL v2+
17 Group:          Applications/System
18 Source0:        https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
19 # Source0-md5:  050088fd550a8a063e2e21230b0588de
20 Source1:        %{name}.init
21 Patch0:         %{name}-rpm5.patch
22 Patch1:         %{name}-rpm45.patch
23 Patch2:         %{name}-link.patch
24 URL:            https://fedorahosted.org/abrt/
25 BuildRequires:  asciidoc
26 BuildRequires:  autoconf >= 2.50
27 BuildRequires:  automake
28 BuildRequires:  dbus-devel
29 BuildRequires:  docbook-dtd45-xml
30 BuildRequires:  gettext-tools >= 0.17
31 BuildRequires:  glib2-devel >= 1:2.43
32 BuildRequires:  gsettings-desktop-schemas-devel >= 3.15.1
33 BuildRequires:  gtk+3-devel >= 3.0
34 BuildRequires:  hawkey-devel
35 BuildRequires:  intltool >= 0.35.0
36 BuildRequires:  json-c-devel
37 BuildRequires:  libnotify-devel >= 0.7.0
38 BuildRequires:  libreport-devel >= %{libreport_ver}
39 BuildRequires:  libreport-gtk-devel >= %{libreport_ver}
40 BuildRequires:  libreport-web-devel >= %{libreport_ver}
41 BuildRequires:  libselinux-devel
42 BuildRequires:  libtool
43 BuildRequires:  libxml2-devel >= 2
44 BuildRequires:  nss-devel
45 BuildRequires:  pkgconfig
46 BuildRequires:  polkit-devel
47 BuildRequires:  python-devel >= 2
48 BuildRequires:  python-modules >= 2
49 %{?with_tests:BuildRequires:    python-nose}
50 BuildRequires:  python3-devel >= 3
51 BuildRequires:  python3-modules >= 3
52 BuildRequires:  rpm-devel >= 4.5-28
53 BuildRequires:  rpm-pythonprov
54 BuildRequires:  rpmbuild(macros) >= 1.721
55 BuildRequires:  satyr-devel >= 0.21
56 BuildRequires:  systemd-devel
57 BuildRequires:  xmlto
58 Requires(postun):       /usr/sbin/groupdel
59 Requires(postun):       /usr/sbin/userdel
60 Requires(pre):  /bin/id
61 Requires(pre):  /usr/bin/getgid
62 Requires(pre):  /usr/sbin/groupadd
63 Requires(pre):  /usr/sbin/useradd
64 Requires:       %{name}-libs = %{version}-%{release}
65 Provides:       group(abrt)
66 Provides:       user(abrt)
67 Obsoletes:      abrt-plugin-filetransfer
68 Obsoletes:      abrt-plugin-runapp
69 Obsoletes:      abrt-plugin-sosreport
70 Obsoletes:      abrt-plugin-sqlite3
71 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73 %description
74 ABRT is a tool to help users to detect defects in applications and to
75 create a bug report with all informations needed by maintainer to fix
76 it. It uses plugin system to extend its functionality.
77
78 %description -l pl.UTF-8
79 ABRT to narzędzie pomagające użytkownikom w wykrywaniu defektów w
80 aplikacjach oraz tworzeniu raportów błędów ze wszystkimi informacjami
81 potrzebnymi utrzymującemu pakiet do poprawienia go. Wykorzystuje
82 system wtyczek do rozszerzania funkcjonalności.
83
84 %package -n bash-completion-abrt
85 Summary:        Bash completion for abrt command
86 Summary(pl.UTF-8):      Bashowe dopełnianie parametrów dla polecenia abrt
87 Group:          Applications/Shells
88 Requires:       %{name} = %{version}-%{release}
89 Requires:       bash-completion
90
91 %description -n bash-completion-abrt
92 Bash completion for abrt command.
93
94 %description -n bash-completion-abrt -l pl.UTF-8
95 Bashowe dopełnianie parametrów dla polecenia abrt.
96
97 %package libs
98 Summary:        ABRT shared library
99 Summary(pl.UTF-8):      Biblioteka współdzielona ABRT
100 Group:          Libraries
101 Requires:       glib2 >= 1:2.43
102 Requires:       libreport >= %{libreport_ver}
103
104 %description libs
105 ABRT shared library.
106
107 %description libs -l pl.UTF-8
108 Biblioteka współdzielona ABRT.
109
110 %package devel
111 Summary:        Header files for ABRT livrary
112 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotekia ABRT
113 Group:          Development/Libraries
114 Requires:       %{name}-libs = %{version}-%{release}
115 Requires:       glib2-devel >= 1:2.43
116 Requires:       libreport-devel >= %{libreport_ver}
117
118 %description devel
119 Header files for ABRT livrary.
120
121 %description devel -l pl.UTF-8
122 Pliki nagłówkowe biblioteki ABRT.
123
124 %package addon-ccpp
125 Summary:        ABRT's C/C++ addon
126 Summary(pl.UTF-8):      Dodatek C/C++ do ABRT
127 Group:          Libraries
128 Requires:       %{name} = %{version}-%{release}
129 Requires:       %{name}-addon-coredump-helper = %{version}-%{release}
130 Requires:       %{name}-retrace-client = %{version}-%{release}
131 Requires:       cpio
132 Requires:       elfutils
133 Requires:       gdb >= 7.0-3
134 Requires:       satyr >= 0.21
135 Requires:       yum-utils
136 Obsoletes:      %{name}-atomic
137
138 %description addon-ccpp
139 This package contains hook for C/C++ crashed programs and abrt's C/C++
140 analyzer plugin.
141
142 %description addon-ccpp -l pl.UTF-8
143 Ten pakiet zawiera punkt zaczepienia dla programów w C/C++, które
144 uległy awarii oraz wtyczkę analizatora C/C++ ABRT.
145
146 %package addon-coredump-helper
147 Summary:        ABRT's /proc/sys/kernel/core_pattern helper
148 Summary(pl.UTF-8):      Program pomocniczy ABRT do /proc/sys/kernel/core_pattern
149 Group:          Libraries
150 Requires:       %{name}-libs = %{version}-%{release}
151
152 %description addon-coredump-helper
153 This package contains hook for C/C++ crashed programs.
154
155 %description addon-coredump-helper -l pl.UTF-8
156 Ten pakiet zawiera uchwyt dla programów w C/C++, które uległy awarii.
157
158 %package addon-kerneloops
159 Summary:        ABRT's kerneloops addon
160 Summary(pl.UTF-8):      Dodatek kerneloops do ABRT
161 Group:          Libraries
162 Requires:       %{name} = %{version}-%{release}
163 Requires:       curl
164 Requires:       libreport-plugin-kerneloops >= %{libreport_ver}
165 Obsoletes:      abrt-plugin-kerneloops
166 Obsoletes:      abrt-plugin-kerneloopsreporter
167 Obsoletes:      kerneloops
168
169 %description addon-kerneloops
170 This package contains plugin for collecting kernel crash information
171 from system log.
172
173 %description addon-kerneloops -l pl.UTF-8
174 Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z
175 logu systemowego.
176
177 %package addon-pstoreoops
178 Summary:        ABRT's pstoreoops addon
179 Summary(pl.UTF-8):      Dodatek pstoreoops do ABRT
180 Group:          Libraries
181 Requires:       %{name}-addon-kerneloops = %{version}-%{release}
182 Obsoletes:      abrt-addon-uefioops
183
184 %description addon-pstoreoops
185 This package contains plugin for collecting kernel oopses from pstore
186 storage.
187
188 %description addon-pstoreoops -l pl.UTF-8
189 Ten pakiet zawiera wtyczkę do zbierania oopsów jądra z danych pstore.
190
191 %package addon-python
192 Summary:        ABRT's addon for catching and analyzing Python 2 exceptions
193 Summary(pl.UTF-8):      Dodatek ABRT do przechwytywania i analizy wyjątków Pythona 2
194 Group:          Libraries
195 Requires:       %{name} = %{version}-%{release}
196 Requires:       %{name}-python = %{version}-%{release}
197 # for detecting package name containing offending file
198 Suggests:       python-rpm
199 # for logging to journal
200 Suggests:       python-systemd
201 Obsoletes:      gnome-python2-bugbuddy
202
203 %description addon-python
204 This package contains Python hook and Python analyzer plugin for
205 handling uncaught exception in Python 2 programs.
206
207 %description addon-python -l pl.UTF-8
208 Ten pakiet zawiera pythonowy punkt zaczepienia oraz wtyczkę
209 analizatora Pythona do obsługi nie obsłużonych wyjątków w programach w
210 Pythonie 2.
211
212 %package addon-python3
213 Summary:        ABRT's addon for catching and analyzing Python 3 exceptions
214 Summary(pl.UTF-8):      Dodatek ABRT do przechwytywania i analizy wyjątków Pythona 3
215 Group:          Libraries
216 Requires:       %{name} = %{version}-%{release}
217 Requires:       %{name}-python3 = %{version}-%{release}
218 # for detecting package name containing offending file (TODO: python3-rpm package)
219 #Suggests:      python3-rpm
220 # for logging to journal (TODO: python3-systemd package)
221 #Suggests:      python3-systemd
222
223 %description addon-python3
224 This package contains Python hook and Python analyzer plugin for
225 handling uncaught exception in Python 3 programs.
226
227 %description addon-python3 -l pl.UTF-8
228 Ten pakiet zawiera pythonowy punkt zaczepienia oraz wtyczkę
229 analizatora Pythona do obsługi nie obsłużonych wyjątków w programach w
230 Pythonie 3.
231
232 %package addon-upload-watch
233 Summary:        ABRT's upload addon
234 Summary(pl.UTF-8):      Dodatek upload do ABRT
235 Group:          Libraries
236 Requires:       %{name} = %{version}-%{release}
237
238 %description addon-upload-watch
239 This package contains hook for uploaded problems.
240
241 %description addon-upload-watch -l pl.UTF-8
242 Ten pakiet zawiera uchwyt dla problemów przysłanych.
243
244 %package addon-vmcore
245 Summary:        ABRT's vmcore addon
246 Summary(pl.UTF-8):      Dodatek vmcore do ABRT
247 Group:          Libraries
248 Requires:       %{name} = %{version}-%{release}
249 Requires:       %{name}-addon-kerneloops = %{version}-%{release}
250 Requires:       crash
251
252 %description addon-vmcore
253 This package contains plugin for collecting kernel crash information
254 from vmcore files.
255
256 %description addon-vmcore -l pl.UTF-8
257 Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z
258 plików vmcore.
259
260 %package addon-xorg
261 Summary:        ABRT's Xorg addon
262 Summary(pl.UTF-8):      Dodatek Xorg do ABRT
263 Group:          Libraries
264 Requires:       %{name} = %{version}-%{release}
265 Requires:       curl
266
267 %description addon-xorg
268 This package contains plugin for collecting Xorg crash information
269 from Xorg log.
270
271 %description addon-xorg -l pl.UTF-8
272 Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z
273 logu Xorg.
274
275 %package atomic
276 Summary:        Package to make easy default installation on Atomic hosts
277 Summary(pl.UTF-8):      Pakiet ułatwiający domyślną instalację na hostach Atomic
278 Group:          Applications/System
279 Requires:       %{name}-addon-coredump-helper = %{version}-%{release}
280 Obsoletes:      %{name}-addon-ccpp
281
282 %description atomic
283 Package to install all necessary packages for usage from Atomic hosts.
284
285 %description atomic -l pl.UTF-8
286 Pakiet służący do instalacji wszystkich wymaganych pakietów
287 przeznaczonych do użycia z hostów Atomic.
288
289 %package plugin-bodhi
290 Summary:        ABRT's bodhi plugin
291 Summary(pl.UTF-8):      Wtyczka bodhi do ABRT
292 Group:          Libraries
293 Requires:       %{name} = %{version}-%{release}
294 Requires:       libreport-web >= %{libreport_ver}
295 Obsoletes:      libreport-plugin-bodhi
296
297 %description plugin-bodhi
298 Plugin to search for a new updates in bodhi server.
299
300 %description plugin-bodhi -l pl.UTF-8
301 Wtyczka do wyszukiwania nowych uaktualnień na serwerze bodhi.
302
303 %package retrace-client
304 Summary:        ABRT's retrace client
305 Summary(pl.UTF-8):      Klient Retrace dla ABRT
306 Group:          Libraries
307 Requires:       %{name} = %{version}-%{release}
308 Requires:       xz
309
310 %description retrace-client
311 This package contains the client application for Retrace server which
312 is able to analyze C/C++ crashes remotely.
313
314 %description retrace-client -l pl.UTF-8
315 Ten pakiet zawiera aplikację kliencką dla serwera Retrace, który
316 potrafi zdalnie przeanalizować awarię programu w C/C++.
317
318 %package dbus
319 Summary:        ABRT DBus service
320 Summary(pl.UTF-8):      Usługa DBus ABRT
321 Group:          Applications/System
322 Requires:       %{name} = %{version}-%{release}
323 Requires:       libreport >= %{libreport_ver}
324
325 %description dbus
326 ABRT DBus service which provides org.freedesktop.problems API on DBus
327 and uses PolicyKit to authorize to access the problem data.
328
329 %description dbus -l pl.UTF-8
330 Usługa DBus ABRT, udostępniająca poprzez DBus API
331 org.freedesktop.problems, używająca PolicyKit do autoryzacji dostępu
332 do danych o problemach.
333
334 %package python
335 Summary:        ABRT Python 2 API
336 Summary(pl.UTF-8):      API Pythona 2 do ABRT
337 Group:          Libraries/Python
338 Requires:       %{name} = %{version}-%{release}
339 Requires:       python-libreport >= %{libreport_ver}
340
341 %description python
342 High-level API for querying, creating and manipulating problems
343 handled by ABRT in Python 2.
344
345 %description python -l pl.UTF-8
346 Wysokopoziomowe API do odpytywania, tworzenia i obróbki z poziomu
347 Pythona 2 problemów obsługiwanych przez ABRT.
348
349 %package python3
350 Summary:        ABRT Python 3 API
351 Summary(pl.UTF-8):      API Pythona 3 do ABRT
352 Group:          Libraries/Python
353 Requires:       %{name} = %{version}-%{release}
354 Requires:       python3-libreport >= %{libreport_ver}
355
356 %description python3
357 High-level API for querying, creating and manipulating problems
358 handled by ABRT in Python.
359
360 %description python3 -l pl.UTF-8
361 Wysokopoziomowe API do odpytywania, tworzenia i obróbki z poziomu
362 Pythona 3 problemów obsługiwanych przez ABRT.
363
364 %package cli
365 Summary:        ABRT's command line interface
366 Summary(pl.UTF-8):      Interfejs linii poleceń ABRT
367 Group:          Applications/System
368 Requires:       %{name} = %{version}-%{release}
369 # analyzers
370 Requires:       %{name}-addon-ccpp = %{version}-%{release}
371 Requires:       %{name}-addon-kerneloops = %{version}-%{release}
372 Requires:       %{name}-addon-pstoreoops = %{version}-%{release}
373 Requires:       %{name}-addon-python = %{version}-%{release}
374 # reporters
375 Requires:       libreport-plugin-bugzilla >= %{libreport_ver}
376 Requires:       libreport-plugin-logger >= %{libreport_ver}
377
378 %description cli
379 This package contains simple command line client for controling ABRT
380 daemon over the sockets.
381
382 %description cli -l pl.UTF-8
383 Ten pakiet zawiera prostego klienta obsługiwanego z linii poleceń,
384 pozwalającego na sterowanie demonem poprzez gniazda.
385
386 %package gui
387 Summary:        ABRT's GUI
388 Summary(pl.UTF-8):      Graficzny interfejs użytkownika do ABRT
389 Group:          X11/Applications
390 Requires(post,postun):  /sbin/ldconfig
391 Requires(post,postun):  gtk-update-icon-cache
392 Requires(post,postun):  hicolor-icon-theme
393 Requires:       %{name} = %{version}-%{release}
394 Requires:       %{name}-dbus = %{version}-%{release}
395 Requires:       %{name}-gui-libs = %{version}-%{release}
396 Suggests:       gnome-abrt
397 Provides:       abrt-applet = %{version}-%{release}
398 Obsoletes:      abrt-applet < 0.0.5
399 Conflicts:      abrt-applet < 0.0.5
400
401 %description gui
402 GTK+ wizard for convenient bug reporting.
403
404 %description gui -l pl.UTF-8
405 Oparty na GTK+ kreator do wygodnego zgłaszania błędów.
406
407 %package gui-libs
408 Summary:        ABRT's GUI library
409 Summary(pl.UTF-8):      Biblioteka graficznego interfejsu użytkownika ABRT
410 Group:          X11/Libraries
411 Requires:       %{name}-libs = %{version}-%{release}
412 Requires:       gtk+3 >= 3.0
413
414 %description gui-libs
415 ABRT's GUI library.
416
417 %description gui-libs -l pl.UTF-8
418 Biblioteka graficznego interfejsu użytkownika ABRT.
419
420 %package gui-devel
421 Summary:        Header files for ABRT GUI library
422 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki graficznego interfejsu użytkownika ABRT
423 Group:          X11/Development/Libraries
424 Requires:       %{name}-devel = %{version}-%{release}
425 Requires:       %{name}-gui-libs = %{version}-%{release}
426 Requires:       gtk+3-devel >= 3.0
427
428 %description gui-devel
429 Header files for ABRT GUI library.
430
431 %description gui-devel -l pl.UTF-8
432 Pliki nagłówkowe biblioteki graficznego interfejsu użytkownika ABRT.
433
434 %package desktop
435 Summary:        Virtual package to install all necessary packages for usage from desktop environment
436 Summary(pl.UTF-8):      Writualny pakiet do instalacji pakietów potrzebnych do użycia w środowisku graficznym
437 Group:          X11/Applications
438 # This package should be installed when anything requests bug-buddy;
439 # installing abrt-desktop should result in the abrt which works without
440 # any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
441 Requires:       %{name} = %{version}-%{release}
442 Requires:       %{name}-addon-ccpp = %{version}-%{release}
443 Requires:       %{name}-addon-kerneloops = %{version}-%{release}
444 Requires:       %{name}-addon-pstoreoops = %{version}-%{release}
445 Requires:       %{name}-addon-python = %{version}-%{release}
446 Requires:       %{name}-addon-vmcore = %{version}-%{release}
447 Requires:       %{name}-addon-xorg = %{version}-%{release}
448 Requires:       %{name}-gui = %{version}-%{release}
449 Requires:       %{name}-plugin-bodhi = %{version}-%{release}
450 Requires:       %{name}-retrace-client = %{version}-%{release}
451 Requires:       libreport-plugin-bugzilla >= %{libreport_ver}
452 Requires:       libreport-plugin-logger >= %{libreport_ver}
453 Requires:       libreport-plugin-ureport >= %{libreport_ver}
454 Provides:       bug-buddy
455 Obsoletes:      bug-buddy
456
457 %description desktop
458 Virtual package to make easy default installation on desktop
459 environments.
460
461 %description desktop -l pl.UTF-8
462 Wirtualny pakiet ułatwiający domyślną instalację w środowiskach
463 graficznych.
464
465 %package console-notification
466 Summary:        ABRT console notification script
467 Summary(pl.UTF-8):      Skrypt ABRT do powiadomień na konsoli
468 Group:          Applications/System
469 Requires:       %{name} = %{version}-%{release}
470 Requires:       %{name}-cli = %{version}-%{release}
471
472 %description console-notification
473 A small script which prints a count of detected problems when someone
474 logs in to the shell.
475
476 %description console-notification -l pl.UTF-8
477 Mały skrypt wypisujący liczbę wykrytych problemów, kiedy ktoś loguje
478 się do powłoki.
479
480 %prep
481 %setup -q
482 %if "%{_rpmversion}" >= "5.0"
483 %patch0 -p1
484 %else
485 %patch1 -p1
486 %endif
487 %patch2 -p1
488
489 %{__sed} -n -e '/^%%changelog/,$p' abrt.spec.in | tail -n +2 > changelog
490
491 %build
492 %{__libtoolize}
493 %{__aclocal} -I m4
494 %{__autoconf}
495 %{__autoheader}
496 %{__automake}
497 %configure \
498         --disable-silent-rules \
499         %{!?with_tests:--without-pythontests} \
500         --with-systemdsystemunitdir=%{systemdunitdir}
501
502 %{__make}
503
504 %install
505 rm -rf $RPM_BUILD_ROOT
506 %{__make} install \
507         DESTDIR=$RPM_BUILD_ROOT \
508         pythondir=%{py_sitescriptdir} \
509         python3dir=%{py3_sitescriptdir}
510
511 %py_postclean
512
513 # obsoleted by pkg-config
514 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
515
516 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/abrtd
517 install -d $RPM_BUILD_ROOT/var/cache/%{name}
518 install -d $RPM_BUILD_ROOT/var/cache/%{name}-di
519 install -d $RPM_BUILD_ROOT/var/run/%{name}
520
521 install -d $RPM_BUILD_ROOT%{systemdtmpfilesdir}
522 cat > $RPM_BUILD_ROOT%{systemdtmpfilesdir}/abrt.conf <<EOF
523 d /var/run/%{name} 0755 root root -
524 EOF
525
526 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/problem/*.la
527 %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/problem/*.la
528 # examples
529 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/problem_examples
530 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/problem_examples
531 # packaged as %doc
532 %{__rm} $RPM_BUILD_ROOT%{_docdir}/abrt/README.md
533
534 # fool man verification - report_event.conf.5 belongs to libreport (NOTE: don't package it here)
535 touch $RPM_BUILD_ROOT%{_mandir}/man5/report_event.conf.5
536
537 # empty version of nb,ru
538 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{no,ru_RU}
539 # not supported by glibc yet
540 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ach,aln,bal,ilo}
541
542 %find_lang %{name}
543
544 %clean
545 rm -rf $RPM_BUILD_ROOT
546
547 %pre
548 %groupadd -g 248 abrt
549 %useradd -u 248 -g abrt -d /etc/abrt -s /sbin/nologin abrt
550
551 %post
552 /sbin/chkconfig --add abrtd
553 %service abrtd restart
554 %systemd_post abrtd.service
555
556 %preun
557 if [ "$1" = "0" ]; then
558         %service abrtd stop
559         /sbin/chkconfig --del abrtd
560 fi
561 %systemd_preun abrtd.service
562
563 %postun
564 if [ "$1" = "0" ]; then
565         %userremove abrt
566         %groupremove abrt
567 fi
568
569 %post   libs -p /sbin/ldconfig
570 %postun libs -p /sbin/ldconfig
571
572 %post addon-ccpp
573 %systemd_post abrt-ccpp.service
574 %systemd_post abrt-journal-core.service
575 %journal_catalog_update
576
577 %preun addon-ccpp
578 %systemd_preun abrt-ccpp.service
579 %systemd_preun abrt-journal-core.service
580
581 %post addon-kerneloops
582 %systemd_post abrt-oops.service
583 %journal_catalog_update
584
585 %preun addon-kerneloops
586 %systemd_preun abrt-oops.service
587
588 %post addon-pstoreoops
589 %systemd_post abrt-pstoreoops.service
590
591 %preun addon-pstoreoops
592 %systemd_preun abrt-pstoreoops.service
593
594 %post addon-python
595 %journal_catalog_update
596
597 %post addon-python3
598 %journal_catalog_update
599
600 %post addon-upload-watch
601 %systemd_post abrt-upload-watch.service
602
603 %preun addon-upload-watch
604 %systemd_preun abrt-upload-watch.service
605
606 %post addon-vmcore
607 %systemd_post abrt-vmcore.service
608 %journal_catalog_update
609
610 %preun addon-vmcore
611 %systemd_preun abrt-vmcore.service
612
613 %post addon-xorg
614 %systemd_post abrt-xorg.service
615 %journal_catalog_update
616
617 %preun addon-xorg
618 %systemd_preun abrt-xorg.service
619
620 %post atomic
621 if [ -f %{_sysconfdir}/%{name}/plugins/CCpp.conf ]; then
622         mv -f %{_sysconfdir}/%{name}/plugins/CCpp.conf %{_sysconfdir}/%{name}/plugins/CCpp.conf.rpmsave.atomic || exit 1
623 fi
624 ln -sf %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf %{_sysconfdir}/%{name}/plugins/CCpp.conf
625 if [ -f %{_datadir}/%{name}/conf.d/plugins/CCpp.conf ]; then
626         mv -f %{_datadir}/%{name}/conf.d/plugins/CCpp.conf %{_datadir}/%{name}/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1;
627 fi
628 ln -sf %{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf %{_datadir}/%{name}/conf.d/plugins/CCpp.conf
629 %systemd_post abrt-coredump-helper.service
630
631 %preun atomic
632 if [ -L %{_sysconfdir}/%{name}/plugins/CCpp.conf ]; then
633         rm -f %{_sysconfdir}/%{name}/plugins/CCpp.conf
634 fi
635 if [ -L %{_datadir}/%{name}/conf.d/plugins/CCpp.conf ]; then
636         rm -f %{_datadir}/%{name}/conf.d/plugins/CCpp.conf
637 fi
638 if [ -f %{_sysconfdir}/%{name}/plugins/CCpp.conf.rpmsave.atomic ]; then
639         mv -f %{_sysconfdir}/%{name}/plugins/CCpp.conf.rpmsave.atomic %{_sysconfdir}/%{name}/plugins/CCpp.conf || exit 1
640 fi
641 if [ -f %{_datadir}/%{name}/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then
642         mv -f %{_datadir}/%{name}/conf.d/plugins/CCpp.conf.rpmsave.atomic %{_datadir}/%{name}/conf.d/plugins/CCpp.conf || exit 1
643 fi
644
645 %postun atomic
646 %systemd_postun_with_restart abrt-coredump-helper.service
647
648 %post gui
649 %update_icon_cache hicolor
650
651 %postun gui
652 %update_icon_cache hicolor
653
654 %post   gui-libs -p /sbin/ldconfig
655 %postun gui-libs -p /sbin/ldconfig
656
657 %files -f %{name}.lang
658 %defattr(644,root,root,755)
659 %doc README.md changelog
660 %attr(755,root,root) %{_bindir}/abrt
661 %attr(755,root,root) %{_bindir}/abrt-action-analyze-python
662 %attr(755,root,root) %{_bindir}/abrt-action-notify
663 %attr(755,root,root) %{_bindir}/abrt-action-save-container-data
664 %attr(755,root,root) %{_bindir}/abrt-action-save-package-data
665 %attr(755,root,root) %{_bindir}/abrt-handle-upload
666 %attr(755,root,root) %{_bindir}/abrt-watch-log
667 %attr(755,root,root) %{_sbindir}/abrt-auto-reporting
668 %attr(755,root,root) %{_sbindir}/abrt-server
669 %attr(755,root,root) %{_sbindir}/abrtd
670 %attr(755,root,root) %{_libexecdir}/abrt-action-generate-machine-id
671 %attr(755,root,root) %{_libexecdir}/abrt-action-ureport
672 %attr(755,root,root) %{_libexecdir}/abrt-handle-event
673 %{py_sitedir}/abrtcli
674 %dir %{_datadir}/%{name}
675 %dir %{_datadir}/%{name}/conf.d
676 %{_datadir}/%{name}/conf.d/abrt.conf
677 %{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf
678 %{_datadir}/%{name}/conf.d/gpg_keys.conf
679 %dir %{_datadir}/%{name}/conf.d/plugins
680 %{_datadir}/augeas/lenses/abrt.aug
681 %dir %{_sysconfdir}/%{name}
682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt.conf
683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/gpg_keys.conf
685 %dir %{_sysconfdir}/%{name}/plugins
686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/abrt_event.conf
687 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/smart_event.conf
688 %attr(754,root,root) /etc/rc.d/init.d/abrtd
689 %{systemdunitdir}/abrtd.service
690 %attr(775,root,abrt) %dir /var/cache/%{name}
691 %dir /var/run/%{name}
692 %{systemdtmpfilesdir}/abrt.conf
693 %{_mandir}/man1/abrt.1*
694 %{_mandir}/man1/abrt-action-analyze-python.1*
695 %{_mandir}/man1/abrt-action-notify.1*
696 %{_mandir}/man1/abrt-action-save-package-data.1*
697 %{_mandir}/man1/abrt-auto-reporting.1*
698 %{_mandir}/man1/abrt-handle-upload.1*
699 %{_mandir}/man1/abrt-server.1*
700 %{_mandir}/man1/abrt-watch-log.1*
701 %{_mandir}/man5/abrt.conf.5*
702 %{_mandir}/man5/abrt-action-save-package-data.conf.5*
703 %{_mandir}/man5/abrt_event.conf.5*
704 %{_mandir}/man5/gpg_keys.conf.5*
705 %{_mandir}/man5/smart_event.conf.5*
706 %{_mandir}/man8/abrtd.8*
707
708 %files -n bash-completion-abrt
709 %defattr(644,root,root,755)
710 /etc/bash_completion.d/abrt.bash_completion
711
712 %files libs
713 %defattr(644,root,root,755)
714 %attr(755,root,root) %{_libdir}/libabrt.so.*.*.*
715 %attr(755,root,root) %ghost %{_libdir}/libabrt.so.0
716
717 %files devel
718 %defattr(644,root,root,755)
719 %attr(755,root,root) %{_libdir}/libabrt.so
720 %dir %{_includedir}/abrt
721 %{_includedir}/abrt/abrt-dbus.h
722 %{_includedir}/abrt/hooklib.h
723 %{_includedir}/abrt/libabrt.h
724 %{_includedir}/abrt/problem_api.h
725 %{_pkgconfigdir}/abrt.pc
726
727 %files addon-ccpp
728 %defattr(644,root,root,755)
729 %attr(755,root,root) %{_bindir}/abrt-action-analyze-backtrace
730 %attr(755,root,root) %{_bindir}/abrt-action-analyze-c
731 %attr(755,root,root) %{_bindir}/abrt-action-analyze-ccpp-local
732 %attr(755,root,root) %{_bindir}/abrt-action-analyze-core
733 %attr(755,root,root) %{_bindir}/abrt-action-analyze-vulnerability
734 %attr(755,root,root) %{_bindir}/abrt-action-generate-backtrace
735 %attr(755,root,root) %{_bindir}/abrt-action-generate-core-backtrace
736 %attr(755,root,root) %{_bindir}/abrt-action-install-debuginfo
737 %attr(755,root,root) %{_bindir}/abrt-action-list-dsos
738 %attr(755,root,root) %{_bindir}/abrt-action-perform-ccpp-analysis
739 %attr(755,root,root) %{_bindir}/abrt-action-trim-files
740 %attr(755,root,root) %{_bindir}/abrt-dump-journal-core
741 %attr(6755,abrt,abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
742 %attr(755,root,root) %{_libexecdir}/abrt-gdb-exploitable
743 %{_datadir}/%{name}/conf.d/plugins/CCpp.conf
744 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/CCpp.conf
745 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
746 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/gconf_event.conf
747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
748 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf
749 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
750 %attr(775,abrt,abrt) %dir %{_localstatedir}/cache/abrt-di
751 #%attr(754,root,root) /etc/rc.d/init.d/abrt-ccpp
752 %{_datadir}/libreport/events/analyze_CCpp.xml
753 %{_datadir}/libreport/events/analyze_LocalGDB.xml
754 %{_datadir}/libreport/events/collect_GConf.xml
755 %{_datadir}/libreport/events/collect_vimrc_system.xml
756 %{_datadir}/libreport/events/collect_vimrc_user.xml
757 %{_datadir}/libreport/events/collect_xsession_errors.xml
758 %{_datadir}/libreport/events/post_report.xml
759 %{systemdunitdir}/abrt-ccpp.service
760 %{systemdunitdir}/abrt-journal-core.service
761 %{_prefix}/lib/systemd/catalog/abrt_ccpp.catalog
762 %{_mandir}/man1/abrt-action-analyze-backtrace.1*
763 %{_mandir}/man1/abrt-action-analyze-c.1*
764 %{_mandir}/man1/abrt-action-analyze-ccpp-local.1*
765 %{_mandir}/man1/abrt-action-analyze-core.1*
766 %{_mandir}/man1/abrt-action-analyze-vulnerability.1*
767 %{_mandir}/man1/abrt-action-generate-backtrace.1*
768 %{_mandir}/man1/abrt-action-generate-core-backtrace.1*
769 %{_mandir}/man1/abrt-action-install-debuginfo.1*
770 %{_mandir}/man1/abrt-action-list-dsos.1*
771 %{_mandir}/man1/abrt-action-perform-ccpp-analysis.1*
772 %{_mandir}/man1/abrt-action-trim-files.1*
773 %{_mandir}/man1/abrt-dump-journal-core.1*
774 %{_mandir}/man5/abrt-CCpp.conf.5*
775 %{_mandir}/man5/ccpp_event.conf.5*
776 %{_mandir}/man5/ccpp_retrace_event.conf.5*
777 %{_mandir}/man5/gconf_event.conf.5*
778 %{_mandir}/man5/vimrc_event.conf.5*
779
780 %files addon-coredump-helper
781 %defattr(644,root,root,755)
782 %attr(755,root,root) %{_sbindir}/abrt-install-ccpp-hook
783 %attr(755,root,root) %{_libexecdir}/abrt-hook-ccpp
784 %{_mandir}/man1/abrt-install-ccpp-hook.1*
785
786 %files addon-kerneloops
787 %defattr(644,root,root,755)
788 %attr(755,root,root) %{_bindir}/abrt-action-analyze-oops
789 %attr(755,root,root) %{_bindir}/abrt-action-check-oops-for-alt-component
790 %attr(755,root,root) %{_bindir}/abrt-action-check-oops-for-hw-error
791 %attr(755,root,root) %{_bindir}/abrt-dump-journal-oops
792 %attr(755,root,root) %{_bindir}/abrt-dump-oops
793 %{_datadir}/%{name}/conf.d/plugins/oops.conf
794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/koops_event.conf
795 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
796 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/oops.conf
797 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml
798 #%attr(754,root,root) /etc/rc.d/init.d/abrt-oops
799 %{systemdunitdir}/abrt-oops.service
800 %{_prefix}/lib/systemd/catalog/abrt_koops.catalog
801 %{_mandir}/man1/abrt-action-analyze-oops.1*
802 %{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
803 %{_mandir}/man1/abrt-dump-journal-oops.1*
804 %{_mandir}/man1/abrt-dump-oops.1*
805 %{_mandir}/man5/abrt-oops.conf.5*
806 %{_mandir}/man5/koops_event.conf.5*
807
808 %files addon-pstoreoops
809 %defattr(644,root,root,755)
810 %attr(755,root,root) %{_bindir}/abrt-merge-pstoreoops
811 %attr(755,root,root) %{_sbindir}/abrt-harvest-pstoreoops
812 %{systemdunitdir}/abrt-pstoreoops.service
813 #%attr(754,root,root) /etc/rc.d/init.d/abrt-pstoreoops
814 %{_mandir}/man1/abrt-harvest-pstoreoops.1*
815 %{_mandir}/man1/abrt-merge-pstoreoops.1*
816
817 %files addon-python
818 %defattr(644,root,root,755)
819 %{_datadir}/%{name}/conf.d/plugins/python.conf
820 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/python.conf
821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/python_event.conf
822 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf
823 %{_prefix}/lib/systemd/catalog/abrt_python.catalog
824 %{py_sitedir}/abrt_exception_handler.py[co]
825 %{py_sitedir}/abrt.pth
826 %{_mandir}/man5/abrt-python.conf.5*
827 %{_mandir}/man5/python_event.conf.5*
828
829 %files addon-python3
830 %defattr(644,root,root,755)
831 %{_datadir}/%{name}/conf.d/plugins/python3.conf
832 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/python3.conf
833 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/python3_event.conf
834 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
835 %{_prefix}/lib/systemd/catalog/abrt_python3.catalog
836 %{py3_sitedir}/abrt_exception_handler3.py*
837 %{py3_sitedir}/abrt3.pth
838 %{_mandir}/man5/abrt-python3.conf.5*
839 %{_mandir}/man5/python3_event.conf.5*
840
841 %files addon-upload-watch
842 %defattr(644,root,root,755)
843 %attr(755,root,root) %{_sbindir}/abrt-upload-watch
844 %{systemdunitdir}/abrt-upload-watch.service
845 %{_mandir}/man1/abrt-upload-watch.1*
846
847 %files addon-vmcore
848 %defattr(644,root,root,755)
849 %attr(755,root,root) %{_bindir}/abrt-action-analyze-vmcore
850 %attr(755,root,root) %{_sbindir}/abrt-harvest-vmcore
851 %dir %{_datadir}/%{name}/conf.d/plugins/vmcore.conf
852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/vmcore.conf
853 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
855 #%attr(754,root,root) /etc/rc.d/init.d/abrt-vmcore
856 %{_datadir}/libreport/events/analyze_VMcore.xml
857 %{systemdunitdir}/abrt-vmcore.service
858 %{_prefix}/lib/systemd/catalog/abrt_vmcore.catalog
859 %{_mandir}/man1/abrt-action-analyze-vmcore.1*
860 %{_mandir}/man1/abrt-harvest-vmcore.1*
861 %{_mandir}/man5/abrt-vmcore.conf.5*
862 %{_mandir}/man5/vmcore_event.conf.5*
863
864 %files addon-xorg
865 %defattr(644,root,root,755)
866 %attr(755,root,root) %{_bindir}/abrt-action-analyze-xorg
867 %attr(755,root,root) %{_bindir}/abrt-dump-journal-xorg
868 %attr(755,root,root) %{_bindir}/abrt-dump-xorg
869 %dir %{_datadir}/%{name}/conf.d/plugins/xorg.conf
870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/xorg.conf
871 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/xorg_event.conf
872 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
873 #%attr(754,root,root) /etc/rc.d/init.d/abrt-xorg
874 %{systemdunitdir}/abrt-xorg.service
875 %{_prefix}/lib/systemd/catalog/abrt_xorg.catalog
876 %{_mandir}/man1/abrt-action-analyze-xorg.1*
877 %{_mandir}/man1/abrt-dump-journal-xorg.1*
878 %{_mandir}/man1/abrt-dump-xorg.1*
879 %{_mandir}/man5/abrt-xorg.conf.5*
880 %{_mandir}/man5/xorg_event.conf.5*
881
882 %files atomic
883 %defattr(644,root,root,755)
884 %{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf
885 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf
886 %{systemdunitdir}/abrt-coredump-helper.service
887
888 %files plugin-bodhi
889 %defattr(644,root,root,755)
890 %attr(755,root,root) %{_bindir}/abrt-action-find-bodhi-update
891 %attr(755,root,root) %{_bindir}/abrt-bodhi
892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
893 %{_datadir}/libreport/events/analyze_BodhiUpdates.xml
894 %{_mandir}/man1/abrt-action-find-bodhi-update.1*
895 %{_mandir}/man1/abrt-bodhi.1*
896
897 %files retrace-client
898 %defattr(644,root,root,755)
899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
900 %attr(755,root,root) %{_bindir}/abrt-retrace-client
901 %{_datadir}/libreport/events/analyze_RetraceServer.xml
902 %{_mandir}/man1/abrt-retrace-client.1*
903
904 %files dbus
905 %defattr(644,root,root,755)
906 %attr(755,root,root) %{_sbindir}/abrt-configuration
907 %attr(755,root,root) %{_sbindir}/abrt-dbus
908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
909 /etc/dbus-1/system.d/dbus-abrt.conf
910 /etc/dbus-1/system.d/org.freedesktop.problems.daemon.conf
911 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml
912 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml
913 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml
914 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml
915 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml
916 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml
917 %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
918 %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
919 %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
920 %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
921 %{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service
922 %{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
923 %{_datadir}/polkit-1/actions/abrt_polkit.policy
924 %{_mandir}/man8/abrt-configuration.8*
925 %{_mandir}/man8/abrt-dbus.8*
926 %{_docdir}/abrt-dbus-%{version}
927
928 %files python
929 %defattr(644,root,root,755)
930 %dir %{py_sitedir}/problem
931 %attr(755,root,root) %{py_sitedir}/problem/_pyabrt.so
932 %{py_sitedir}/problem/*.py[co]
933 %{_mandir}/man5/abrt-python.5*
934
935 %files python3
936 %defattr(644,root,root,755)
937 %dir %{py3_sitedir}/problem
938 %attr(755,root,root) %{py3_sitedir}/problem/_py3abrt.so
939 %{py3_sitedir}/problem/*.py*
940 %{_mandir}/man5/abrt-python3.5*
941
942 %files cli
943 %defattr(644,root,root,755)
944 %attr(755,root,root) %{_bindir}/abrt-cli
945 %{_mandir}/man1/abrt-cli.1*
946
947 %files gui
948 %defattr(644,root,root,755)
949 %attr(755,root,root) %{_bindir}/abrt-applet
950 %attr(755,root,root) %{_bindir}/system-config-abrt
951 %dir %{_datadir}/%{name}
952 %{_datadir}/%{name}/icons
953 %{_datadir}/%{name}/ui
954 %{_iconsdir}/hicolor/*/apps/abrt.png
955 %{_iconsdir}/hicolor/*/status/abrt.png
956 %{_sysconfdir}/xdg/autostart/abrt-applet.desktop
957 %{_mandir}/man1/abrt-applet.1*
958 %{_mandir}/man1/system-config-abrt.1*
959
960 %files gui-libs
961 %defattr(644,root,root,755)
962 %attr(755,root,root) %{_libdir}/libabrt_gui.so.*.*.*
963 %attr(755,root,root) %ghost %{_libdir}/libabrt_gui.so.0
964
965 %files gui-devel
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_libdir}/libabrt_gui.so
968 %{_includedir}/abrt/abrt-config-widget.h
969 %{_includedir}/abrt/system-config-abrt.h
970 %{_pkgconfigdir}/abrt_gui.pc
971
972 %files desktop
973 %defattr(644,root,root,755)
974
975 %files console-notification
976 %defattr(644,root,root,755)
977 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/abrt-console-notification.sh
This page took 0.122181 seconds and 4 git commands to generate.