/[packages]/cauldron/abrt/current/SPECS/abrt.spec
ViewVC logotype

Contents of /cauldron/abrt/current/SPECS/abrt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196753 - (show annotations) (download)
Mon Jan 16 08:35:00 2012 UTC (12 years, 3 months ago) by dmorgan
File size: 19452 byte(s)
SILENT: Fix BR
1 # (blino) FIXME: switch back to 1 when systemd is installable
2 %define with_systemd 1
3
4 %define lib_major 0
5 %define lib_name %mklibname %{name} %{lib_major}
6 %define libreport %mklibname report %{lib_major}
7 %define libreportgtk %mklibname report-gtk %{lib_major}
8
9 %define lib_name_devel %mklibname %{name} -d
10 %define lib_report_devel %mklibname report -d
11
12 %define _disable_ld_no_undefined 1
13
14 Summary: Automatic bug detection and reporting tool
15 Name: abrt
16 Version: 2.0.2
17 Release: %mkrel 6
18 License: GPLv2+
19 Group: System/Libraries
20 URL: https://fedorahosted.org/abrt/
21 Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
22 Source1: abrt.init
23 Source2: 00abrt.sh
24 Source3: 00abrt.csh
25 Source4: abrt-debuginfo-install
26 Source5: abrt-ccpp.init
27 Source6: abrt-oops.init
28 Patch0: abrt-1.1.14-format_security.patch
29 # (fc) disable package signature check
30 Patch2: abrt_disable_gpgcheck.diff
31 # (blino) use Mageia bugzilla (adapted from Mandriva patch from fcrozat)
32 # (blino) parse /etc/release (adapted from Mandriva patch from fcrozat)
33 # FIXME: check the query is still correct when bugzilla is deployed
34 # FIXME: check the parsing is ok
35 Patch3: abrt-mageiabugzilla.patch
36 # (pt) generate stacktrace twice to get missing -debug packages
37 #Patch5: abrt-1.1.14-debug.patch
38 # (fc) disable nspluginwrapper-i386 (Mdv bug #59237)
39 Patch7: abrt-2.0.2-nspluginwrapper.patch
40 # (fc) fix for non UTF-8 locale
41 Patch8: abrt-2.0.2-nonutf8-locale.patch
42 # (eugeni): disable kernel oops cron plugin by default (mdv #61986)
43 #Patch12: abrt-1.1.14-disable_oops_scanner.patch
44
45 # Fedora patches
46 Patch100: remove_libreport_python.patch
47 Patch101: blacklist.patch
48 Patch102: allow_bz_for_koops.patch
49 Patch103: retrace_addr.patch
50 Patch104: retrace_client_flush.patch
51 #Patch105: prgname.patch
52 BuildRequires: dbus-devel libdbus-glib-devel
53 BuildRequires: gtk2-devel
54 BuildRequires: curl-devel
55 BuildRequires: rpm-devel
56 BuildRequires: sqlite-devel > 3.0
57 BuildRequires: desktop-file-utils
58 #BuildRequires: nss-devel
59 BuildRequires: libnotify-devel
60 BuildRequires: xmlrpc-c-devel
61 BuildRequires: xmlrpc-c
62 BuildRequires: file-devel
63 BuildRequires: python-devel
64 BuildRequires: gettext
65 BuildRequires: polkit-1-devel
66 BuildRequires: libzip-devel, libtar-devel, bzip2-devel, zlib-devel
67 BuildRequires: intltool
68 BuildRequires: gnome-common
69 BuildRequires: bison
70 BuildRequires: asciidoc
71 BuildRequires: xmlto
72 BuildRequires: libgnome-keyring-devel
73 BuildRequires: gettext-devel
74 %if %{?with_systemd}
75 BuildRequires: systemd-units
76 %endif
77 Requires: %{lib_name} >= %{version}-%{release}
78 Requires(pre): rpm-helper
79 Requires(post): rpm-helper
80 Requires(preun): rpm-helper
81 Requires(postun): rpm-helper
82 Obsoletes: abrt-plugin-catcut < 1.1.13
83 Obsoletes: abrt-plugin-sqlite3 < 1.1.18
84 # required for transition from 1.1.13, can be removed after some time
85 Obsoletes: abrt-plugin-runapp < 1.1.18
86 Obsoletes: abrt-plugin-filetransfer < 1.1.18
87 Obsoletes: abrt-plugin-sosreport < 1.1.18
88
89 %description
90 %{name} is a tool to help users to detect defects in applications and
91 to create a bug report with all informations needed by maintainer to fix it.
92 It uses plugin system to extend its functionality.
93
94 %pre
95 %_pre_useradd %{name} %{_sysconfdir}/%{name} /bin/nologin
96 %_pre_groupadd %{name} %{name}
97
98 %post
99 %_post_service %{name}d
100 %if %{?with_systemd}
101 # Enable (but don't start) the units by default
102 /bin/systemctl enable %{name}d.service >/dev/null 2>&1 || :
103 %endif
104
105 %posttrans
106 service abrtd condrestart >/dev/null 2>&1 || :
107
108 %preun
109 %_preun_service %{name}d
110 %if %{?with_systemd}
111 if [ "$1" -eq "0" ] ; then
112 /bin/systemctl stop %{name}d.service >/dev/null 2>&1 || :
113 /bin/systemctl disable %{name}d.service >/dev/null 2>&1 || :
114 fi
115 %endif
116
117 %postun
118 %_postun_userdel %{name}
119 %_postun_groupdel %{name} %{name}
120 %if %{?with_systemd}
121 if [ $1 -ge 1 ] ; then
122 # On upgrade, reload init system configuration if we changed unit files
123 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
124 fi
125 %endif
126
127 %files -f %{name}.lang
128 %defattr(-,root,root,-)
129 %doc README COPYING
130 #systemd
131 %if %{?with_systemd}
132 /lib/systemd/system/%{name}d.service
133 %endif
134 %{_sbindir}/%{name}d
135 %{_sbindir}/%{name}-server
136 %{_bindir}/%{name}-debuginfo-install
137 %{_bindir}/%{name}-action-analyze-core.py
138 %{_bindir}/%{name}-handle-upload
139 %{_bindir}/%{name}-handle-crashdump
140 %{_bindir}/%{name}-action-save-package-data
141 %{_bindir}/%{name}-retrace-client
142 %{_bindir}/bug-reporting-wizard
143 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
144 %config(noreplace) %{_sysconfdir}/%{name}/gpg_keys
145 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-%{name}.conf
146 %config(noreplace) %{_sysconfdir}/%{name}/%{name}_event.conf
147 %ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
148 %ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}d.pid
149 %{_initrddir}/%{name}d
150 #%dir %attr(0755, %{name}, %{name}) %{_localstatedir}/cache/%{name}
151 %dir /var/run/%{name}
152 %dir %{_sysconfdir}/%{name}
153 %dir %{_sysconfdir}/%{name}/plugins
154 %dir %{_sysconfdir}/%{name}/events.d
155 %dir %{_sysconfdir}/%{name}/events
156 %{_mandir}/man8/%{name}d.8.*
157 %{_mandir}/man5/%{name}.conf.5.*
158 %{_mandir}/man5/%{name}_event.conf.5.*
159 %{_mandir}/man7/%{name}-plugins.7.*
160 %{_datadir}/dbus-1/system-services/com.redhat.%{name}.service
161
162 #--------------------------------------------------------------------
163
164 %package -n %{lib_name}
165 Summary: Libraries for %{name}
166 Group: System/Libraries
167
168 %description -n %{lib_name}
169 Libraries for %{name}.
170
171 %files -n %{lib_name}
172 %defattr(-,root,root,-)
173 %{_libdir}/libabrt*.so.*
174 %{_libdir}/libbtparser.so.*
175
176 #--------------------------------------------------------------------
177
178 %package -n %{lib_name_devel}
179 Summary: Development libraries for %{name}
180 Group: Development/C
181 Requires: %{lib_name} = %{version}-%{release}
182 Requires: abrt = %{version}-%{release}
183 Obsoletes: %{_lib}abrt0-devel
184
185 %description -n %{lib_name_devel}
186 Development libraries and headers for %{name}.
187
188 %files -n %{lib_name_devel}
189 %defattr(-,root,root,-)
190 %{_includedir}/abrt/*
191 %{_includedir}/btparser/*
192 %{_libdir}/libabrt*.so
193 %{_libdir}/libbtparser.so
194 #FIXME: this should go to libreportgtk-devel package
195 %{_libdir}/libreportgtk.so
196 %{_libdir}/pkgconfig/%{name}.pc
197 %{_libdir}/pkgconfig/btparser.pc
198
199 #--------------------------------------------------------------------
200
201 %package gui
202 Summary: %{name}'s gui
203 Group: Graphical desktop/Other
204 Requires: %{name} = %{version}-%{release}
205 Requires: dbus-python, pygtk2.0, pygtk2.0-libglade
206 Requires: python-gobject
207 Requires: gnome-python-desktop
208
209 %description gui
210 GTK+ wizard for convenient bug reporting.
211
212 %files gui
213 %defattr(-,root,root,-)
214 %{_bindir}/%{name}-gui
215 %{_datadir}/%{name}
216 %{_datadir}/applications/%{name}.desktop
217 %{_datadir}/icons/hicolor/*/*/*.png
218 %{_bindir}/%{name}-applet
219 %{_sysconfdir}/xdg/autostart/%{name}-applet.desktop
220
221 #--------------------------------------------------------------------
222
223 %package addon-ccpp
224 Summary: %{name}'s C/C++ addon
225 Group: System/Libraries
226 Requires: elfutils
227 Requires: %{name} = %{version}-%{release}
228
229 %description addon-ccpp
230 This package contains hook for C/C++ crashed programs and %{name}'s C/C++
231 analyzer plugin.
232
233 %post addon-ccpp
234 chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
235 #if [ $1 -eq 1 ]; then
236 /sbin/chkconfig --add abrt-ccpp
237 #fi
238
239 %if %{?with_systemd}
240 if [ "$1" -eq "0" ] ; then
241 /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || :
242 /bin/systemctl disable abrt-ccpp.service >/dev/null 2>&1 || :
243 fi
244 %endif
245
246 %posttrans addon-ccpp
247 service abrt-ccpp condrestart >/dev/null 2>&1 || :
248
249 %preun addon-ccpp
250 if [ "$1" -eq "0" ] ; then
251 service abrt-ccpp stop >/dev/null 2>&1
252 /sbin/chkconfig --del abrt-ccpp
253 fi
254
255 #systemd (not tested):
256 %if %{?with_systemd}
257 if [ "$1" -eq "0" ] ; then
258 /bin/systemctl stop abrt-ccpp.service >/dev/null 2>&1 || :
259 /bin/systemctl disable abrt-ccpp.service >/dev/null 2>&1 || :
260 fi
261 %endif
262
263 %files addon-ccpp
264 %defattr(-,root,root,-)
265 %config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
266 %dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
267 %{_initrddir}/abrt-ccpp
268 %{_libdir}/abrt-hook-ccpp
269 %{_sysconfdir}/profile.d/00abrt.*
270 %{_bindir}/abrt-action-analyze-c
271 %{_bindir}/abrt-action-trim-files
272 %attr(2755, abrt, abrt) %{_bindir}/abrt-action-install-debuginfo
273 %{_bindir}/abrt-action-install-debuginfo.py*
274 %{_bindir}/abrt-action-generate-backtrace
275 %{_bindir}/abrt-action-analyze-backtrace
276 %{_bindir}/abrt-action-list-dsos.py*
277 %{_sysconfdir}/%{name}/events.d/ccpp_events.conf
278 %{_sysconfdir}/%{name}/events/analyze_LocalGDB.xml
279 %{_sysconfdir}/%{name}/events/reanalyze_LocalGDB.xml
280 %{_sysconfdir}/%{name}/events/analyze_RetraceServer.xml
281 %{_sysconfdir}/%{name}/events/reanalyze_RetraceServer.xml
282 %{_mandir}/man*/abrt-action-trim-files.*
283 %{_mandir}/man*/abrt-action-generate-backtrace.*
284 %{_mandir}/man*/abrt-action-analyze-backtrace.*
285
286 #--------------------------------------------------------------------
287
288 %package addon-kerneloops
289 Summary: %{name}'s kerneloops addon
290 Group: System/Libraries
291 Requires: curl
292 Requires: %{name} = %{version}-%{release}
293 #Obsoletes: kerneloops
294
295 %description addon-kerneloops
296 This package contains plugin for collecting kernel crash information
297 and reporter plugin which sends this information to specified server,
298 usually to kerneloops.org.
299
300 %post addon-kerneloops
301 if [ $1 -eq 1 ]; then
302 /sbin/chkconfig --add abrt-oops
303 fi
304
305 %posttrans addon-kerneloops
306 service abrt-oops condrestart >/dev/null 2>&1 || :
307
308 %preun addon-kerneloops
309 if [ "$1" -eq "0" ] ; then
310 service abrt-oops stop >/dev/null 2>&1
311 /sbin/chkconfig --del abrt-oops
312 fi
313 #systemd (not tested):
314 %if %{?with_systemd}
315 if [ "$1" -eq "0" ] ; then
316 /bin/systemctl stop abrt-oops.service >/dev/null 2>&1 || :
317 /bin/systemctl disable abrt-oops.service >/dev/null 2>&1 || :
318 fi
319 %endif
320
321 %files addon-kerneloops
322 %defattr(-,root,root,-)
323 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf
324 %config(noreplace) %{_sysconfdir}/%{name}/events.d/koops_events.conf
325 %{_sysconfdir}/%{name}/events/report_Kerneloops.xml
326 %{_initrddir}/abrt-oops
327 %{_mandir}/man7/abrt-KerneloopsReporter.7.*
328 %{_bindir}/abrt-dump-oops
329 %{_bindir}/abrt-action-analyze-oops
330 %{_bindir}/abrt-action-kerneloops
331
332 #--------------------------------------------------------------------
333
334 %package plugin-logger
335 Summary: %{name}'s logger reporter plugin
336 Group: System/Libraries
337 Requires: %{name} = %{version}-%{release}
338
339 %description plugin-logger
340 The simple reporter plugin which writes a report to a specified file.
341
342 %files plugin-logger
343 %defattr(-,root,root,-)
344 %{_sysconfdir}/%{name}/events/report_Logger.conf
345 %{_bindir}/abrt-action-print
346 %{_mandir}/man7/%{name}-Logger.7.*
347 %{_mandir}/man*/%{name}-action-print.*
348
349 #--------------------------------------------------------------------
350
351 %package plugin-mailx
352 Summary: %{name}'s mailx reporter plugin
353 Group: System/Libraries
354 Requires: %{name} = %{version}-%{release}
355 Requires: mailx
356
357 %description plugin-mailx
358 The simple reporter plugin which sends a report via mailx to a specified
359 email address.
360
361 %files plugin-mailx
362 %defattr(-,root,root,-)
363 %{_sysconfdir}/%{name}/events/report_Mailx.xml
364 %{_sysconfdir}/%{name}/events.d/mailx_events.conf
365 %{_bindir}/abrt-action-mailx
366 %{_mandir}/man7/%{name}-Mailx.7.*
367 %{_mandir}/man*/%{name}-action-mailx.*
368
369 #--------------------------------------------------------------------
370
371 %package plugin-bugzilla
372 Summary: %{name}'s bugzilla plugin
373 Group: System/Libraries
374 Requires: %{name} = %{version}-%{release}
375
376 %description plugin-bugzilla
377 Plugin to report bugs into the bugzilla.
378
379 %files plugin-bugzilla
380 %defattr(-,root,root,-)
381 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf
382 %{_sysconfdir}/%{name}/events/report_Bugzilla.xml
383 %config(noreplace) %{_sysconfdir}/%{name}/events/report_Bugzilla.conf
384 # FIXME: remove with the old gui
385 %{_mandir}/man7/abrt-Bugzilla.7.*
386 %{_bindir}/abrt-action-bugzilla
387
388 #--------------------------------------------------------------------
389
390 %package plugin-reportuploader
391 Summary: %{name}'s ticketuploader plugin
392 Group: System/Libraries
393 Requires: %{name} = %{version}-%{release}
394 Obsoletes: plugin-ticketuploader < 1.1.13
395 Provides: plugin-ticketuploader = %{version}-%{release}
396
397 %description plugin-reportuploader
398 Plugin to report bugs into anonymous FTP site associated with ticketing system.
399
400 %files plugin-reportuploader
401 %defattr(-,root,root,-)
402 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Upload.conf
403 %{_mandir}/man7/abrt-Upload.7.*
404 %{_bindir}/abrt-action-upload
405
406 #--------------------------------------------------------------------
407
408 %package addon-python
409 Summary: %{name}'s addon for catching and analyzing Python exceptions
410 Group: System/Libraries
411 Requires: %{name} = %{version}-%{release}
412
413 %description addon-python
414 This package contains python hook and python analyzer plugin for handling
415 uncaught exception in python programs.
416
417 %files addon-python
418 %defattr(-,root,root,-)
419 %config(noreplace) %{_sysconfdir}/%{name}/plugins/Python.conf
420 %{_bindir}/abrt-action-analyze-python
421 %{py_puresitedir}/abrt*.py*
422 %{py_puresitedir}/*.pth
423
424 #--------------------------------------------------------------------
425
426 %package cli
427 Summary: %{name}'s command line interface
428 Group: Graphical desktop/Other
429 Requires: %{name} = %{version}-%{release}
430 Requires: %{name}-addon-kerneloops
431 Requires: %{name}-addon-ccpp, %{name}-addon-python
432 Requires: %{name}-plugin-bugzilla, %{name}-plugin-logger
433
434 %description cli
435 This package contains simple command line client for controlling abrt
436 daemon over the sockets.
437
438 %files cli
439 %defattr(-,root,root,-)
440 %{_bindir}/abrt-cli
441 %{_mandir}/man1/abrt-cli.1.*
442 %{_sysconfdir}/bash_completion.d/abrt-cli.bash
443
444 #--------------------------------------------------------------------
445
446 %package desktop
447 Summary: Virtual package to install all necessary packages for usage from desktop environment
448 Group: Graphical desktop/Other
449 # This package gets installed when anything requests bug-buddy -
450 # happens when users upgrade Fn to Fn+1;
451 # or if user just wants "typical desktop installation".
452 # Installing abrt-desktop should result in the abrt which works without
453 # any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
454 Requires: %{name} = %{version}-%{release}
455 Requires: %{name}-addon-kerneloops
456 Requires: %{name}-addon-ccpp, %{name}-addon-python
457 # Default config of addon-ccpp requires gdb
458 Requires: gdb >= 7.0-3
459 Requires: %{name}-gui
460 Requires: %{name}-plugin-logger, %{name}-plugin-bugzilla
461 #Obsoletes: bug-buddy
462 #Provides: bug-buddy
463
464 %description desktop
465 Virtual package to make easy default installation on desktop environments.
466
467 %files desktop
468 %defattr(-,root,root,-)
469
470 #--------------------------------------------------------------------
471
472 %package -n %libreport
473 Summary: Libraries for reporting crashes to different targets
474 Group: System/Libraries
475
476 %description -n %libreport
477 Libraries providing API for reporting different problems in applications
478 to different bug targets like bugzilla, ftp, trac, etc...
479
480 %files -n %libreport
481 %defattr(-,root,root,-)
482 %{_libdir}/libreport.so.%{lib_major}*
483
484 #--------------------------------------------------------------------
485
486 %package -n %lib_report_devel
487 Summary: Development libraries and headers for libreport
488 Group: System/Libraries
489
490 %description -n %lib_report_devel
491 Development libraries and headers for libreport.
492
493 %files -n %lib_report_devel
494 %defattr(-,root,root,-)
495 %{_includedir}/report/*
496 %{_libdir}/libreport.so
497
498 #--------------------------------------------------------------------
499 #
500 #%package -n libreport-python
501 #%Summary: Python bindings for report-libs.
502 #%Group: System/Libraries
503 #
504 #%description -n libreport-python
505 #Python bindings for report-libs.
506 #
507 #%files -n libreport-python
508 #%defattr(-,root,root,-)
509 #%{python_sitearch}/report/*
510 #
511 #--------------------------------------------------------------------
512
513 %package -n %libreportgtk
514 Summary: GTK frontend for libreport
515 Group: System/Libraries
516
517 %description -n %libreportgtk
518 Applications for reporting bugs using libreport backend.
519
520 %files -n %libreportgtk
521 %defattr(-,root,root,-)
522 %{_libdir}/libreportgtk.so.%{lib_major}*
523
524 #--------------------------------------------------------------------
525
526 %package retrace-server
527 Summary: %{name}'s retrace server using HTTP protocol
528 Group: Graphical desktop/Other
529 Requires: abrt-addon-ccpp
530 Requires: gdb >= 7.0-3
531 Requires: apache-mod_wsgi, apache-mod_ssl, python-webob
532 Requires: mock, xz, elfutils, createrepo
533 Requires(preun): /sbin/install-info
534 Requires(post): /sbin/install-info
535
536 %post retrace-server
537 /sbin/install-info %{_infodir}/abrt-retrace-server %{_infodir}/dir 2> /dev/null || :
538 /usr/sbin/usermod -G mock apache 2> /dev/null || :
539
540 %preun retrace-server
541 if [ "$1" = 0 ]; then
542 /sbin/install-info --delete %{_infodir}/abrt-retrace-server %{_infodir}/dir 2> /dev/null || :
543 fi
544
545 %description retrace-server
546 The retrace server provides a coredump analysis and backtrace
547 generation service over a network using HTTP protocol.
548
549 %files retrace-server
550 %defattr(-,root,root,-)
551 %config(noreplace) %{_sysconfdir}/%{name}/retrace.conf
552 %config(noreplace) %{_sysconfdir}/httpd/conf.d/retrace_httpd.conf
553 %config(noreplace) %{_sysconfdir}/yum.repos.d/retrace.repo
554 %dir %attr(0775, apache, abrt) %{_localstatedir}/spool/abrt-retrace
555 %dir %attr(0755, abrt, abrt) %{_localstatedir}/cache/abrt-retrace
556 %dir %attr(0755, abrt, abrt) %{_localstatedir}/log/abrt-retrace
557 %caps(cap_setuid=ep) %{_bindir}/abrt-retrace-worker
558 %{_bindir}/abrt-retrace-cleanup
559 %{_bindir}/abrt-retrace-reposync
560 %{_bindir}/coredump2packages
561 %{py_puresitedir}/retrace.py*
562 %{_datadir}/abrt-retrace/*.py*
563 %{_datadir}/abrt-retrace/*.wsgi
564 %{_datadir}/abrt-retrace/plugins/*.py*
565 %{_infodir}/abrt-retrace-server*
566
567 #--------------------------------------------------------------------
568
569 %prep
570 %setup -q
571 %apply_patches
572
573 %build
574 NOCONFIGURE=yes gnome-autogen.sh
575 %configure2_5x \
576 %if !%{with_systemd}
577 --without-systemdsystemunitdir \
578 %endif
579 --disable-rpath
580 %make
581
582 %install
583 rm -rf %{buildroot}
584 %makeinstall_std
585 %find_lang %{name}
586
587 # remove all .la and .a files
588 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
589 mkdir -p %{buildroot}/%{_initrddir}
590 install -m 755 %SOURCE1 %{buildroot}/%{_initrddir}/%{name}d
591 install -m 755 %SOURCE5 %{buildroot}/%{_initrddir}/%{name}-ccpp
592 install -m 755 %SOURCE6 %{buildroot}/%{_initrddir}/%{name}-oops
593 mkdir -p %{buildroot}/var/cache/%{name}-di
594 mkdir -p %{buildroot}/var/run/%{name}
595 mkdir -p %{buildroot}/var/spool/%{name}
596 mkdir -p %{buildroot}/var/spool/%{name}-retrace
597 mkdir -p %{buildroot}/var/cache/%{name}-retrace
598 mkdir -p %{buildroot}/var/log/%{name}-retrace
599 mkdir -p %{buildroot}/var/spool/%{name}-upload
600
601 sed -i 's!@libexec@!%_libdir!' %{buildroot}/%{_initrddir}/%{name}-ccpp
602
603 # remove fedora gpg key
604 rm -f %{buildroot}%{_sysconfdir}/abrt/gpg_keys
605 touch %{buildroot}%{_sysconfdir}/abrt/gpg_keys
606
607 # install ulimit disabler
608 mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
609 install -m755 %SOURCE2 %SOURCE3 %{buildroot}%{_sysconfdir}/profile.d/
610
611 desktop-file-install \
612 --dir %{buildroot}%{_sysconfdir}/xdg/autostart \
613 src/applet/%{name}-applet.desktop
614
615 # replace with our own version
616 cat %{SOURCE4} > %{buildroot}/usr/bin/%{name}-debuginfo-install
617
618 #remove RH specific plugins
619 rm -f %{buildroot}%{_libdir}/%{name}/{RHTSupport.glade,libRHTSupport.so}
620 rm -f %{buildroot}%{_sysconfdir}/%{name}/plugins/RHTSupport.conf
621 rm -f %{buildroot}%{_sysconfdir}/%{name}/events.d/rhtsupport_events.conf
622 rm -f %{buildroot}%{_sysconfdir}/%{name}/events/report_RHTSupport.xml
623 rm -f %{buildroot}%{_bindir}/%{name}-action-rhtsupport
624
625 # After everything is installed, remove info dir
626 rm -f %{buildroot}%{_infodir}/dir

  ViewVC Help
Powered by ViewVC 1.1.30