X-Git-Url: http://git.pld-linux.org/?p=packages%2Fekiga.git;a=blobdiff_plain;f=ekiga.spec;h=a541749d8681ed1029a159307b43088068bad80f;hp=0242a8dfa4bdb7a7baac7ce2e16710d0c2908631;hb=3b32d0acf3b31e091f14f38be8e6b8d9d7465dc2;hpb=6b4b40db071e589374fdf2a34253a0cbbea1fcd8 diff --git a/ekiga.spec b/ekiga.spec index 0242a8d..a541749 100644 --- a/ekiga.spec +++ b/ekiga.spec @@ -1,33 +1,61 @@ +# +# WARNING: Ekiga won't work without proper ptlib and opal versions, +# after changing any of these Ekiga needs testing, not only recompiling +# Recommended versions: http://wiki.ekiga.org/index.php/Download_Ekiga_sources +# Summary: SIP and H.323 Videoconferencing -Summary(pl): Program do telekonferencji w standardzie SIP oraz H.323 +Summary(pl.UTF-8): Program do telekonferencji w standardzie SIP oraz H.323 Name: ekiga -Version: 1.99.0 -Release: 0.2 +Version: 4.0.1 +Release: 12 License: GPL Group: Applications/Communications -Source0: http://www.ekiga.org/downloads/sources/%{name}-%{version}.tar.gz -# Source0-md5: 178844551b65ff33ef44a5d481539af7 +Source0: http://ftp.gnome.org/pub/GNOME/sources/ekiga/4.0/%{name}-%{version}.tar.xz +# Source0-md5: 704ba532a8e3e0b5e3e2971dd2db39e4 +Patch0: %{name}-shell.patch +Patch1: x32.patch URL: http://www.ekiga.org/ -BuildRequires: GConf2-devel >= 2.12.0 +BuildRequires: GConf2-devel >= 2.14.0 BuildRequires: SDL-devel BuildRequires: autoconf BuildRequires: automake -BuildRequires: evolution-data-server-devel -BuildRequires: gettext-devel +BuildRequires: avahi-devel >= 0.6 +BuildRequires: avahi-glib-devel >= 0.6 +BuildRequires: boost-devel +BuildRequires: dbus-glib-devel >= 0.60 +BuildRequires: docbook-dtd412-xml +BuildRequires: evolution-data-server-devel >= 1.6.1 +BuildRequires: gettext-tools BuildRequires: gnome-common >= 2.8.0 +BuildRequires: gnome-doc-utils BuildRequires: intltool >= 0.33 -BuildRequires: libgnome-devel >= 2.12.0 -BuildRequires: libgnomeui-devel >= 2.12.0 +BuildRequires: libgnome-devel >= 2.14.0 +BuildRequires: libgnomeui-devel >= 2.14.0 +BuildRequires: libselinux-devel +BuildRequires: libsigc++-devel BuildRequires: libtool -BuildRequires: opal-devel = 2.1.2 -BuildRequires: openldap-devel >= 2.3.0 -BuildRequires: pwlib-devel = 1.9.2 +BuildRequires: opal-devel >= 3.10.10 +BuildRequires: openldap-devel >= 2.4.6 +BuildRequires: pkgconfig +BuildRequires: ptlib-devel >= 1:2.10.10 BuildRequires: rpmbuild(macros) >= 1.197 BuildRequires: scrollkeeper +BuildRequires: speex-devel +BuildRequires: srtp-devel +BuildRequires: unixODBC-devel +BuildRequires: xorg-lib-libXv-devel +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): hicolor-icon-theme Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 -Requires: pwlib-sound +Requires(post,preun): GConf2 >= 2.14.0 +Requires: dbus >= 0.60 +Requires: evolution-data-server >= 1.6.1 +Requires: libgnome >= 2.14.0 +Requires: libgnomeui >= 2.14.0 +Requires: ptlib-sound Obsoletes: gnomemeeting +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -38,26 +66,33 @@ Ekiga can work with or without a webcam, and is able to create pure audio communications or traditionnal audio+video communications. Ekiga was fomerly known as GnomeMeeting. -%description -l pl +%description -l pl.UTF-8 Ekiga jest programem przeznaczonym do wideokonferencji oraz telefonii -internetowej zgodnej z protoko³ami SIP oraz H.323. Mo¿e ³±czyæ siê z -ró¿nymi aplikacjami SIP lub H.323 w³±czaj±c w to specjalizowane -urz±dzenia. Program Ekiga mo¿e pracowaæ z kamer± internetow±, -zestawiaæ same po³±czenia g³osowe jak równie¿ tradycyjne z d¼wiêkiem i -obrazem. Ekiga by³a poprzednio znana jako GnomeMeeting. +internetowej zgodnej z protokołami SIP oraz H.323. Może łączyć się z +różnymi aplikacjami SIP lub H.323 włączając w to specjalizowane +urządzenia. Program Ekiga może pracować z kamerą internetową, +zestawiać same połączenia głosowe jak również tradycyjne z dźwiękiem i +obrazem. Ekiga była poprzednio znana jako GnomeMeeting. %prep %setup -q +%patch0 -p1 +%patch1 -p1 +sed -i -e 's|Categories=GNOME;GTK;Network;Telephony;|Categories=GTK;GNOME;Network;InstantMessaging;|' ekiga.desktop.in.in %build %{__gnome_doc_common} %{__libtoolize} -%{__aclocal} +%{__intltoolize} +%{__aclocal} -I m4 %{__autoconf} %{__autoheader} %{__automake} %configure \ - --disable-schemas-install + --with-boost-libdir=%{_libdir} \ + --disable-schemas-install \ + --enable-dbus \ + --disable-scrollkeeper %{__make} %install @@ -66,8 +101,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no - +[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ + mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} %find_lang %{name} --with-gnome %clean @@ -75,6 +110,13 @@ rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install ekiga.schemas +%scrollkeeper_update_post +%update_desktop_database_post +%update_icon_cache hicolor + +%postun +%scrollkeeper_update_postun +%update_icon_cache hicolor %preun %gconf_schema_uninstall ekiga.schemas @@ -82,10 +124,21 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README TODO FAQ -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/ekiga +%attr(755,root,root) %{_bindir}/ekiga-config-tool +%attr(755,root,root) %{_bindir}/ekiga-helper +%dir %{_libdir}/%{name} +%dir %{_libdir}/%{name}/%{version} +%dir %{_libdir}/%{name}/%{version}/plugins +%attr(755,root,root) %{_libdir}/%{name}/%{version}/libekiga.so +%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmevolution.so +%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmldap.so +%attr(755,root,root) %{_libdir}/%{name}/%{version}/plugins/libgmlibnotify.so %{_pixmapsdir}/* %{_desktopdir}/*.desktop +%{_datadir}/dbus-1/services/*.service +%{_omf_dest_dir}/%{name} %{_datadir}/sounds/%{name} +%{_iconsdir}/hicolor/*/*/ekiga.png %{_sysconfdir}/gconf/schemas/* -%{_libdir}/bonobo/servers/* -%{_mandir}/*/* +%{_mandir}/man1/ekiga.1*