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

  ViewVC Help
Powered by ViewVC 1.1.30