Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37858363
en ru br
Репозитории ALT
S:3.25.90-alt5
5.1: 2.26.2-alt1
4.1: 0.22.1-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:0.22.0

Группа :: Сети/Мгновенные сообщения
Пакет: empathy

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 2.26
%def_disable gtk_doc
%def_disable static

Name: empathy
Version: %ver_major.2
Release: alt1

Summary: High-level library and user-interface for Telepathy
License: GPL/LGPL
Group: Networking/Instant messaging
Url: http://live.gnome.org/Empathy

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2

Conflicts: telepathy-haze-aim

Requires(post,preun): GConf
Requires: libempathy = %version-%release
Requires: libempathy-gtk = %version-%release

Requires: telepathy-gabble
Requires: telepathy-salut
Requires: telepathy-haze
Requires: telepathy-stream-engine

%define intltool_ver 0.35.0
%define glib_ver 2.16.0
%define gtk_ver 2.14.0
%define panel_ver 2.10.0
%define tp_glib_ver 0.7.23
%define mission_control_ver 4.61
%define enchant_ver 1.2.0
%define check_ver 0.9.4
%define iso_codes_ver 0.35
%define notify_ver 0.4.4
%define canberra_ver 0.4

BuildPreReq: intltool >= %intltool_ver gnome-common
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libgnome-panel-devel >= %panel_ver
BuildPreReq: libtelepathy-glib-devel > %tp_glib_ver
BuildPreReq: libtelepathy-mission-control-devel >= %mission_control_ver
BuildPreReq: libenchant-devel >= %enchant_ver
BuildPreReq: libcheck-devel >= %check_ver
BuildPreReq: iso-codes-devel >= %iso_codes_ver
BuildPreReq: libnotify-devel >= %notify_ver
BuildPreReq: libcanberra-devel >= %canberra_ver
BuildPreReq: libtelepathy-farsight-devel
BuildPreReq: GConf libGConf-devel libglade-devel libcheck-devel
BuildPreReq: gstreamer-devel gst-plugins-devel farsight2-devel
BuildPreReq: gnome-doc-utils xsltproc

BuildRequires: db2latex-xsl evolution-data-server-devel gtk-doc
BuildRequires: imake python-module-PyXML python-module-pygobject-devel
BuildRequires: python-module-pygtk-devel python-modules-compiler valgrind xorg-cf-files

%description
Empathy consists of a rich set of reusable instant messaging widgets,
and a GNOME client using those widgets. It uses Telepathy and Nokia's
Mission Control, and reuses Gossip's UI. The main goal is to permit
desktop integration by providing libempathy and libempathy-gtk libraries.
libempathy-gtk is a set of powerful widgets that can be embeded into any
GNOME application.

%package -n libempathy
Summary: Shared library for Empathy
Group: System/Libraries

%description -n libempathy
Shared library for Empathy.

%package -n libempathy-gtk
Summary: Shared library for Empathy
Group: System/Libraries

%description -n libempathy-gtk
Shared library for Empathy.

%package -n libempathy-devel
Summary: Development files for Empathy
Group: Development/C
Requires: libempathy = %version-%release

%description -n libempathy-devel
Development files for Empathy.

%package -n libempathy-gtk-devel
Summary: Development files for Empathy
Group: Development/C
Requires: libempathy-gtk = %version-%release

%description -n libempathy-gtk-devel
Development files for Empathy.

%package -n python-module-empathy
Summary: Python bindings for Empathy
Group: Networking/Instant messaging
Requires: libempathy = %version-%release
Requires: libempathy-gtk = %version-%release

%description -n python-module-empathy
Python bindings for Empathy.

%prep
%setup -q
rm -f m4/libtool.m4 m4/lt*.m4

%build
%autoreconf
export CFLAGS="$CFLAGS `pkg-config --cflags gstreamer-0.10`"
export LDFLAGS="$LDFLAGS `pkg-config --libs gstreamer-0.10`"
%configure \
--disable-schemas-install \
%{subst_enable static} \
%{?_enable_gtk_doc:--enable-gtk-doc} \
--enable-python=yes \
--enable-megaphone=yes \
--enable-nothere=yes \
--enable-tests=yes

%make_build

%install
%make_install DESTDIR=%buildroot install

%find_lang --with-gnome %name

%post
%gconf2_install %name
%gconf2_install GNOME_Megaphone_Applet

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

%files -f %name.lang
%doc AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO
%config %_sysconfdir/gconf/schemas/*
%_bindir/*
%_libdir/bonobo/servers/*
%_libexecdir/megaphone-applet
%_libexecdir/nothere-applet
%_datadir/mission-control/profiles/*.profile
%dir %_datadir/empathy
%_datadir/empathy/*.glade
%_datadir/empathy/*.xsl
%_datadir/empathy/*.dtd
%_datadir/empathy/irc-networks.xml
%_datadir/empathy/GNOME_NotHere_Applet.xml
%_datadir/applications/empathy.desktop
%dir %_datadir/empathy/icons
%dir %_datadir/empathy/icons/hicolor
%dir %_datadir/empathy/icons/hicolor/16x16
%dir %_datadir/empathy/icons/hicolor/16x16/actions
%dir %_datadir/empathy/icons/hicolor/16x16/apps
%dir %_datadir/empathy/icons/hicolor/16x16/status
%dir %_datadir/empathy/icons/hicolor/22x22
%dir %_datadir/empathy/icons/hicolor/22x22/actions
%dir %_datadir/empathy/icons/hicolor/22x22/apps
%dir %_datadir/empathy/icons/hicolor/22x22/status
%dir %_datadir/empathy/icons/hicolor/24x24
%dir %_datadir/empathy/icons/hicolor/24x24/actions
%dir %_datadir/empathy/icons/hicolor/24x24/apps
%dir %_datadir/empathy/icons/hicolor/24x24/status
%dir %_datadir/empathy/icons/hicolor/32x32
%dir %_datadir/empathy/icons/hicolor/32x32/apps
%dir %_datadir/empathy/icons/hicolor/32x32/status
%dir %_datadir/empathy/icons/hicolor/48x48
%dir %_datadir/empathy/icons/hicolor/48x48/apps
%dir %_datadir/empathy/icons/hicolor/48x48/status
%dir %_datadir/empathy/icons/hicolor/scalable
%dir %_datadir/empathy/icons/hicolor/scalable/apps
%dir %_datadir/empathy/icons/hicolor/scalable/status
%_datadir/empathy/icons/hicolor/*/*/*.png
%_datadir/empathy/icons/hicolor/*/*/*.svg
%_datadir/empathy/GNOME_Megaphone_Applet.xml
%_datadir/icons/hicolor/*/apps/*.png
%_datadir/icons/hicolor/*/apps/*.svg
%_man1dir/*

%files -n libempathy
%_libdir/libempathy.so.*

%files -n libempathy-gtk
%_libdir/libempathy-gtk.so.*

%files -n libempathy-devel
%_libdir/libempathy.so
%dir %_includedir/libempathy
%_includedir/libempathy/*.h
%dir %_datadir/gtk-doc/html/libempathy
%_datadir/gtk-doc/html/libempathy/*
%_pkgconfigdir/libempathy.pc

%files -n libempathy-gtk-devel
%_libdir/libempathy-gtk.so
%dir %_includedir/libempathy-gtk
%_includedir/libempathy-gtk/*.h
%dir %_datadir/gtk-doc/html/libempathy-gtk
%_datadir/gtk-doc/html/libempathy-gtk/*
%_pkgconfigdir/libempathy-gtk.pc

%files -n python-module-empathy
%python_sitelibdir/*.so
%python_sitelibdir/*.la

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin