/[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 197649 - (show annotations) (download)
Tue Jan 17 21:53:26 2012 UTC (12 years, 3 months ago) by dmorgan
File size: 19033 byte(s)
New version
Rediff Patches
SILENT: Still not compile ( deprecated warnings)

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

  ViewVC Help
Powered by ViewVC 1.1.30