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