1a6b8c8
Summary:	A Gnome based SIP/H323 teleconferencing application
1a6b8c8
Name:		ekiga
ed2f122
Version:	3.2.6
d8d61d9
Release:	2%{?dist}
1a6b8c8
URL:		http://www.ekiga.org/
be4d7ad
Source0:	ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.1/%{name}-%{version}.tar.bz2
d8d61d9
Patch0:         ekiga-fixdso.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
19b452b
BuildRequires:	gtk2-devel
19b452b
BuildRequires:	GConf2-devel
8e691b1
BuildRequires:	libnotify-devel
19b452b
BuildRequires:	avahi-devel
19b452b
BuildRequires:	avahi-glib-devel
19b452b
BuildRequires:	dbus-glib-devel
1a6b8c8
BuildRequires:	openldap-devel
507c83e
BuildRequires:	openssl-devel
ed2f122
BuildRequires:	ptlib-devel = 2.6.5
ed2f122
BuildRequires:	opal-devel = 3.6.6
19b452b
BuildRequires:	libxml2-devel
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
19b452b
BuildRequires:	desktop-file-utils
1a6b8c8
BuildRequires:	libsigc++20-devel
9caa2c7
BuildRequires:	speex-devel
a7f6c04
BuildRequires:	expat-devel
a9c8928
BuildRequires:	SDL-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
d8d61d9
%patch0 -p1 -b .fixdso
62d130a
c8d456c
# force regeneration to drop translations
c8d456c
rm ekiga.schemas
c8d456c
62d130a
%build
62d130a
CXXFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED=1 -fPIC"
94242b4
%configure --disable-scrollkeeper
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
19b452b
desktop-file-install --vendor gnome \
19b452b
  --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
19b452b
  --delete-original \
19b452b
  --copy-generic-name-to-name \
19b452b
  $RPM_BUILD_ROOT%{_datadir}/applications/ekiga.desktop
19b452b
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
94242b4
%{_datadir}/applications/gnome-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
d8d61d9
* Wed Mar  3 2010 Peter Robinson <pbrobinson@gmail.com> - 3.2.6-2
d8d61d9
- Add patch to fix DSO linking. Bug 564828
d8d61d9
ed2f122
* Tue Sep 22 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.6-1
ed2f122
- Ekiga 3.2.6 stable - Changelog
ed2f122
  ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.2/ekiga-3.2.6.news
ed2f122
0cd2f6d
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 3.2.5-4
0cd2f6d
- rebuilt with new openssl
0cd2f6d
acb368d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.5-3
acb368d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
acb368d
c8d456c
* Thu Jul  9 2009 Matthias Clasen <mclasen@redhat.com> - 3.2.5-2
c8d456c
- Shrink GConf schemas
c8d456c
 
cd9b08b
* Mon Jul  6 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.5-1
cd9b08b
- Ekiga 3.2.5 stable - Changelog
cd9b08b
  ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.2/ekiga-3.2.5.news
cd9b08b
9031ee6
* Wed May 20 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.4-1
9031ee6
- Ekiga 3.2.4 stable - Changelog
9031ee6
  http://mail.gnome.org/archives/ekiga-devel-list/2009-May/msg00062.html
9031ee6
  http://mail.gnome.org/archives/ekiga-devel-list/2009-May/msg00064.html
9031ee6
4aee72b
* Tue May 19 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.1-1
4aee72b
- Ekiga 3.2.1 stable - Changelog
4aee72b
  http://mail.gnome.org/archives/ekiga-devel-list/2009-May/msg00054.html
4aee72b
9403ad8
* Mon Apr 27 2009 Matthias Clasen <mclasen@redhat.com> - 3.2.0-3
9403ad8
- Rebuild against newer GConf/intltool
9403ad8
954e400
* Mon Apr 20 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.0-2
954e400
- Add a couple of upstream patches from 3.2.1
954e400
aaa28b8
* Tue Mar 17 2009 Peter Robinson <pbrobinson@gmail.com> - 3.2.0-1
aaa28b8
- Ekiga 3.2.0 stable
aaa28b8
72d5a2c
* Fri Mar  6 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.2-4
72d5a2c
- Remove CELT until the bitstream is stable and can hence intercommunicate between versions
72d5a2c
72d5a2c
* Tue Mar  3 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.2-3
398f0d1
- Remove autoconf bits
398f0d1
72d5a2c
* Tue Mar  3 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.2-2
94242b4
- Disable xcap for the moment so ekiga builds
94242b4
72d5a2c
* Tue Mar  3 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.2-1
19b452b
- Upgrade to the 3.1.2 beta release, enable celt codec, reinstate 
19b452b
  proper desktop file now its fixed
19b452b
3ebb9d7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-11
3ebb9d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3ebb9d7
77de33c
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 3.1.0-10
77de33c
- rebuild with new openssl
77de33c
- add libtoolize call to replace libtool with current version
77de33c
4c903e8
* Thu Jan 15 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-9
4c903e8
- Add other buildreq for Makefile regen
4c903e8
e57b0d0
* Thu Jan 15 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-8
e57b0d0
- Regen Makefile.in using autoreconf due to patch
e57b0d0
be4d7ad
* Wed Jan 14 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-7
be4d7ad
- Another fix
be4d7ad
a9c8928
* Tue Jan 13 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-6
a9c8928
- And SDL too
a9c8928
a7f6c04
* Tue Jan 13 2009 Peter Robinson <pbrobinson@gmail.com> - 3.1.0-5
a7f6c04
- Add expat-devel, why not everything else wants it
a7f6c04
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
Caolan McNamara 57cc587
* Sat Aug  5 2006 Caolan McNamara <caolanm@redhat.com> - 2.0.2-4
Caolan McNamara 57cc587
- rebuild against new e-d-s
Caolan McNamara 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.