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