2 # WARNING: Ekiga won't work without proper ptlib and opal versions,
3 # after changing any of these Ekiga needs testing, not only recompiling
4 # Recommended versions: http://wiki.ekiga.org/index.php/Download_Ekiga_sources
6 Summary: SIP and H.323 Videoconferencing
7 Summary(pl.UTF-8): Program do telekonferencji w standardzie SIP oraz H.323
12 Group: Applications/Communications
13 Source0: http://ftp.gnome.org/pub/GNOME/sources/ekiga/4.0/%{name}-%{version}.tar.xz
14 # Source0-md5: 704ba532a8e3e0b5e3e2971dd2db39e4
15 Patch0: %{name}-shell.patch
17 URL: http://www.ekiga.org/
18 BuildRequires: GConf2-devel >= 2.14.0
19 BuildRequires: SDL-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: avahi-devel >= 0.6
23 BuildRequires: avahi-glib-devel >= 0.6
24 BuildRequires: boost-devel
25 BuildRequires: dbus-glib-devel >= 0.60
26 BuildRequires: docbook-dtd412-xml
27 BuildRequires: evolution-data-server-devel >= 1.6.1
28 BuildRequires: gettext-tools
29 BuildRequires: gnome-common >= 2.8.0
30 BuildRequires: gnome-doc-utils
31 BuildRequires: intltool >= 0.33
32 BuildRequires: libgnome-devel >= 2.14.0
33 BuildRequires: libgnomeui-devel >= 2.14.0
34 BuildRequires: libselinux-devel
35 BuildRequires: libsigc++-devel
36 BuildRequires: libtool
37 BuildRequires: opal-devel >= 3.10.10
38 BuildRequires: openldap-devel >= 2.4.6
39 BuildRequires: pkgconfig
40 BuildRequires: ptlib-devel >= 1:2.10.10
41 BuildRequires: rpmbuild(macros) >= 1.197
42 BuildRequires: scrollkeeper
43 BuildRequires: speex-devel
44 BuildRequires: srtp-devel
45 BuildRequires: unixODBC-devel
46 BuildRequires: xorg-lib-libXv-devel
47 Requires(post,postun): gtk-update-icon-cache
48 Requires(post,postun): hicolor-icon-theme
49 Requires(post,postun): scrollkeeper
50 Requires(post,preun): GConf2 >= 2.14.0
51 Requires: dbus >= 0.60
52 Requires: evolution-data-server >= 1.6.1
53 Requires: libgnome >= 2.14.0
54 Requires: libgnomeui >= 2.14.0
56 Obsoletes: gnomemeeting
57 # sr@Latn vs. sr@latin
58 Conflicts: glibc-misc < 6:2.7
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 Ekiga is a IP Telephony and Video Conferencing application which
63 complies to the SIP and H.323 protocols. It can connect to a variety
64 of other SIP and H323 applications including specialized hardware.
65 Ekiga can work with or without a webcam, and is able to create pure
66 audio communications or traditionnal audio+video communications. Ekiga
67 was fomerly known as GnomeMeeting.
69 %description -l pl.UTF-8
70 Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii
71 internetowej zgodnej z protokołami SIP oraz H.323. Może łączyć się z
72 różnymi aplikacjami SIP lub H.323 włączając w to specjalizowane
73 urządzenia. Program Ekiga może pracować z kamerą internetową,
74 zestawiać same połączenia głosowe jak również tradycyjne z dźwiękiem i
75 obrazem. Ekiga była poprzednio znana jako GnomeMeeting.
81 sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in
91 --with-boost-libdir=%{_libdir} \
92 --disable-schemas-install \
94 --disable-scrollkeeper
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
104 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
105 %find_lang %{name} --with-gnome
108 rm -rf $RPM_BUILD_ROOT
111 %gconf_schema_install ekiga.schemas
112 %scrollkeeper_update_post
113 %update_desktop_database_post
114 %update_icon_cache hicolor
117 %scrollkeeper_update_postun
118 %update_icon_cache hicolor
121 %gconf_schema_uninstall ekiga.schemas
123 %files -f %{name}.lang
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog NEWS README TODO FAQ
126 %attr(755,root,root) %{_bindir}/ekiga
127 %attr(755,root,root) %{_bindir}/ekiga-config-tool
128 %attr(755,root,root) %{_bindir}/ekiga-helper
129 %dir %{_libdir}/%{name}
130 %dir %{_libdir}/%{name}/%{version}
131 %dir %{_libdir}/%{name}/%{version}/plugins
132 %attr(755,root,root) %{_libdir}/%{name}/%{version}/libekiga.so
133 %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmevolution.so
134 %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmldap.so
135 %attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmlibnotify.so
137 %{_desktopdir}/*.desktop
138 %{_datadir}/dbus-1/services/*.service
139 %{_omf_dest_dir}/%{name}
140 %{_datadir}/sounds/%{name}
141 %{_iconsdir}/hicolor/*/*/ekiga.png
142 %{_sysconfdir}/gconf/schemas/*
143 %{_mandir}/man1/ekiga.1*