]>
Commit | Line | Data |
---|---|---|
d3f5b5cc JB |
1 | # TODO: |
2 | # - handle obsolete packages: abrt-plugin-{catcut,rhfastcheck,rhticket,ticketuploader} | |
3 | # - SysV init scripts for -addon-ccpp, -addon-kerneloops, -addon-vmcore, -addon-xorg | |
195da996 | 4 | Summary: Automatic bug detection and reporting tool |
d3f5b5cc | 5 | Summary(pl.UTF-8): Narzędzie do automatycznego wykrywania i zgłaszania błędów |
195da996 | 6 | Name: abrt |
d3f5b5cc | 7 | Version: 2.1.3 |
4209ffa7 | 8 | Release: 0.1 |
195da996 ER |
9 | License: GPL v2+ |
10 | Group: Applications/System | |
462c5fa3 | 11 | Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz |
d3f5b5cc | 12 | # Source0-md5: ba54ade40bd9688d0260b6e2355d1faa |
195da996 | 13 | Source1: %{name}.init |
4209ffa7 | 14 | Patch0: %{name}-rpm5.patch |
d3f5b5cc | 15 | Patch1: %{name}-rpm45.patch |
7d51211f | 16 | Patch2: rpmkey-pld.patch |
4209ffa7 | 17 | Patch3: format_security.patch |
d3f5b5cc JB |
18 | URL: https://fedorahosted.org/abrt/ |
19 | BuildRequires: asciidoc | |
20 | BuildRequires: autoconf >= 2.50 | |
436832da | 21 | BuildRequires: automake |
5da6d054 | 22 | BuildRequires: btparser-devel |
195da996 | 23 | BuildRequires: dbus-devel |
d3f5b5cc JB |
24 | BuildRequires: gettext-devel >= 0.17 |
25 | BuildRequires: glib2-devel >= 1:2.21 | |
26 | BuildRequires: gtk+3-devel >= 3.0 | |
27 | BuildRequires: intltool >= 0.35.0 | |
28 | BuildRequires: json-c-devel | |
6b061db1 | 29 | BuildRequires: libmagic-devel |
195da996 | 30 | BuildRequires: libnotify-devel |
5da6d054 JR |
31 | BuildRequires: libreport-devel |
32 | BuildRequires: libreport-gtk-devel | |
33 | BuildRequires: libreport-web-devel | |
436832da | 34 | BuildRequires: libtool |
d3f5b5cc JB |
35 | BuildRequires: libxml2-devel >= 2 |
36 | BuildRequires: rpm-devel >= 4.5 | |
37 | BuildRequires: nss-devel | |
436832da | 38 | BuildRequires: pkgconfig |
6b061db1 | 39 | BuildRequires: polkit-devel |
195da996 | 40 | BuildRequires: python-devel |
436832da | 41 | BuildRequires: python-modules |
a578ada2 | 42 | BuildRequires: rpm-devel >= 4.5-28 |
436832da | 43 | BuildRequires: rpm-pythonprov |
3ca3ee02 | 44 | BuildRequires: rpmbuild(macros) >= 1.219 |
5da6d054 | 45 | BuildRequires: xmlto |
3ca3ee02 | 46 | Requires(postun): /usr/sbin/groupdel |
d3f8b2a1 ER |
47 | Requires(postun): /usr/sbin/userdel |
48 | Requires(pre): /bin/id | |
3ca3ee02 | 49 | Requires(pre): /usr/bin/getgid |
8324bd53 | 50 | Requires(pre): /usr/sbin/groupadd |
d3f8b2a1 | 51 | Requires(pre): /usr/sbin/useradd |
195da996 | 52 | Requires: %{name}-libs = %{version}-%{release} |
3ca3ee02 | 53 | Provides: group(abrt) |
d3f8b2a1 | 54 | Provides: user(abrt) |
d3f5b5cc JB |
55 | Obsoletes: abrt-plugin-filetransfer |
56 | Obsoletes: abrt-plugin-runapp | |
57 | Obsoletes: abrt-plugin-sosreport | |
d3f8b2a1 | 58 | Obsoletes: abrt-plugin-sqlite3 |
195da996 ER |
59 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
60 | ||
61 | %description | |
d3f5b5cc | 62 | ABRT is a tool to help users to detect defects in applications and to |
195da996 ER |
63 | create a bug report with all informations needed by maintainer to fix |
64 | it. It uses plugin system to extend its functionality. | |
65 | ||
d3f5b5cc JB |
66 | %description -l pl.UTF-8 |
67 | ABRT to narzędzie pomagające użytkownikom w wykrywaniu defektów w | |
68 | aplikacjach oraz tworzeniu raportów błędów ze wszystkimi informacjami | |
69 | potrzebnymi utrzymującemu pakiet do poprawienia go. Wykorzystuje | |
70 | system wtyczek do rozszerzania funkcjonalności. | |
71 | ||
195da996 | 72 | %package libs |
d3f5b5cc JB |
73 | Summary: ABRT shared library |
74 | Summary(pl.UTF-8): Biblioteka współdzielona ABRT | |
195da996 ER |
75 | Group: Libraries |
76 | ||
77 | %description libs | |
d3f5b5cc JB |
78 | ABRT shared library. |
79 | ||
80 | %description libs -l pl.UTF-8 | |
81 | Biblioteka współdzielona ABRT. | |
195da996 ER |
82 | |
83 | %package devel | |
d3f5b5cc JB |
84 | Summary: Header files for ABRT livrary |
85 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotekia ABRT | |
195da996 ER |
86 | Group: Development/Libraries |
87 | Requires: %{name}-libs = %{version}-%{release} | |
88 | ||
89 | %description devel | |
d3f5b5cc | 90 | Header files for ABRT livrary. |
195da996 | 91 | |
d3f5b5cc JB |
92 | %description devel -l pl.UTF-8 |
93 | Pliki nagłówkowe bibliotekia ABRT. | |
195da996 ER |
94 | |
95 | %package addon-ccpp | |
d3f5b5cc JB |
96 | Summary: ABRT's C/C++ addon |
97 | Summary(pl.UTF-8): Dodatek C/C++ do ABRT | |
195da996 ER |
98 | Group: Libraries |
99 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc JB |
100 | Requires: %{name}-retrace-client = %{version}-%{release} |
101 | Requires: btparser | |
102 | Requires: cpio | |
8324bd53 | 103 | Requires: elfutils |
d3f5b5cc | 104 | Requires: gdb >= 7.0-3 |
8324bd53 | 105 | Requires: yum-utils |
195da996 ER |
106 | |
107 | %description addon-ccpp | |
108 | This package contains hook for C/C++ crashed programs and abrt's C/C++ | |
109 | analyzer plugin. | |
110 | ||
d3f5b5cc JB |
111 | %description addon-ccpp -l pl.UTF-8 |
112 | Ten pakiet zawiera punkt zaczepienia dla programów w C/C++, które | |
113 | uległy awarii oraz wtyczkę analizatora C/C++ ABRT. | |
114 | ||
195da996 | 115 | %package addon-kerneloops |
d3f5b5cc JB |
116 | Summary: ABRT's kerneloops addon |
117 | Summary(pl.UTF-8): Dodatek kerneloops do ABRT | |
195da996 ER |
118 | Group: Libraries |
119 | Requires: %{name} = %{version}-%{release} | |
d3f8b2a1 | 120 | Requires: curl |
d3f5b5cc | 121 | Requires: libreport-plugin-kerneloops |
195da996 | 122 | Obsoletes: abrt-plugin-kerneloops |
d3f8b2a1 | 123 | Obsoletes: abrt-plugin-kerneloopsreporter |
195da996 ER |
124 | Obsoletes: kerneloops |
125 | ||
126 | %description addon-kerneloops | |
d3f8b2a1 | 127 | This package contains plugin for collecting kernel crash information |
d3f5b5cc | 128 | from system log. |
00d9733a | 129 | |
d3f5b5cc JB |
130 | %description addon-kerneloops -l pl.UTF-8 |
131 | Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z | |
132 | logu systemowego. | |
00d9733a | 133 | |
d3f5b5cc JB |
134 | %package addon-python |
135 | Summary: ABRT's addon for catching and analyzing Python exceptions | |
136 | Summary(pl.UTF-8): Dodatek ABRT do przechwytywania i analizy wyjątków Pythona | |
00d9733a ER |
137 | Group: Libraries |
138 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc | 139 | Obsoletes: gnome-python2-bugbuddy |
00d9733a | 140 | |
d3f5b5cc JB |
141 | %description addon-python |
142 | This package contains Python hook and Python analyzer plugin for | |
143 | handling uncaught exception in Python programs. | |
195da996 | 144 | |
d3f5b5cc JB |
145 | %description addon-python -l pl.UTF-8 |
146 | Ten pakiet zawiera pythonowy punkt zaczepienia oraz wtyczkę | |
147 | analizatora Pythona do obsługi nie obsłużonych wyjątków w programach w | |
148 | Pythonie. | |
195da996 | 149 | |
d3f5b5cc JB |
150 | %package addon-vmcore |
151 | Summary: ABRT's vmcore addon | |
152 | Summary(pl.UTF-8): Dodatek vmcore do ABRT | |
195da996 ER |
153 | Group: Libraries |
154 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc JB |
155 | Requires: %{name}-addon-kerneloops = %{version}-%{release} |
156 | # not available in PLD | |
157 | #Requires: crash | |
195da996 | 158 | |
d3f5b5cc JB |
159 | %description addon-vmcore |
160 | This package contains plugin for collecting kernel crash information | |
161 | from vmcore files. | |
195da996 | 162 | |
d3f5b5cc JB |
163 | %description addon-vmcore -l pl.UTF-8 |
164 | Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z | |
165 | plików vmcore. | |
195da996 | 166 | |
d3f5b5cc JB |
167 | %package addon-xorg |
168 | Summary: ABRT's Xorg addon | |
169 | Summary(pl.UTF-8): Dodatek Xorg do ABRT | |
195da996 ER |
170 | Group: Libraries |
171 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc | 172 | Requires: curl |
195da996 | 173 | |
d3f5b5cc JB |
174 | %description addon-xorg |
175 | This package contains plugin for collecting Xorg crash information | |
176 | from Xorg log. | |
195da996 | 177 | |
d3f5b5cc JB |
178 | %description addon-xorg -l pl.UTF-8 |
179 | Ten pakiet zawiera wtyczkę do zbierania informacji o awarii jądra z | |
180 | logu Xorg. | |
195da996 | 181 | |
d3f5b5cc JB |
182 | %package plugin-bodhi |
183 | Summary: ABRT's bodhi plugin | |
184 | Summary(pl.UTF-8): Wtyczka bodhi do ABRT | |
8324bd53 ER |
185 | Group: Libraries |
186 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc JB |
187 | Requires: libreport-web-devel >= 2.0.10 |
188 | Obsoletes: libreport-plugin-bodhi | |
189 | ||
190 | %description plugin-bodhi | |
191 | Plugin to search for a new updates in bodhi server. | |
8324bd53 | 192 | |
d3f5b5cc JB |
193 | %description plugin-bodhi -l pl.UTF-8 |
194 | Wtyczka do wyszukiwania nowych uaktualnień na serwerze bodhi. | |
8324bd53 | 195 | |
d3f5b5cc JB |
196 | %package retrace-client |
197 | Summary: ABRT's retrace client | |
198 | Summary(pl.UTF-8): Klient Retrace dla ABRT | |
6b061db1 ER |
199 | Group: Libraries |
200 | Requires: %{name} = %{version}-%{release} | |
d3f5b5cc | 201 | Requires: xz |
6b061db1 | 202 | |
d3f5b5cc JB |
203 | %description retrace-client |
204 | This package contains the client application for Retrace server which | |
205 | is able to analyze C/C++ crashes remotely. | |
6b061db1 | 206 | |
d3f5b5cc JB |
207 | %description retrace-client -l pl.UTF-8 |
208 | Ten pakiet zawiera aplikację kliencką dla serwera Retrace, który | |
209 | potrafi zdalnie przeanalizować awarię programu w C/C++. | |
210 | ||
211 | %package dbus | |
212 | Summary: ABRT DBus service | |
213 | Summary(pl.UTF-8): Usługa DBus ABRT | |
214 | Group: Applications/System | |
195da996 | 215 | Requires: %{name} = %{version}-%{release} |
d3f5b5cc | 216 | Requires: libreport |
195da996 | 217 | |
d3f5b5cc JB |
218 | %description dbus |
219 | ABRT DBus service which provides org.freedesktop.problems API on DBus | |
220 | and uses PolicyKit to authorize to access the problem data. | |
195da996 | 221 | |
d3f5b5cc JB |
222 | %description dbus -l pl.UTF-8 |
223 | Usługa DBus ABRT, udostępniająca poprzez DBus API | |
224 | org.freedesktop.problems, używająca PolicyKit do autoryzacji dostępu | |
225 | do danych o problemach. | |
226 | ||
227 | %package python | |
228 | Summary: ABRT Python API | |
229 | Summary(pl.UTF-8): API Pythona do ABRT | |
230 | Group: Libraries/Python | |
195da996 | 231 | Requires: %{name} = %{version}-%{release} |
d3f5b5cc JB |
232 | %if "%{_rpmversion}" >= "5.0" |
233 | BuildArch: noarch | |
234 | %endif | |
195da996 | 235 | |
d3f5b5cc JB |
236 | %description python |
237 | High-level API for querying, creating and manipulating problems | |
238 | handled by ABRT in Python. | |
239 | ||
240 | %description python -l pl.UTF-8 | |
241 | Wysokopoziomowe API do odpytywania, tworzenia i obróbki z poziomu | |
242 | Pythona problemów obsługiwanych przez ABRT. | |
195da996 ER |
243 | |
244 | %package cli | |
d3f5b5cc JB |
245 | Summary: ABRT's command line interface |
246 | Summary(pl.UTF-8): Interfejs linii poleceń ABRT | |
247 | Group: Applications/System | |
195da996 | 248 | Requires: %{name} = %{version}-%{release} |
d3f8b2a1 | 249 | # analyzers |
d3f5b5cc JB |
250 | Requires: %{name}-addon-ccpp = %{version}-%{release} |
251 | Requires: %{name}-addon-kerneloops = %{version}-%{release} | |
252 | Requires: %{name}-addon-python = %{version}-%{release} | |
d3f8b2a1 | 253 | # reporters |
d3f5b5cc JB |
254 | Requires: libreport-plugin-bugzilla |
255 | Requires: libreport-plugin-logger | |
195da996 ER |
256 | |
257 | %description cli | |
d3f5b5cc | 258 | This package contains simple command line client for controling ABRT |
195da996 ER |
259 | daemon over the sockets. |
260 | ||
d3f5b5cc JB |
261 | %description cli -l pl.UTF-8 |
262 | Ten pakiet zawiera prostego klienta obsługiwanego z linii poleceń, | |
263 | pozwalającego na sterowanie demonem poprzez gniazda. | |
264 | ||
265 | %package gui | |
266 | Summary: ABRT's GUI | |
267 | Summary(pl.UTF-8): Graficzny interfejs użytkownika do ABRT | |
268 | Group: X11/Applications | |
269 | Requires(post,postun): gtk-update-icon-cache | |
270 | Requires(post,postun): hicolor-icon-theme | |
271 | Requires: %{name} = %{version}-%{release} | |
272 | Requires: %{name}-dbus = %{version}-%{release} | |
273 | # not available in PLD | |
274 | #Requires: gnome-abrt | |
275 | Provides: abrt-applet = %{version}-%{release} | |
276 | Obsoletes: abrt-applet < 0.0.5 | |
277 | Conflicts: abrt-applet < 0.0.5 | |
278 | ||
279 | %description gui | |
280 | GTK+ wizard for convenient bug reporting. | |
281 | ||
282 | %description gui -l pl.UTF-8 | |
283 | Oparty na GTK+ kreator do wygodnego zgłaszania błędów. | |
284 | ||
195da996 ER |
285 | %package desktop |
286 | Summary: Virtual package to install all necessary packages for usage from desktop environment | |
d3f5b5cc | 287 | Summary(pl.UTF-8): Writualny pakiet do instalacji pakietów potrzebnych do użycia w środowisku graficznym |
195da996 | 288 | Group: X11/Applications |
d3f5b5cc JB |
289 | # This package should be installed when anything requests bug-buddy; |
290 | # installing abrt-desktop should result in the abrt which works without | |
d3f8b2a1 | 291 | # any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed) |
195da996 ER |
292 | Requires: %{name} = %{version}-%{release} |
293 | Requires: %{name}-addon-ccpp = %{version}-%{release} | |
294 | Requires: %{name}-addon-kerneloops = %{version}-%{release} | |
295 | Requires: %{name}-addon-python = %{version}-%{release} | |
d3f5b5cc JB |
296 | Requires: %{name}-addon-vmcore = %{version}-%{release} |
297 | Requires: %{name}-addon-xorg = %{version}-%{release} | |
298 | Requires: %{name}-gui = %{version}-%{release} | |
299 | Requires: %{name}-plugin-bodhi = %{version}-%{release} | |
300 | Requires: %{name}-retrace-client = %{version}-%{release} | |
301 | Requires: libreport-plugin-bugzilla | |
302 | Requires: libreport-plugin-logger | |
303 | Requires: libreport-plugin-ureport | |
d3f8b2a1 ER |
304 | Provides: bug-buddy |
305 | Obsoletes: bug-buddy | |
195da996 ER |
306 | |
307 | %description desktop | |
d3f8b2a1 | 308 | Virtual package to make easy default installation on desktop |
195da996 ER |
309 | environments. |
310 | ||
d3f5b5cc JB |
311 | %description desktop -l pl.UTF-8 |
312 | Wirtualny pakiet ułatwiający domyślną instalację w środowiskach | |
313 | graficznych. | |
314 | ||
195da996 ER |
315 | %prep |
316 | %setup -q | |
d3f5b5cc | 317 | %if "%{_rpmversion}" >= "5.0" |
3ca3ee02 | 318 | %patch0 -p1 |
d3f5b5cc | 319 | %else |
608b5994 | 320 | %patch1 -p1 |
d3f5b5cc | 321 | %endif |
7d51211f | 322 | %patch2 -p1 |
4209ffa7 | 323 | %patch3 -p1 |
195da996 ER |
324 | |
325 | %build | |
6a654673 ER |
326 | %{__libtoolize} |
327 | %{__aclocal} | |
328 | %{__autoconf} | |
329 | %{__autoheader} | |
330 | %{__automake} | |
4209ffa7 | 331 | %configure \ |
d3f5b5cc | 332 | --disable-silent-rules \ |
4209ffa7 JR |
333 | --with-systemdsystemunitdir=%{systemdunitdir} |
334 | ||
6b061db1 | 335 | %{__make} |
195da996 ER |
336 | |
337 | %install | |
338 | rm -rf $RPM_BUILD_ROOT | |
6b061db1 | 339 | %{__make} install \ |
6b061db1 | 340 | DESTDIR=$RPM_BUILD_ROOT |
3ca3ee02 | 341 | |
3ca3ee02 ER |
342 | %py_postclean |
343 | ||
d3f5b5cc JB |
344 | # obsoleted by pkg-config |
345 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
e61d6028 | 346 | |
d3f5b5cc | 347 | install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/abrtd |
195da996 | 348 | install -d $RPM_BUILD_ROOT/var/cache/%{name} |
8324bd53 ER |
349 | install -d $RPM_BUILD_ROOT/var/cache/%{name}-di |
350 | install -d $RPM_BUILD_ROOT/var/run/%{name} | |
195da996 | 351 | |
d3f5b5cc JB |
352 | install -d $RPM_BUILD_ROOT/usr/lib/tmpfiles.d |
353 | cat >$RPM_BUILD_ROOT/usr/lib/tmpfiles.d/abrt.conf <<EOF | |
354 | /var/run/%{name} 0755 root root - | |
355 | EOF | |
356 | ||
357 | %find_lang %{name} | |
358 | ||
195da996 ER |
359 | %clean |
360 | rm -rf $RPM_BUILD_ROOT | |
361 | ||
8324bd53 | 362 | %pre |
d3f8b2a1 ER |
363 | %groupadd -g 248 abrt |
364 | %useradd -u 248 -g abrt -d /etc/abrt -s /sbin/nologin abrt | |
8324bd53 | 365 | |
195da996 | 366 | %post |
6b061db1 | 367 | /sbin/chkconfig --add abrtd |
e61d6028 | 368 | %service abrtd restart |
195da996 ER |
369 | |
370 | %preun | |
6b061db1 ER |
371 | if [ "$1" = "0" ]; then |
372 | %service abrtd stop | |
373 | /sbin/chkconfig --del abrtd | |
195da996 ER |
374 | fi |
375 | ||
3ca3ee02 | 376 | %postun |
3ca3ee02 | 377 | if [ "$1" = "0" ]; then |
d3f8b2a1 | 378 | %userremove abrt |
3ca3ee02 ER |
379 | %groupremove abrt |
380 | fi | |
195da996 | 381 | |
00d9733a | 382 | %post gui |
c0898901 | 383 | %update_icon_cache hicolor |
00d9733a ER |
384 | |
385 | %postun gui | |
c0898901 | 386 | %update_icon_cache hicolor |
00d9733a | 387 | |
e61d6028 ER |
388 | %post libs -p /sbin/ldconfig |
389 | %postun libs -p /sbin/ldconfig | |
390 | ||
195da996 ER |
391 | %files -f %{name}.lang |
392 | %defattr(644,root,root,755) | |
e61d6028 | 393 | %doc README |
d3f5b5cc JB |
394 | %attr(755,root,root) %{_bindir}/abrt-action-save-package-data |
395 | %attr(755,root,root) %{_bindir}/abrt-handle-upload | |
396 | %attr(755,root,root) %{_bindir}/abrt-watch-log | |
397 | %attr(755,root,root) %{_sbindir}/abrt-server | |
3ca3ee02 | 398 | %attr(755,root,root) %{_sbindir}/abrtd |
d3f5b5cc JB |
399 | %attr(755,root,root) %{_libexecdir}/abrt-action-ureport |
400 | %attr(755,root,root) %{_libexecdir}/abrt-handle-event | |
401 | %dir %{_sysconfdir}/%{name} | |
402 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt.conf | |
403 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf | |
d3f8b2a1 | 404 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/gpg_keys |
d3f5b5cc JB |
405 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg.conf |
406 | %dir %{_sysconfdir}/%{name}/plugins | |
407 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/abrt_event.conf | |
408 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/smart_event.conf | |
3ca3ee02 | 409 | %attr(754,root,root) /etc/rc.d/init.d/abrtd |
d3f5b5cc JB |
410 | %{systemdunitdir}/abrtd.service |
411 | %attr(775,root,abrt) %dir /var/cache/%{name} | |
8324bd53 | 412 | %dir /var/run/%{name} |
d3f5b5cc JB |
413 | /usr/lib/tmpfiles.d/abrt.conf |
414 | %{_mandir}/man1/abrt-action-save-package-data.1* | |
415 | %{_mandir}/man1/abrt-handle-upload.1* | |
416 | %{_mandir}/man1/abrt-server.1* | |
417 | %{_mandir}/man5/abrt.conf.5* | |
418 | %{_mandir}/man5/abrt-action-save-package-data.conf.5* | |
8324bd53 | 419 | %{_mandir}/man8/abrtd.8* |
d3f8b2a1 | 420 | |
195da996 ER |
421 | %files libs |
422 | %defattr(644,root,root,755) | |
d3f5b5cc JB |
423 | %attr(755,root,root) %{_libdir}/libabrt.so.*.*.* |
424 | %attr(755,root,root) %ghost %{_libdir}/libabrt.so.0 | |
195da996 ER |
425 | |
426 | %files devel | |
427 | %defattr(644,root,root,755) | |
d3f5b5cc JB |
428 | %attr(755,root,root) %{_libdir}/libabrt.so |
429 | %{_includedir}/abrt | |
430 | %{_pkgconfigdir}/abrt.pc | |
195da996 ER |
431 | |
432 | %files addon-ccpp | |
433 | %defattr(644,root,root,755) | |
d3f5b5cc JB |
434 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-backtrace |
435 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-c | |
436 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-ccpp-local | |
437 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-core | |
438 | %attr(755,root,root) %{_bindir}/abrt-action-generate-backtrace | |
439 | %attr(755,root,root) %{_bindir}/abrt-action-generate-core-backtrace | |
440 | %attr(755,root,root) %{_bindir}/abrt-action-install-debuginfo | |
441 | %attr(755,root,root) %{_bindir}/abrt-action-list-dsos | |
442 | %attr(755,root,root) %{_bindir}/abrt-action-perform-ccpp-analysis | |
443 | %attr(755,root,root) %{_bindir}/abrt-action-trim-files | |
444 | %attr(755,root,root) %{_bindir}/abrt-dedup-client | |
445 | %attr(755,root,root) %{_sbindir}/abrt-install-ccpp-hook | |
446 | %attr(6755,abrt,abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache | |
d3f8b2a1 | 447 | %attr(755,root,root) %{_libexecdir}/abrt-hook-ccpp |
d3f5b5cc JB |
448 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/CCpp.conf |
449 | %{_sysconfdir}/libreport/events/analyze_CCpp.xml | |
450 | %{_sysconfdir}/libreport/events/analyze_LocalGDB.xml | |
451 | %{_sysconfdir}/libreport/events/collect_GConf.xml | |
452 | %{_sysconfdir}/libreport/events/collect_vimrc_system.xml | |
453 | %{_sysconfdir}/libreport/events/collect_vimrc_user.xml | |
454 | %{_sysconfdir}/libreport/events/collect_xsession_errors.xml | |
455 | %{_sysconfdir}/libreport/events/post_report.xml | |
456 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/ccpp_event.conf | |
457 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/gconf_event.conf | |
458 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vimrc_event.conf | |
459 | %attr(775,abrt,abrt) %dir %{_localstatedir}/cache/abrt-di | |
460 | #%attr(754,root,root) /etc/rc.d/init.d/abrt-ccpp | |
461 | %{systemdunitdir}/abrt-ccpp.service | |
462 | %{_mandir}/man1/abrt-action-analyze-backtrace.1* | |
463 | %{_mandir}/man1/abrt-action-analyze-c.1* | |
464 | %{_mandir}/man1/abrt-action-analyze-ccpp-local.1* | |
465 | %{_mandir}/man1/abrt-action-generate-backtrace.1* | |
466 | %{_mandir}/man1/abrt-action-generate-core-backtrace.1* | |
467 | %{_mandir}/man1/abrt-action-list-dsos.1* | |
468 | %{_mandir}/man1/abrt-action-trim-files.1* | |
469 | %{_mandir}/man1/abrt-install-ccpp-hook.1* | |
195da996 ER |
470 | |
471 | %files addon-kerneloops | |
472 | %defattr(644,root,root,755) | |
d3f5b5cc JB |
473 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-oops |
474 | %attr(755,root,root) %{_bindir}/abrt-action-save-kernel-data | |
475 | %attr(755,root,root) %{_bindir}/abrt-dump-oops | |
476 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/koops_event.conf | |
477 | #%attr(754,root,root) /etc/rc.d/init.d/abrt-oops | |
478 | %{systemdunitdir}/abrt-oops.service | |
479 | %{_mandir}/man1/abrt-action-analyze-oops.1* | |
195da996 | 480 | |
d3f5b5cc | 481 | %files addon-python |
195da996 | 482 | %defattr(644,root,root,755) |
d3f5b5cc JB |
483 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-python |
484 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/python.conf | |
485 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/python_event.conf | |
486 | %{py_sitedir}/abrt_exception_handler.py[co] | |
487 | %{py_sitedir}/abrt.pth | |
488 | %{_mandir}/man1/abrt-action-analyze-python.1* | |
489 | ||
490 | %files addon-vmcore | |
00d9733a | 491 | %defattr(644,root,root,755) |
d3f5b5cc JB |
492 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-vmcore |
493 | %attr(755,root,root) %{_sbindir}/abrt-harvest-vmcore | |
494 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt-harvest-vmcore.conf | |
495 | %{_sysconfdir}/libreport/events/analyze_VMcore.xml | |
496 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vmcore_event.conf | |
497 | #%attr(754,root,root) /etc/rc.d/init.d/abrt-vmcore | |
498 | %{systemdunitdir}/abrt-vmcore.service | |
499 | %{_mandir}/man1/abrt-action-analyze-vmcore.1* | |
500 | ||
501 | %files addon-xorg | |
00d9733a | 502 | %defattr(644,root,root,755) |
d3f5b5cc JB |
503 | %attr(755,root,root) %{_bindir}/abrt-action-analyze-xorg |
504 | %attr(755,root,root) %{_bindir}/abrt-dump-xorg | |
505 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/xorg_event.conf | |
506 | #%attr(754,root,root) /etc/rc.d/init.d/abrt-xorg | |
507 | %{systemdunitdir}/abrt-xorg.service | |
00d9733a | 508 | |
d3f5b5cc | 509 | %files plugin-bodhi |
8324bd53 | 510 | %defattr(644,root,root,755) |
d3f5b5cc JB |
511 | %attr(755,root,root) %{_bindir}/abrt-bodhi |
512 | %{_mandir}/man1/abrt-bodhi.1* | |
8324bd53 | 513 | |
d3f5b5cc | 514 | %files retrace-client |
6b061db1 | 515 | %defattr(644,root,root,755) |
d3f5b5cc JB |
516 | %{_sysconfdir}/libreport/events/analyze_RetraceServer.xml |
517 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf | |
518 | %attr(755,root,root) %{_bindir}/abrt-retrace-client | |
519 | %{_mandir}/man1/abrt-retrace-client.1* | |
6b061db1 | 520 | |
d3f5b5cc | 521 | %files dbus |
195da996 | 522 | %defattr(644,root,root,755) |
d3f5b5cc JB |
523 | %attr(755,root,root) %{_sbindir}/abrt-dbus |
524 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/dbus_event.conf | |
525 | /etc/dbus-1/system.d/dbus-abrt.conf | |
526 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Problems.xml | |
527 | %{_datadir}/dbus-1/system-services/org.freedesktop.problems.service | |
528 | %{_datadir}/polkit-1/actions/abrt_polkit.policy | |
529 | %{_mandir}/man8/abrt-dbus.8* | |
530 | %{_docdir}/abrt-dbus-%{version} | |
531 | ||
532 | %files python | |
195da996 | 533 | %defattr(644,root,root,755) |
d3f5b5cc JB |
534 | %{py_sitescriptdir}/problem |
535 | %{_mandir}/man5/abrt-python.5* | |
536 | %{_docdir}/abrt-python-%{version} | |
195da996 ER |
537 | |
538 | %files cli | |
539 | %defattr(644,root,root,755) | |
540 | %attr(755,root,root) %{_bindir}/abrt-cli | |
8324bd53 | 541 | %{_mandir}/man1/abrt-cli.1* |
d3f5b5cc JB |
542 | |
543 | %files gui | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{_bindir}/abrt-applet | |
546 | %dir %{_datadir}/%{name} | |
547 | %{_datadir}/%{name}/icons | |
548 | %{_iconsdir}/hicolor/*/apps/abrt.png | |
549 | %{_iconsdir}/hicolor/*/status/abrt.png | |
550 | %{_sysconfdir}/xdg/autostart/abrt-applet.desktop | |
195da996 ER |
551 | |
552 | %files desktop | |
553 | %defattr(644,root,root,755) |