Blob Blame Raw
Summary: A Gnome based SIP/H323 teleconferencing application
Name: ekiga
Version: 1.99.0
Release: 1
URL: http://www.ekiga.org/
Source0: http://www.ekiga.org/ekiga-%{version}.tar.gz
License: GPL
Group: Applications/Communications
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: pwlib >= 1.9.2
Requires: opal >= 2.1
Requires: GConf2 >= 1.2.1
Requires: libgnomeui >= 2.0
Requires: libgnome >= 2.0
Requires: evolution-data-server
PreReq:    scrollkeeper
BuildRequires: gtk2-devel >= 2.0.0
BuildRequires: GConf2-devel >= 1.2.1
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libgnome-devel >= 2.0
BuildRequires: openldap-devel
BuildRequires: pwlib-devel >= 1.9.2
BuildRequires: opal-devel >= 2.1
BuildRequires: libxml2-devel >= 2.5.0
BuildRequires: SDL-devel
BuildRequires: intltool >= 0.22
BuildRequires: pkgconfig
BuildRequires: scrollkeeper
BuildRequires: alsa-lib-devel
BuildRequires: gettext
BuildRequires: evolution-data-server-devel
Obsoletes: gnomemeeting

%description
GnomeMeeting is a tool to communicate with video and audio over the internet.
It uses the the standard SIP and H323 protocols.

%prep
%setup -q
# %patch1 -p1 -b .gcc41

%build
CXXFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED=1 -fPIC"
# We disable howl for now, waiting for ekiga 2.0 to ship with avahi support
%configure --disable-avahi
make

%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

rm -rf $RPM_BUILD_ROOT/var/scrollkeeper

%find_lang ekiga

rm $RPM_BUILD_ROOT%{_datadir}/applications/ekiga.desktop
ln -s %{_datadir}/desktop-menu-patches/redhat-ekiga.desktop $RPM_BUILD_ROOT%{_datadir}/applications/redhat-ekiga.desktop 

%clean
rm -rf $RPM_BUILD_ROOT

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/ekiga.schemas > /dev/null 2>&1
gconftool-2 --shutdown
scrollkeeper-update

%postun
scrollkeeper-update

%files -f ekiga.lang
%defattr(-,root,root)
%{_bindir}/ekiga
%{_bindir}/ekiga-config-tool
%{_libdir}/bonobo/servers/ekiga.server
%{_datadir}/applications/redhat-ekiga.desktop
%{_datadir}/gnome/help/ekiga
#%{_datadir}/omf/ekiga
%{_datadir}/pixmaps/*
%{_datadir}/man/*/*
%{_datadir}/sounds/ekiga
#%{_datadir}/ekiga
%{_sysconfdir}/gconf/schemas/ekiga.schemas

%changelog
* Tue Jan 24 2006 Daniel Veillard <veillard@redhat.com> - 1.99.0-1
- initial version based on the 1.99.0 beta and gnomemeeting spec file.