/[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 109812 - (show annotations) (download)
Sun Jun 19 14:46:17 2011 UTC (12 years, 10 months ago) by dmorgan
File size: 19230 byte(s)
Update to version 2.0.2
Rediff patches
Add new packages 
SILENT : TODO fix lib packages 
SILENT : Do not upload now 

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

  ViewVC Help
Powered by ViewVC 1.1.30