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