1a6b8c8
Summary:	A Gnome based SIP/H323 teleconferencing application
1a6b8c8
Name:		ekiga
035c5c8
Version:	3.1.0
d247883
Release:	4%{?dist}
1a6b8c8
URL:		http://www.ekiga.org/
257c953
Source0:	ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.0/%{name}-%{version}.tar.bz2
2a30cb3
Patch0:		ekiga-fix-desktop-in.patch
1a6b8c8
License:	GPLv2+
1a6b8c8
Group:		Applications/Communications
1a6b8c8
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1a6b8c8
1a6b8c8
Requires:	evolution-data-server
8284735
Requires:	dbus
f169378
Requires:	GConf2
1a6b8c8
BuildRequires:	gtk2-devel >= 2.12
1a6b8c8
BuildRequires:	GConf2-devel >= 2.2.0
8e691b1
BuildRequires:	libnotify-devel
1a6b8c8
BuildRequires:	avahi-devel >= 0.6.9
1a6b8c8
BuildRequires:	avahi-glib-devel >= 0.6.9
1a6b8c8
BuildRequires:	dbus-glib-devel >= 0.70
1a6b8c8
BuildRequires:	openldap-devel
507c83e
BuildRequires:	openssl-devel
257c953
BuildRequires:	ptlib-devel >= 2.4.1
257c953
BuildRequires:	opal-devel >= 3.4.1
1a6b8c8
BuildRequires:	libxml2-devel >= 2.5.0
8a8a976
BuildRequires:	libXv-devel
1a6b8c8
BuildRequires:	intltool >= 0.22
1a6b8c8
BuildRequires:	pkgconfig
1a6b8c8
BuildRequires:	scrollkeeper
1a6b8c8
BuildRequires:	alsa-lib-devel
1a6b8c8
BuildRequires:	gettext
1a6b8c8
BuildRequires:	evolution-data-server-devel
1a6b8c8
BuildRequires:	gnome-doc-utils >= 0.3.2
1a6b8c8
BuildRequires:	libsigc++20-devel
9caa2c7
BuildRequires:	speex-devel
d247883
#BuildRequires:	gstreamer-devel
d247883
#BuildRequires:	gstreamer-plugins-base-devel
f169378
f169378
Requires(pre):	GConf2
f169378
Requires(post):	GConf2
f169378
Requires(preun):GConf2
f169378
Requires(post):	scrollkeeper
f169378
Requires(postun):scrollkeeper
62d130a
62d130a
%description
1ef53b7
Ekiga is a tool to communicate with video and audio over the internet.
1ef53b7
It uses the standard SIP and H323 protocols.
62d130a
62d130a
%prep
62d130a
%setup -q
2a30cb3
%patch0 -p1 -b .fix-desktop-in
62d130a
62d130a
%build
62d130a
CXXFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED=1 -fPIC"
d247883
%configure --disable-scrollkeeper --enable-xcap
1a6b8c8
make %{?_smp_mflags}
62d130a
62d130a
%install
62d130a
rm -rf $RPM_BUILD_ROOT
62d130a
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
cee73ec
make install DESTDIR=$RPM_BUILD_ROOT
62d130a
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
62d130a
0f04b05
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
62d130a
a788ed2
# Replace identical images in the help by links.
a788ed2
# This reduces the RPM size by several megabytes.
a788ed2
helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
a788ed2
for f in $helpdir/C/figures/*.png; do
a788ed2
  b="$(basename $f)"
a788ed2
  for d in $helpdir/*; do
a788ed2
    if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
a788ed2
      g="$d/figures/$b"
a788ed2
      if [ -f "$g" ]; then
a788ed2
        if cmp -s $f $g; then
a788ed2
          rm "$g"; ln -s "../../C/figures/$b" "$g"
a788ed2
        fi
a788ed2
      fi
a788ed2
    fi
a788ed2
  done
a788ed2
done
a788ed2
83d0acc
%find_lang ekiga --with-gnome
62d130a
62d130a
%clean
62d130a
rm -rf $RPM_BUILD_ROOT
62d130a
f169378
%pre
f169378
if [ "$1" -gt 1 ] ; then
f169378
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
f169378
gconftool-2 --makefile-uninstall-rule \
f169378
%{_sysconfdir}/gconf/schemas/ekiga.schemas > /dev/null || :
f169378
fi
f169378
62d130a
%post
62d130a
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
f169378
gconftool-2 --makefile-install-rule \
f169378
%{_sysconfdir}/gconf/schemas/ekiga.schemas > /dev/null || :
62d130a
f169378
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
f169378
f169378
touch --no-create %{_datadir}/icons/hicolor
f169378
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
f169378
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
f169378
fi
f169378
f169378
%preun
f169378
if [ "$1" -eq 0 ] ; then
f169378
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
f169378
gconftool-2 --makefile-uninstall-rule \
f169378
%{_sysconfdir}/gconf/schemas/ekiga.schemas > /dev/null || :
f169378
fi
f169378
f169378
touch --no-create %{_datadir}/icons/hicolor
f169378
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
f169378
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
f169378
fi
f169378
f169378
%postun
f169378
scrollkeeper-update -q || :
62d130a
62d130a
%files -f ekiga.lang
62d130a
%defattr(-,root,root)
83d0acc
%doc COPYING AUTHORS FAQ NEWS
62d130a
%{_bindir}/ekiga
6f06f4f
%{_bindir}/ekiga-helper
62d130a
%{_bindir}/ekiga-config-tool
3aaf2a9
%{_datadir}/applications/ekiga.desktop
1a6b8c8
%{_datadir}/pixmaps/ekiga
62d130a
%{_datadir}/man/*/*
62d130a
%{_datadir}/sounds/ekiga
1a6b8c8
%{_datadir}/dbus-1/services/org.ekiga.*
1a6b8c8
%{_datadir}/icons/hicolor/*/apps/ekiga.png
62d130a
%{_sysconfdir}/gconf/schemas/ekiga.schemas
62d130a
62d130a
%changelog
d247883
* Tue Jan 13 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-4
d247883
- Disable gstreamer support until there's a new gst-plugins-base
d247883
2a30cb3
* Tue Jan 13 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-3
2a30cb3
- Proper fix from upstream for desktop file
2a30cb3
3aaf2a9
* Wed Jan  7 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-2
3aaf2a9
- Fix issues with the desktop file
3aaf2a9
035c5c8
* Mon Jan  5 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-1
035c5c8
- Upgrade to the 3.1.0 devel release, enable gstreamer and xcap, remove libgnome
035c5c8
b84989d
* Mon Nov 13 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.1-4
b84989d
- Fix spec file error
b84989d
b84989d
* Mon Nov 13 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.1-3
b84989d
- Patch to fix libnotify's breakage of its api
b84989d
9caa2c7
* Mon Oct 20 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.1-2
9caa2c7
- Fix dependency issue
9caa2c7
2ed17c8
* Mon Oct 20 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.1-1
2ed17c8
- Update to 3.0.1
2ed17c8
f169378
* Thu Oct 9 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.0-5
f169378
- Remove gnomemeeting obsolete, package review updates
f169378
a788ed2
* Thu Oct 9 2008 Matthias Clasen  <mclasen@redhat.com> - 3.0.0-4
a788ed2
- Save some space
a788ed2
8284735
* Thu Oct 2 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.0-3
8284735
- require dbus
8284735
8e691b1
* Tue Sep 23 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.0-2
8e691b1
- add libnotify-devel as a build dep
8e691b1
257c953
* Tue Sep 23 2008 Peter Robinson <pbrobinson@gmail.com> - 3.0.0-1
257c953
- Ekiga 3 final release
257c953
507c83e
* Sun Sep 14 2008 Peter Robinson <pbrobinson@gmail.com> - 2.9.90-3
507c83e
- more rawhide build fixes
507c83e
8a8a976
* Sun Sep 14 2008 Peter Robinson <pbrobinson@gmail.com> - 2.9.90-2
8a8a976
- rawhide build fixes
8a8a976
1a6b8c8
* Thu Sep 11 2008 Peter Robinson <pbrobinson@gmail.com> - 2.9.90-1
1a6b8c8
- First beta of ekiga 3
1a6b8c8
4a452cc
* Mon May 12 2008 Paul W. Frields <stickster@gmail.com> - 2.0.12-2
4a452cc
- Rebuild against new opal (#441202)
4a452cc
907751b
* Thu Mar 13 2008 Daniel Veillard <veillard@redhat.com> - 2.0.12-1.fc9
907751b
- Upgrade to ekiga-2.0.12
907751b
83d0acc
* Thu Feb 28 2008 Daniel Veillard <veillard@redhat.com> - 2.0.11-4
83d0acc
- rebuild after applying some fo the cleanups of #160727
83d0acc
be0a175
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.11-3
be0a175
- Autorebuild for GCC 4.3
be0a175
6f06f4f
* Thu Dec 13 2007 Matěj Cepl <mcepl@redhat.com> 2.0.11-2
6f06f4f
- compile with the D-Bus support
6f06f4f
- Making rpmlint silent.
6f06f4f
9f332b1
* Tue Sep 18 2007 Daniel Veillard <veillard@redhat.com> - 2.0.11-1
9f332b1
- Upgrade to ekiga-2.0.11
9f332b1
9f332b1
* Sun Apr 15 2007 Daniel Veillard <veillard@redhat.com> - 2.0.9-1
b5c2bcd
- Upgrade to ekiga-2.0.9
b5c2bcd
f5258a4
* Mon Mar 12 2007 Daniel Veillard <veillard@redhat.com> - 2.0.7-1
f5258a4
- Upgrade to ekiga-2.0.7
f5258a4
8d5033a
* Mon Feb 19 2007 Jeremy Katz <katzj@redhat.com> - 2.0.5-2
8d5033a
- rebuild 
8d5033a
5eead23
* Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> - 2.0.5-1
5eead23
- Upgrade to ekiga-2.0.5
5eead23
d6d204f
* Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> - 2.0.4-1
d6d204f
- Upgrade to ekiga-2.0.4
d6d204f
d6d204f
* Thu Nov  2 2006 Daniel Veillard <veillard@redhat.com> - 2.0.3-3
5cd93db
- Resolves: rhbz#201535
5cd93db
- fixes build-requires for opal-devel and pwlib-devel
5cd93db
754ae42
* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 2.0.3-2
754ae42
- Rebuild against evolution-data-server 1.9
754ae42
4cf4f5f
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.0.3-1
4cf4f5f
- Update to 2.0.3
4cf4f5f
090c1a5
* Sat Sep 30 2006 Matthias Clasen <mclasen@redhat.com> - 2.0.2-7
090c1a5
- Make the status icon work in transparent panels
0d33dd5
f565ba7
* Thu Aug 31 2006 Matthias Clasen <mclasen@redhat.com> - 2.0.2-6
f565ba7
- Fix translator credits (197871)
f565ba7
ad9b73b
* Mon Aug  7 2006 Matthew Barnes <mbarnes@redhat.com> - 2.0.2-5
ad9b73b
- Rebuild against evolution-data-server-1.7.91
ad9b73b
57cc587
* Sat Aug  5 2006 Caolan McNamara <caolanm@redhat.com> - 2.0.2-4
57cc587
- rebuild against new e-d-s
57cc587
edeb15f
* Tue Aug  1 2006 Daniel Veillard <veillard@redhat.com> - 2.0.2-3
edeb15f
- rebuilt for #200960
edeb15f
651f729
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.0.2-1.1
651f729
- rebuild
651f729
1ef53b7
* Wed May 31 2006 Daniel Veillard <veillard@redhat.com> - 2.0.2-1
1ef53b7
- new release of ekiga 2.0.2
1ef53b7
- activating Zeroconf support though avahi
1ef53b7
a9decdf
* Mon May 22 2006 Jesse Keating <jkeating@redhat.com> - 2.0.1-3
a9decdf
- Fix BuildRequires and Requires(post), Requires(postun)
a9decdf
8a27516
* Wed Mar 15 2006 Daniel Veillard <veillard@redhat.com> - 2.0.1-2
6f06f4f
- run 'ekiga-config-tool --install-schemas' in %%post, c.f. #178929
8a27516
8a27516
* Tue Mar 14 2006 Daniel Veillard <veillard@redhat.com> - 2.0.1-1
ee2f18e
- last minute bug rerelease 2.0.1
ee2f18e
8a27516
* Mon Mar 13 2006 Daniel Veillard <veillard@redhat.com> - 2.0.0-1
067b99a
- final release of 2.0.0
067b99a
eb34bcb
* Mon Feb 20 2006 Karsten Hopp <karsten@redhat.de> 1.99.1-2
eb34bcb
- Buildrequires: gnome-doc-utils
eb34bcb
283e54e
* Mon Feb 13 2006 Daniel Veillard <veillard@redhat.com> - 1.99.1-1
283e54e
- new beta release issued
283e54e
1ea8387
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.99.0-3.2
1ea8387
- bump again for double-long bug on ppc(64)
1ea8387
2cf44ac
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.99.0-3.1
2cf44ac
- rebuilt for new gcc4.1 snapshot and glibc changes
2cf44ac
1f3e7da
* Sat Jan 28 2006 Daniel Veillard <veillard@redhat.com> - 1.99.0-3
1f3e7da
- Rebuilt following a libedataserver revision
1f3e7da
d89d9ed
* Fri Jan 27 2006 Matthias Clasen <mclasen@redhat.com> - 1.99.0-2
d89d9ed
- Use the upstream .desktop file
d89d9ed
62d130a
* Tue Jan 24 2006 Daniel Veillard <veillard@redhat.com> - 1.99.0-1
62d130a
- initial version based on the 1.99.0 beta and gnomemeeting spec file.