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

  ViewVC Help
Powered by ViewVC 1.1.28