Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6e2fdf4c0 | ||
|
|
adc735d51f | ||
|
|
459483fc5b | ||
|
|
458a8dfe22 |
5 changed files with 356 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
abrt-0.0.3.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: abrt
|
|
||||||
# $Id$
|
|
||||||
NAME := abrt
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
354
abrt.spec
Normal file
354
abrt.spec
Normal file
|
|
@ -0,0 +1,354 @@
|
||||||
|
Summary: Automatic bug detection and reporting tool
|
||||||
|
Name: abrt
|
||||||
|
Version: 0.0.3
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
URL: https://fedorahosted.org/crash-catcher/
|
||||||
|
Source: http://jmoskovc.fedorapeople.org/%{name}-%{version}.tar.gz
|
||||||
|
Source1: abrt.init
|
||||||
|
BuildRequires: dbus-c++-devel
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
BuildRequires: curl-devel
|
||||||
|
BuildRequires: rpm-devel >= 4.6
|
||||||
|
BuildRequires: sqlite-devel > 3.0
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: nss-devel
|
||||||
|
BuildRequires: libnotify-devel
|
||||||
|
BuildRequires: xmlrpc-c-devel
|
||||||
|
BuildRequires: file-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Patch0: abrt-0.0.1-newenum.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{name} is a tool to help users to detect defects in applications and
|
||||||
|
to create a bug report with all informations needed by maintainer to fix it.
|
||||||
|
It uses plugin system to extend its functionality.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries for %{name}
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Libraries for %{name}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development libraries for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development libraries and headers for %{name}.
|
||||||
|
|
||||||
|
%package applet
|
||||||
|
Summary: %{name}'s applet
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: %{name}-gui
|
||||||
|
|
||||||
|
%description applet
|
||||||
|
Simple systray applet to notify user about new events detected by %{name}
|
||||||
|
daemon.
|
||||||
|
|
||||||
|
%package gui
|
||||||
|
Summary: %{name}'s gui
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description gui
|
||||||
|
GTK+ wizard for convenient bug reporting.
|
||||||
|
|
||||||
|
%package addon-ccpp
|
||||||
|
Summary: %{name}'s C/C++ addon
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: gdb
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description addon-ccpp
|
||||||
|
This package contains hook for C/C++ crashed programs and %{name}'s C/C++
|
||||||
|
analyzer plugin.
|
||||||
|
|
||||||
|
%package plugin-kerneloops
|
||||||
|
Summary: %{name}'s kerneloops plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name}-plugin-kerneloopsreporter = %{version}-%{release}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-kerneloops
|
||||||
|
This package contains plugin for kernel crashes information collecting.
|
||||||
|
analyzer plugin.
|
||||||
|
|
||||||
|
%package plugin-kerneloopsreporter
|
||||||
|
Summary: %{name}'s kerneloops reporter plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: curl
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-kerneloopsreporter
|
||||||
|
This package contains reporter plugin, that sends, collected by %{name}'s kerneloops
|
||||||
|
addon, information about kernel crashes to specified server, e.g. kerneloops.org.
|
||||||
|
|
||||||
|
%package plugin-sqlite3
|
||||||
|
Summary: %{name}'s SQLite3 database plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-sqlite3
|
||||||
|
This package contains SQLite3 database plugin. It is used for storing the data
|
||||||
|
required for creating a bug report.
|
||||||
|
|
||||||
|
%package plugin-logger
|
||||||
|
Summary: %{name}'s logger reporter plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-logger
|
||||||
|
The simple reporter plugin, which writes a report to a specified file.
|
||||||
|
|
||||||
|
%package plugin-mailx
|
||||||
|
Summary: %{name}'s mailx reporter plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: mailx
|
||||||
|
|
||||||
|
%description plugin-mailx
|
||||||
|
The simple reporter plugin, which sends a report via mailx to a specified
|
||||||
|
email.
|
||||||
|
|
||||||
|
%package plugin-runapp
|
||||||
|
Summary: %{name}'s runapp plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-runapp
|
||||||
|
Plugin to run external programs.
|
||||||
|
|
||||||
|
%package plugin-bugzilla
|
||||||
|
Summary: %{name}'s bugzilla plugin
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description plugin-bugzilla
|
||||||
|
Plugin to report bugs into the bugzilla.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1 -b .rpm47
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib*.la
|
||||||
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}/lib*.la
|
||||||
|
mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir}
|
||||||
|
install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}/%{_initrddir}/%{name}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/var/cache/%{name}
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||||
|
src/Gui/%{name}.desktop
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/chkconfig --add %{name}
|
||||||
|
|
||||||
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ "$1" = 0 ] ; then
|
||||||
|
service %{name} stop >/dev/null 2>&1
|
||||||
|
/sbin/chkconfig --del %{name}
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README COPYING
|
||||||
|
%{_sbindir}/%{name}
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-%{name}.conf
|
||||||
|
%{_initrddir}/%{name}
|
||||||
|
%dir /var/cache/%{name}
|
||||||
|
%dir %{_sysconfdir}/%{name}
|
||||||
|
%dir %{_sysconfdir}/%{name}/plugins
|
||||||
|
%dir %{_libdir}/%{name}
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
|
%files applet
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/%{name}-applet
|
||||||
|
|
||||||
|
%files gui
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/%{name}-gui
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
%files addon-ccpp
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
|
||||||
|
%{_libdir}/%{name}/libCCpp.so*
|
||||||
|
%{_libexecdir}/hookCCpp
|
||||||
|
|
||||||
|
%files plugin-kerneloops
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf
|
||||||
|
%{_libdir}/%{name}/libKerneloops.so*
|
||||||
|
|
||||||
|
%files plugin-kerneloopsreporter
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/KerneloopsReporter.conf
|
||||||
|
%{_libdir}/%{name}/libKerneloopsReporter.so*
|
||||||
|
|
||||||
|
%files plugin-sqlite3
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/SQLite3.conf
|
||||||
|
%{_libdir}/%{name}/libSQLite3.so*
|
||||||
|
|
||||||
|
%files plugin-logger
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Logger.conf
|
||||||
|
%{_libdir}/%{name}/libLogger.so*
|
||||||
|
|
||||||
|
%files plugin-mailx
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Mailx.conf
|
||||||
|
%{_libdir}/%{name}/libMailx.so*
|
||||||
|
|
||||||
|
%files plugin-runapp
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/%{name}/libRunApp.so*
|
||||||
|
|
||||||
|
%files plugin-bugzilla
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf
|
||||||
|
%{_libdir}/%{name}/libBugzilla.so*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Apr 10 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.3-1
|
||||||
|
- new version
|
||||||
|
- added bz plugin
|
||||||
|
- minor fix in reporter gui
|
||||||
|
- Configurable max size of debugdump storage rhbz#490889
|
||||||
|
- Wrap lines in report to keep the window sane sized
|
||||||
|
- Fixed gui for new daemon API
|
||||||
|
- removed unneeded code
|
||||||
|
- removed dependency on args
|
||||||
|
- new guuid hash creating
|
||||||
|
- fixed local UUID
|
||||||
|
- fixed debuginfo-install checks
|
||||||
|
- renamed MW library
|
||||||
|
- Added notification thru libnotify
|
||||||
|
- fixed parsing settings of action plugins
|
||||||
|
- added support for action plugins
|
||||||
|
- kerneloops - plugin: fail gracefully.
|
||||||
|
- Added commlayer to make dbus optional
|
||||||
|
- a lot of kerneloops fixes
|
||||||
|
- new approach for getting debuginfos and backtraces
|
||||||
|
- fixed unlocking of a debugdump
|
||||||
|
- replaced language and application plugins by analyzer plugin
|
||||||
|
- more excetpion handling
|
||||||
|
- conf file isn't needed
|
||||||
|
- Plugin's configuration file is optional
|
||||||
|
- Add curl dependency
|
||||||
|
- Added column 'user' to the gui
|
||||||
|
- Gui: set the newest entry as active (ticket#23)
|
||||||
|
- Delete and Report button are no longer active if no entry is selected (ticket#41)
|
||||||
|
- Gui refreshes silently (ticket#36)
|
||||||
|
- Added error reporting over dbus to daemon, error handling in gui, about dialog
|
||||||
|
|
||||||
|
* Wed Mar 11 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.2-1
|
||||||
|
- added kerneloops addon to rpm (aarapov)
|
||||||
|
- added kerneloops addon and plugin (aarapov)
|
||||||
|
- Made Crash() private
|
||||||
|
- Applet requires gui, removed dbus-glib deps
|
||||||
|
- Closing stdout in daemon rhbz#489622
|
||||||
|
- Changed applet behaviour according to rhbz#489624
|
||||||
|
- Changed gui according to rhbz#489624, fixed dbus timeouts
|
||||||
|
- Increased timeout for async dbus calls to 60sec
|
||||||
|
- deps cleanup, signal AnalyzeComplete has the crashreport as an argument.
|
||||||
|
- Fixed empty package Description.
|
||||||
|
- Fixed problem with applet tooltip on x86_64
|
||||||
|
|
||||||
|
* Wed Mar 4 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-13
|
||||||
|
- More renaming issues fixed..
|
||||||
|
- Changed BR from gtkmm24 to gtk2
|
||||||
|
- Fixed saving of user comment
|
||||||
|
- Added a progress bar, new Comment entry for user comments..
|
||||||
|
- FILENAME_CMDLINE and FILENAME_RELEASE are optional
|
||||||
|
- new default path to DB
|
||||||
|
- Rename to abrt
|
||||||
|
|
||||||
|
* Tue Mar 3 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-12
|
||||||
|
- initial fedora release
|
||||||
|
- changed SOURCE url
|
||||||
|
- added desktop-file-utils to BR
|
||||||
|
- changed crash-catcher to %%{name}
|
||||||
|
|
||||||
|
* Mon Mar 2 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-11
|
||||||
|
- more spec file fixes according to review
|
||||||
|
- async dbus method calls, added exception handler
|
||||||
|
- avoid deadlocks (zprikryl)
|
||||||
|
- root is god (zprikryl)
|
||||||
|
- create bt only once (zprikryl)
|
||||||
|
|
||||||
|
* Sat Feb 28 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-10
|
||||||
|
- New gui
|
||||||
|
- Added new method DeleteDebugDump to daemon
|
||||||
|
- Removed gcc warnings from applet
|
||||||
|
- Rewritten CCpp hook and removed dealock in DebugDumps lib (zprikryl)
|
||||||
|
- fixed few gcc warnings
|
||||||
|
- DBusBackend improvements
|
||||||
|
|
||||||
|
* Fri Feb 27 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-9
|
||||||
|
- fixed few gcc warnings
|
||||||
|
- added scrolled window for long reports
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Adam Williamson <awilliam@redhat.com> 0.0.1-8
|
||||||
|
- fixes for all issues identified in review
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-7
|
||||||
|
- Fixed cancel button behaviour in reporter
|
||||||
|
- disabled core file sending
|
||||||
|
- removed some debug messages
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-6
|
||||||
|
- fixed DB path
|
||||||
|
- added new signals to handler
|
||||||
|
- gui should survive the dbus timeout
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-5
|
||||||
|
- fixed catching debuinfo install exceptions
|
||||||
|
- some gui fixes
|
||||||
|
- added check for GPGP public key
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-4
|
||||||
|
- changed from full bt to simple bt
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-3
|
||||||
|
- spec file cleanups
|
||||||
|
- changed default paths to crash DB and log DB
|
||||||
|
- fixed some memory leaks
|
||||||
|
|
||||||
|
* Tue Feb 24 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.1-2
|
||||||
|
- spec cleanup
|
||||||
|
- added new subpackage gui
|
||||||
|
|
||||||
|
* Wed Feb 18 2009 Zdenek Prikryl <zprikryl@redhat.com> 0.0.1-1
|
||||||
|
- initial packing
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
b532b5f02a3654a2e4f859d84c396990 abrt-0.0.3.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue