libreport/libreport.spec

523 lines
16 KiB
RPMSpec
Raw Normal View History

2011-06-16 11:39:51 +00:00
%{!?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: Generic library for reporting various problems
Name: libreport
2012-03-26 13:53:15 +00:00
Version: 2.0.10
Release: 3%{?dist}
2011-06-16 11:39:51 +00:00
License: GPLv2+
Group: System Environment/Libraries
URL: https://fedorahosted.org/abrt/
Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
2012-04-02 11:19:06 +00:00
Patch0: 0001-Add-cgroup-information-filename.patch
Patch1: 0001-rhbz795548-opt-out-smolt.patch
Patch2: 0001-fixed-memory-leak-in-comment-dup.patch
Patch3: 0001-rhbz-820985-bz-4.2-doesn-t-have-bug_id-member-it-s-i.patch
Patch4: 0002-bugzilla-query-bz-version-and-for-4.2-use-id-element.patch
2011-06-16 11:39:51 +00:00
BuildRequires: dbus-devel
BuildRequires: gtk2-devel
2011-06-16 11:39:51 +00:00
BuildRequires: curl-devel
BuildRequires: desktop-file-utils
BuildRequires: xmlrpc-c-devel
BuildRequires: python-devel
BuildRequires: gettext
BuildRequires: libxml2-devel
BuildRequires: libtar-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: nss-devel
BuildRequires: texinfo
BuildRequires: asciidoc
BuildRequires: xmlto
2011-07-18 14:26:55 +00:00
BuildRequires: newt-devel
2011-12-07 09:27:55 +00:00
BuildRequires: libproxy-devel
Requires: libreport-filesystem
2011-07-18 14:26:55 +00:00
# required for update from old report library, otherwise we obsolete report-gtk
# and all it's plugins, but don't provide the python bindings and the sealert
# end-up with: can't import report.GtkIO
# FIXME: can be removed when F15 will EOLed, needs to stay in rhel6!
2011-10-03 08:22:02 +00:00
Requires: libreport-python = %{version}-%{release}
2011-06-16 11:39:51 +00:00
# for rhel6
%if 0%{?rhel} >= 6
BuildRequires: gnome-keyring-devel
%else
BuildRequires: libgnome-keyring-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Libraries providing API for reporting different problems in applications
to different bug targets like Bugzilla, ftp, trac, etc...
2011-12-07 09:27:55 +00:00
%package filesystem
Summary: Filesystem layout for libreport
Group: Applications/File
%description filesystem
Filesystem layout for libreport
2011-06-16 11:39:51 +00:00
%package devel
Summary: Development libraries and headers for libreport
Group: Development/Libraries
Requires: libreport = %{version}-%{release}
%description devel
Development libraries and headers for libreport
2011-07-18 14:26:55 +00:00
%package python
Summary: Python bindings for report-libs
# Is group correct here? -
Group: System Environment/Libraries
Requires: libreport = %{version}-%{release}
2012-03-26 13:53:15 +00:00
Provides: report = 0:0.23-1
Obsoletes: report < 0:0.23-1
2011-07-18 14:26:55 +00:00
# in report the rhtsupport is in the main package, so we need to install it too
%if 0%{?rhel} >= 6
Requires: libreport-plugin-rhtsupport
%endif
%description python
Python bindings for report-libs.
2011-06-16 11:39:51 +00:00
%package cli
Summary: %{name}'s command line interface
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
%description cli
This package contains simple command line tool for working
with problem dump reports
2011-07-18 14:26:55 +00:00
%package newt
Summary: %{name}'s newt interface
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
2012-03-26 13:53:15 +00:00
Provides: report-newt = 0:0.23-1
Obsoletes: report-newt < 0:0.23-1
2011-07-18 14:26:55 +00:00
%description newt
This package contains a simple newt application for reporting
bugs
2011-06-16 11:39:51 +00:00
%package gtk
Summary: GTK front-end for libreport
Group: User Interface/Desktops
Requires: libreport = %{version}-%{release}
2012-03-26 13:53:15 +00:00
Provides: report-gtk = 0:0.23-1
Obsoletes: report-gtk < 0:0.23-1
2011-06-16 11:39:51 +00:00
%description gtk
Applications for reporting bugs using libreport backend
%package gtk-devel
Summary: Development libraries and headers for libreport
Group: Development/Libraries
Requires: libreport-gtk = %{version}-%{release}
%description gtk-devel
Development libraries and headers for libreport-gtk
2011-07-18 14:26:55 +00:00
%package plugin-kerneloops
Summary: %{name}'s kerneloops reporter plugin
Group: System Environment/Libraries
Requires: curl
Requires: %{name} = %{version}-%{release}
%description plugin-kerneloops
This package contains plugin which sends kernel crash information to specified
server, usually to kerneloops.org.
%package plugin-logger
Summary: %{name}'s logger reporter plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-logger < 2.0.4
2012-03-26 13:53:15 +00:00
Provides: report-plugin-localsave = 0:0.23-1
Obsoletes: report-plugin-localsave < 0:0.23-1
Provides: report-config-localsave = 0:0.23-1
Obsoletes: report-config-localsave < 0:0.23-1
2011-07-18 14:26:55 +00:00
%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
Obsoletes: abrt-plugin-mailx < 2.0.4
%description plugin-mailx
The simple reporter plugin which sends a report via mailx to a specified
email address.
%package plugin-bugzilla
Summary: %{name}'s bugzilla plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-bugzilla < 2.0.4
2012-03-26 13:53:15 +00:00
Provides: report-plugin-bugzilla = 0:0.23-1
Obsoletes: report-plugin-bugzilla < 0:0.23-1
Provides: report-config-bugzilla-redhat-com = 0:0.23-1
Obsoletes: report-config-bugzilla-redhat-com < 0:0.23-1
2011-07-18 14:26:55 +00:00
2011-11-04 13:16:15 +00:00
%package plugin-bodhi
Summary: %{name}'s bodhi plugin
BuildRequires: json-c-devel
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: PackageKit
2011-12-07 09:27:55 +00:00
BuildRequires: rpm-devel
2011-11-04 13:16:15 +00:00
%description plugin-bodhi
Search for a new updates in bodhi server
2011-07-18 14:26:55 +00:00
%description plugin-bugzilla
Plugin to report bugs into the bugzilla.
%package plugin-rhtsupport
Summary: %{name}'s RHTSupport plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-rhtsupport < 2.0.4
%description plugin-rhtsupport
Plugin to report bugs into RH support system.
2011-10-03 08:22:02 +00:00
%package compat
Summary: %{name}'s compat layer for obsoleted 'report' package
Group: System Environment/Libraries
Requires: %{name}-plugin-bugzilla
Requires: %{name}-plugin-rhtsupport
%description compat
Provides 'report' command-line tool.
2011-07-18 14:26:55 +00:00
%package plugin-reportuploader
Summary: %{name}'s reportuploader plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-reportuploader < 2.0.4
2012-03-26 13:53:15 +00:00
Provides: report-plugin-ftp = 0:0.23-1
Obsoletes: report-plugin-ftp < 0:0.23-1
Provides: report-config-ftp = 0:0.23-1
Obsoletes: report-config-ftp < 0:0.23-1
Provides: report-plugin-scp = 0:0.23-1
Obsoletes: report-plugin-scp < 0:0.23-1
Provides: report-config-scp = 0:0.23-1
Obsoletes: report-config-scp < 0:0.23-1
2011-07-18 14:26:55 +00:00
%description plugin-reportuploader
Plugin to report bugs into anonymous FTP site associated with ticketing system.
2011-06-16 11:39:51 +00:00
%prep
%setup -q
2012-04-02 11:19:06 +00:00
%patch0 -p1 -b .cgroups
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
2011-06-16 11:39:51 +00:00
%build
autoconf
%configure
2011-06-16 11:39:51 +00:00
CFLAGS="-fno-strict-aliasing"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%find_lang %{name}
# 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/%{_sysconfdir}/%{name}/events.d/
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/events/
# After everything is installed, remove info dir
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%clean
rm -rf $RPM_BUILD_ROOT
2011-11-04 13:16:15 +00:00
%check
make check
2011-06-16 11:39:51 +00:00
%post gtk
/sbin/ldconfig
# update icon cache
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun gtk
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans gtk
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README COPYING
%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
2012-03-26 13:53:15 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
2011-06-16 11:39:51 +00:00
%{_libdir}/libreport.so.*
%{_libdir}/libabrt_dbus.so.*
2011-07-18 14:26:55 +00:00
%{_libdir}/libabrt_web.so.*
%exclude %{_libdir}/libabrt_web.so
2011-10-03 08:22:02 +00:00
%{_mandir}/man5/report_event.conf.5*
2011-06-16 11:39:51 +00:00
2011-12-07 09:27:55 +00:00
%files filesystem
%defattr(-,root,root,-)
%dir %{_sysconfdir}/%{name}/
%dir %{_sysconfdir}/%{name}/events.d/
%dir %{_sysconfdir}/%{name}/events/
%dir %{_sysconfdir}/%{name}/plugins/
2011-06-16 11:39:51 +00:00
%files devel
%defattr(-,root,root,-)
2011-06-20 12:26:40 +00:00
# Public api headers:
2011-07-18 14:26:55 +00:00
%{_includedir}/libreport/client.h
2011-06-16 11:39:51 +00:00
%{_includedir}/libreport/dump_dir.h
%{_includedir}/libreport/event_config.h
%{_includedir}/libreport/problem_data.h
%{_includedir}/libreport/report.h
%{_includedir}/libreport/run_event.h
2011-06-20 12:26:40 +00:00
# Private api headers:
%{_includedir}/libreport/internal_abrt_dbus.h
%{_includedir}/libreport/internal_libreport.h
2011-06-16 11:39:51 +00:00
%{_libdir}/libreport.so
%{_libdir}/libabrt_dbus.so
%{_libdir}/pkgconfig/libreport.pc
%dir %{_includedir}/libreport
2011-07-18 14:26:55 +00:00
%files python
%defattr(-,root,root,-)
%{python_sitearch}/report/*
2011-07-21 17:35:08 +00:00
%{python_sitearch}/reportclient/*
2011-07-18 14:26:55 +00:00
2011-06-16 11:39:51 +00:00
%files cli
%defattr(-,root,root,-)
%{_bindir}/report-cli
%{_mandir}/man1/report-cli.1.gz
2011-07-18 14:26:55 +00:00
%files newt
%defattr(-,root,root,-)
%{_bindir}/report-newt
2011-06-16 11:39:51 +00:00
%files gtk
%defattr(-,root,root,-)
%{_bindir}/report-gtk
%{_libdir}/libreport-gtk.so.*
%files gtk-devel
%defattr(-,root,root,-)
%{_libdir}/libreport-gtk.so
2011-07-18 14:26:55 +00:00
%{_includedir}/libreport/internal_libreport_gtk.h
2011-06-16 11:39:51 +00:00
%{_libdir}/pkgconfig/libreport-gtk.pc
2011-07-18 14:26:55 +00:00
%files plugin-kerneloops
%defattr(-,root,root,-)
%{_sysconfdir}/libreport/events/report_Kerneloops.xml
%{_mandir}/man*/reporter-kerneloops.*
%{_bindir}/reporter-kerneloops
%files plugin-logger
%defattr(-,root,root,-)
%{_sysconfdir}/libreport/events/report_Logger.conf
2011-07-21 17:35:08 +00:00
%{_sysconfdir}/libreport/events/report_Logger.xml
2011-07-18 14:26:55 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/print_event.conf
%{_bindir}/reporter-print
%{_mandir}/man*/reporter-print.*
%files plugin-mailx
%defattr(-,root,root,-)
2012-03-26 13:53:15 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf
2011-07-18 14:26:55 +00:00
%{_sysconfdir}/libreport/events/report_Mailx.xml
%config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf
%{_mandir}/man*/reporter-mailx.*
%{_bindir}/reporter-mailx
2011-11-04 13:16:15 +00:00
%files plugin-bodhi
%defattr(-,root,root,-)
%{_bindir}/abrt-bodhi
2011-12-07 09:27:55 +00:00
%{_mandir}/man1/abrt-bodhi.1.gz
2011-11-04 13:16:15 +00:00
2011-07-18 14:26:55 +00:00
%files plugin-bugzilla
%defattr(-,root,root,-)
2011-10-03 08:22:02 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla.conf
2011-07-18 14:26:55 +00:00
%{_sysconfdir}/libreport/events/report_Bugzilla.xml
%config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
2011-07-18 14:26:55 +00:00
# FIXME: remove with the old gui
%{_mandir}/man1/reporter-bugzilla.1.gz
%{_bindir}/reporter-bugzilla
%files plugin-rhtsupport
%defattr(-,root,root,-)
2011-10-03 08:22:02 +00:00
%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
2011-07-18 14:26:55 +00:00
%{_sysconfdir}/libreport/events/report_RHTSupport.xml
%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
2011-10-03 08:22:02 +00:00
%{_mandir}/man1/reporter-rhtsupport.1.gz
2011-07-18 14:26:55 +00:00
%{_bindir}/reporter-rhtsupport
2011-10-03 08:22:02 +00:00
%files compat
%defattr(-,root,root,-)
%{_bindir}/report
%{_mandir}/man1/report.1.gz
2011-07-18 14:26:55 +00:00
%files plugin-reportuploader
%defattr(-,root,root,-)
%{_mandir}/man*/reporter-upload.*
%{_bindir}/reporter-upload
2011-10-03 08:22:02 +00:00
%{_sysconfdir}/libreport/events/report_Uploader.xml
%config(noreplace) %{_sysconfdir}/libreport/events.d/uploader_event.conf
2011-07-18 14:26:55 +00:00
2011-06-16 11:39:51 +00:00
%changelog
* Mon May 14 2012 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.10-3
- fixed compatibility with bugzilla 4.2
2012-05-14 16:46:56 +00:00
- Resolved: #820985, #795548
2012-04-02 11:19:06 +00:00
* Mon Apr 02 2012 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.10-2
- added cgroups filename define
2012-03-26 13:53:15 +00:00
* Tue Mar 26 2012 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.10-1
- updated to latest upstream
2012-01-23 15:25:17 +00:00
* Mon Jan 23 2012 Dan Horák <dan@danny.cz> - 2.0.8-6
- rebuilt for json-c-0.9-4.fc17
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Dec 20 2011 Nikola Pajkovsky <npajkovs@redhat.com> 2.0.8-4
- 768647 - [abrt] libreport-plugin-bugzilla-2.0.8-3.fc16: libreport_xatou:
Process /usr/bin/reporter-bugzilla was killed by signal 11 (SIGSEGV)
2011-12-09 09:28:04 +00:00
* Fri Dec 09 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.8-3
- fixed few crashes in bodhi plugin
* Thu Dec 08 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.8-2
- fixed crash in bodhi plugin
- re-upload better backtrace if available
- fixed dupe finding for selinux
- don't duplicate comments in bugzilla
- fixed problem with empty release
2011-12-07 09:27:55 +00:00
* Tue Dec 06 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.8-1
- new version
- added bodhi plugin rhbz#655783
- one tab per file on details page rhbz#751833
- search box search thru all data (should help with privacy) rhbz#748457
- fixed close button position rhbz#741230
- rise the attachment limit to 4kb rhbz#712602
- fixed make check (rpath problem)
- save chnages in editable lines rhbz#710100
- ignore backup files rhbz#707959
- added support for proxies rhbz#533652
- Resolves: 753183 748457 737991 723219 712602 711986 692274 636000 631856 655783 741257 748457 741230 712602 753183 748457 741230 712602 710100 707959 533652
2011-11-05 11:30:25 +00:00
* Sat Nov 05 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.7-2
- bumped release
2011-11-04 13:16:15 +00:00
* Fri Nov 04 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.7-1
- new version
- added support for bodhi (preview)
- dropped unused patches
- reporter-bugzilla/rhts: add code to prevent duplicate reporting. Closes rhbz#727494 (dvlasenk@redhat.com)
- wizard: search thru all items + tabbed details rhbz#748457 (jmoskovc@redhat.com)
- wizard: add "I don't know what caused this problem" checkbox. Closes rhbz#712508 (dvlasenk@redhat.com)
- reporter-bugzilla: add optional 'Product' parameter. Closes rhbz#665210 (dvlasenk@redhat.com)
- rhbz#728190 - man pages contain suspicious version string (npajkovs@redhat.com)
- reporter-print: expand leading ~/ if present. Closes rhbz#737991 (dvlasenk@redhat.com)
- reporter-rhtsupport: ask rs/problems endpoint before creating new case. (working on rhbz#677052) (dvlasenk@redhat.com)
- reporter-mailx: use Bugzilla's output format. Closes rhbz#717321. (dvlasenk@redhat.com)
- report-newt: add option to display version (rhbz#741590) (mlichvar@redhat.com)
- Resolves: #727494 #748457 #712508 #665210 rhbz#728190 #737991 #677052 #717321 #741590
* Fri Oct 07 2011 Nikola Pajkovsky <npajkovs@redhat.com> 2.0.6-2
- refuse reporting when not reportable file exist
2011-10-03 08:22:02 +00:00
* Mon Oct 03 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.6-1
- updated to the latest upstrem
- just a bug fixing release
* Mon Sep 26 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5.982-1
- re-fix rhbz#730887
2011-12-09 09:28:04 +00:00
- re-fixed prgname (nice icons in gnome3) rhbz#741231
2011-10-03 08:22:02 +00:00
- Resolves: #741231 #730887
* Thu Sep 22 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-9
- don't allow sending reports with bad rating rhbz#672023
- don't allow reporting without duphash rhbz#739182
- tell users to fill out reports in English rhbz#734037
- fixed config for kerneloops reporter rhbz#731189
- Resolves: #672023 #739182 #734037 #731189
* Fri Sep 09 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-8
- allow bugzilla to send binary files
- Related: #733448
* Tue Aug 30 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-7
- added glob support to event xml files
- changed handling of long text files
- added a simple editor as a fallback when no editor is installed (i.e in anaconda) rhbz#728479
- Resolves: #733448 #728479
* Tue Aug 16 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-6
- improved release parsing rhbz#730887
- Resolves: #730887
* Fri Aug 12 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-5
- more anaconda fixes
- Resolves: #729537
* Tue Aug 02 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-4
- silent keyring warning rhbz#692433
- further improvements to Anaconda compatibility
* Fri Jul 29 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-3
- enable bugzilla reporter for analyzer=libreport rhbz#725970
- improved compatibility with anaconda
2011-07-21 17:35:08 +00:00
* Thu Jul 21 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-2
- obsolete report in rawhide properly rhbz#723320
- added button to add attachments
- ignore backup files
- improved support for interactive plugins
- added description text for logger
- added python bindings for interactive plugins
- Resolves: #723320
2011-07-18 14:26:55 +00:00
* Mon Jul 18 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.5-1
- move reporter plugins from abrt to libreport
- fixed provides/obsolete to properly obsolete report package
- wizard: make more fields editable
* Mon Jul 11 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.4-3
- bump release
2011-06-27 08:40:29 +00:00
* Mon Jun 27 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.4-2
- removed Provides/Obsoletes: report-gtk
* Mon Jun 20 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.4-1
2011-06-20 12:26:40 +00:00
- new upstream release
- cleaned some header files
2011-06-16 11:41:58 +00:00
* Thu Jun 16 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.3-1
- added report-cli
- updated translation
2011-06-16 11:39:51 +00:00
* Wed Jun 01 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.2-1
- initial packaging