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