Updated to new version 0.0.4

This commit is contained in:
Jiří Moskovčák 2009-07-10 08:15:22 +00:00
parent 0c5c4930ef
commit a09963ba0b
3 changed files with 89 additions and 15 deletions

View File

@ -1 +1 @@
abrt-0.0.3.tar.gz abrt-0.0.4.tar.gz

100
abrt.spec
View File

@ -1,10 +1,13 @@
%{!?python_site: %define python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
# platform-dependent
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Summary: Automatic bug detection and reporting tool Summary: Automatic bug detection and reporting tool
Name: abrt Name: abrt
Version: 0.0.3 Version: 0.0.4
Release: 1%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: https://fedorahosted.org/crash-catcher/ URL: https://fedorahosted.org/abrt/
Source: http://jmoskovc.fedorapeople.org/%{name}-%{version}.tar.gz Source: http://jmoskovc.fedorapeople.org/%{name}-%{version}.tar.gz
Source1: abrt.init Source1: abrt.init
BuildRequires: dbus-c++-devel BuildRequires: dbus-c++-devel
@ -17,6 +20,7 @@ BuildRequires: nss-devel
BuildRequires: libnotify-devel BuildRequires: libnotify-devel
BuildRequires: xmlrpc-c-devel BuildRequires: xmlrpc-c-devel
BuildRequires: file-devel BuildRequires: file-devel
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
@ -53,6 +57,7 @@ daemon.
Summary: %{name}'s gui Summary: %{name}'s gui
Group: User Interface/Desktops Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: dbus-python, rhpl, pygtk2, pygtk2-libglade
%description gui %description gui
GTK+ wizard for convenient bug reporting. GTK+ wizard for convenient bug reporting.
@ -67,15 +72,16 @@ Requires: %{name} = %{version}-%{release}
This package contains hook for C/C++ crashed programs and %{name}'s C/C++ This package contains hook for C/C++ crashed programs and %{name}'s C/C++
analyzer plugin. analyzer plugin.
%package plugin-kerneloops %package addon-kerneloops
Summary: %{name}'s kerneloops plugin Summary: %{name}'s kerneloops addon
Group: System Environment/Libraries Group: System Environment/Libraries
Requires: %{name}-plugin-kerneloopsreporter = %{version}-%{release} Requires: %{name}-plugin-kerneloopsreporter = %{version}-%{release}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Conflicts: kerneloops
Obsoletes: abrt-plugin-kerneloops
%description plugin-kerneloops %description addon-kerneloops
This package contains plugin for kernel crashes information collecting. This package contains plugins for kernel crashes information collecting.
analyzer plugin.
%package plugin-kerneloopsreporter %package plugin-kerneloopsreporter
Summary: %{name}'s kerneloops reporter plugin Summary: %{name}'s kerneloops reporter plugin
@ -130,6 +136,32 @@ Requires: %{name} = %{version}-%{release}
%description plugin-bugzilla %description plugin-bugzilla
Plugin to report bugs into the bugzilla. Plugin to report bugs into the bugzilla.
%package plugin-filetransfer
Summary: %{name}'s File Transfer plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description plugin-filetransfer
Plugin to uploading files to a server.
%package addon-python
Summary: %{name}'s addon for catching and analyzing Python exceptions
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description addon-python
This package contains python hook and python analyzer plugin for hadnling
uncaught exception in python programs.
%package cli
Summary: %{name}'s command line interface
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
%description cli
This package contains simple command line client for controling abrt daemon over
the sockets.
%prep %prep
%setup -q %setup -q
@ -141,10 +173,12 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib*.la #rm -rf $RPM_BUILD_ROOT/%{_libdir}/lib*.la
rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}/lib*.la #rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}/lib*.la
# remove all .la and .a files
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir} mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir}
install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}/%{_initrddir}/%{name} install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}/%{_initrddir}/%{name}
mkdir -p $RPM_BUILD_ROOT/var/cache/%{name} mkdir -p $RPM_BUILD_ROOT/var/cache/%{name}
@ -179,6 +213,9 @@ fi
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/plugins %dir %{_sysconfdir}/%{name}/plugins
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_mandir}/man8/%{name}.8.gz
%{_mandir}/man5/%{name}.conf.5.gz
%{_mandir}/man7/%{name}-plugins.7.gz
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -204,41 +241,78 @@ fi
%{_libdir}/%{name}/libCCpp.so* %{_libdir}/%{name}/libCCpp.so*
%{_libexecdir}/hookCCpp %{_libexecdir}/hookCCpp
%files plugin-kerneloops %files addon-kerneloops
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Kerneloops.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/KerneloopsScanner.conf
%{_libdir}/%{name}/libKerneloops.so* %{_libdir}/%{name}/libKerneloops.so*
%{_libdir}/%{name}/libKerneloopsScanner.so*
%{_mandir}/man7/%{name}-KerneloopsScanner.7.gz
%files plugin-kerneloopsreporter %files plugin-kerneloopsreporter
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/KerneloopsReporter.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/KerneloopsReporter.conf
%{_libdir}/%{name}/libKerneloopsReporter.so* %{_libdir}/%{name}/libKerneloopsReporter.so*
%{_mandir}/man7/%{name}-KerneloopsReporter.7.gz
%files plugin-sqlite3 %files plugin-sqlite3
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/SQLite3.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/SQLite3.conf
%{_libdir}/%{name}/libSQLite3.so* %{_libdir}/%{name}/libSQLite3.so*
%{_mandir}/man7/%{name}-SQLite3.7.gz
%files plugin-logger %files plugin-logger
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Logger.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/Logger.conf
%{_libdir}/%{name}/libLogger.so* %{_libdir}/%{name}/libLogger.so*
%{_mandir}/man7/%{name}-Logger.7.gz
%files plugin-mailx %files plugin-mailx
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Mailx.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/Mailx.conf
%{_libdir}/%{name}/libMailx.so* %{_libdir}/%{name}/libMailx.so*
%{_mandir}/man7/%{name}-Mailx.7.gz
%files plugin-runapp %files plugin-runapp
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/%{name}/libRunApp.so* %{_libdir}/%{name}/libRunApp.so*
%{_mandir}/man7/%{name}-RunApp.7.gz
%files plugin-bugzilla %files plugin-bugzilla
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf %config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf
%{_libdir}/%{name}/libBugzilla.so* %{_libdir}/%{name}/libBugzilla.so*
%{_mandir}/man7/%{name}-Bugzilla.7.gz
%files plugin-filetransfer
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/FileTransfer.conf
%{_libdir}/%{name}/libFileTransfer.so*
%{_mandir}/man7/%{name}-FileTransfer.7.gz
%files addon-python
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/pyhook.conf
%{python_sitearch}/ABRTUtils.so
%{_libdir}/%{name}/libPython.so*
%{python_site}/*.py*
%files cli
%defattr(-,root,root,-)
%{_bindir}/abrt-cli
%changelog %changelog
* Thu Jun 25 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.4-3
- fixed dependencies in spec file
* Tue Jun 16 2009 Daniel Novotny <dnovotny@redhat.com> 0.0.4-2
- added manual pages (also for plugins)
* Mon Jun 15 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.4-1
- new version
- added cli (only supports sockets)
- added python hook
- many fixes
* Fri Apr 10 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.3-1 * Fri Apr 10 2009 Jiri Moskovcak <jmoskovc@redhat.com> 0.0.3-1
- new version - new version
- added bz plugin - added bz plugin

View File

@ -1 +1 @@
b532b5f02a3654a2e4f859d84c396990 abrt-0.0.3.tar.gz 630cecef41f67558173486e51236129a abrt-0.0.4.tar.gz