Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042521
en ru br
ALT Linux repos
S:0.32-alt4.git20090422.1
5.0: 0.31-alt2
4.1: 0.28-alt2
4.0: 0.17-alt1.1
3.0: 0.8-alt3

Other repositories
Upstream:0.28

Group :: Networking/Instant messaging
RPM: gossip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gossip
Version: 0.28
Release: alt2

%def_enable dbus
%def_enable libnotify
%def_enable galago

Summary: Jabber client for GNOME
Group: Networking/Instant messaging
License: GPL
URL: http://developer.imendio.com/projects/gossip/

%define loudmouth_version 1.2.2
%define libxml2_version 2.6.16
%define glib_version 2.12.0
%define gtk_version 2.10.0
%define gconf_version 1.2.0
%define panel_version 2.10.0
%define dbus_version 0.61
%define galago_version 0.5.0
%define libnotify_version 0.4.1
%define libglade_version 2.0.0
%define libgnome_version 2.0.0
%define gnome_vfs_version 2.0.0

Requires(post,postun): scrollkeeper

Requires: libloudmouth >= %loudmouth_version
Requires: libxml2 >= %libxml2_version
Requires: glib2 >= %glib_version
Requires: libgtk+2 >= %gtk_version
Requires: libGConf2 >= %gconf_version
Requires: libglade >= %libglade_version
Requires: libgnome >= %libgnome_version
Requires: gnome-vfs >= %gnome_vfs_version

Source0: %name-%version.tar.bz2

# For macros

BuildPreReq: GConf

# from configure.in

BuildPreReq: desktop-file-utils >= 0.2.90
BuildPreReq: libloudmouth-devel >= %loudmouth_version
BuildPreReq: libxml2-devel >= %libxml2_version
BuildPreReq: glib2-devel >= %glib_version
BuildPreReq: libgtk+2-devel >= %gtk_version
BuildPreReq: libGConf-devel >= %gconf_version
BuildPreReq: libgnome-panel-devel >= %panel_version
BuildPreReq: libglade-devel >= %libglade_version
BuildPreReq: libgnome-devel >= %libgnome_version
BuildPreReq: gnome-vfs-devel >= %gnome_vfs_version

%if_enabled dbus
Requires: libdbus >= %dbus_version
BuildPreReq: libdbus-devel >= %dbus_version
# configure script is broken in this place :)
#Requires: libdbus-glib >= %dbus_version
#BuildRequires: libdbus-glib-devel >= %dbus_version
%endif

%if_enabled libnotify
BuildPreReq: libnotify-devel >= %libnotify_version
Requires: libnotify >= %libnotify_version
%endif

%if_enabled galago
BuildPreReq: libgalago-devel >= %galago_version
Requires: libgalago >= %galago_version
%endif

# Automatically added by buildreq on Tue Jun 19 2007

BuildRequires: common-licenses docbook-dtds gcc-c++ GConf gnome-doc-utils imake libavahi-glib libgalago-devel libgnome-panel-devel libidn-devel libloudmouth-devel libnotify-devel libSM-devel libXScrnSaver-devel perl-XML-Parser xorg-cf-files

%description
Gossip is an instant messaging program for GNOME.
Gossip aims at making Instant Messaging with Jabber as easy as possible,
while giving users of the GNOME Desktop a user friendly way of keeping
in touch with their friends.

%package peekaboo
Summary: Peekaboo applet for Gossip
Group: Networking/Instant messaging
Requires: %name = %version-%release
Requires: libgnome-panel >= %panel_version

%description peekaboo
An applet to quickly show Gossip chat windows and some of the
more popular functions of Instant Messaging.

%prep
%setup -q
rm -f COPYING
ln -s %_licensedir/GPL-2 COPYING
bzip2 -9k ChangeLog

%build
intltoolize --force
gnome-doc-prepare --copy --force
%autoreconf
%configure \
%{subst_enable dbus} \
%{subst_enable libnotify} \
%{subst_enable galago} \
--disable-schemas-install \
--disable-scrollkeeper
%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make_install DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%find_lang --with-gnome %name

%post
%gconf2_install %name
%update_scrollkeeper
%update_menus

%preun
if [ $1 = 0 ]; then
   %gconf2_uninstall %name
fi

%postun
%clean_scrollkeeper
%clean_menus

%files -f %name.lang
%doc AUTHORS ChangeLog.bz2 NEWS README
%doc --no-dereference COPYING
%_bindir/*
%_datadir/%name
%_datadir/applications/*
%_datadir/icons/hicolor/*/apps/*
%_datadir/sounds/*
%config(noreplace) %_sysconfdir/sound/events/gossip.soundlist
%_sysconfdir/gconf/schemas/*

%if_enabled dbus
%if_enabled galago
%files peekaboo
%_libexecdir/peekaboo-applet
%_libdir/bonobo/servers/*
%endif
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin