File ekiga.spec of Package ekiga

#
# spec file for package ekiga
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           ekiga
License:        GPLv2+
Group:          Productivity/Telephony/SIP/Clients
Version:        3.2.7
Release:        3
Summary:        A GNOME based SIP/H323 teleconferencing application
Url:            http://www.ekiga.org/
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM ekiga-libnotify_gtk.patch reddwarfu@opensuse.org -- Fixes build with new libnotify versions. No need to submit upstream since in trunk they changed the build system and indirectly fixed the problem.
Patch0:         ekiga-libnotify_gtk.patch
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gstreamer-0_10-plugins-base-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libavahi-glib-devel
BuildRequires:  libnotify-devel
BuildRequires:  libopal-devel
BuildRequires:  libpt-devel
BuildRequires:  libsigc++2-devel
BuildRequires:  libsoup-devel
BuildRequires:  openldap2
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         filesystem /usr/bin/touch gconf2
Provides:       gnomemeeting
Obsoletes:      gnomemeeting
Recommends:     %{name}-lang
%gconf_schemas_prereq

%description
Ekiga (formely known as GnomeMeeting) is an open source VoIP and video
conferencing application for GNOME. Ekiga uses both the H.323 and SIP
protocols. It supports many audio and video codecs, and is
interoperable with other SIP compliant software and also with Microsoft
NetMeeting.

%lang_package
%prep
%setup -q
%patch0
translation-update-upstream

%build
%configure \
    --disable-schemas-install \
    --disable-scrollkeeper \
    --enable-dbus \
    --enable-gstreamer \
    --enable-xcap
make %{?jobs:-j %jobs}

%install
%makeinstall
%find_gconf_schemas
%find_lang %{name} %{?no_lang_C}
cat %{name}.schemas_list >%{name}.lst
%suse_update_desktop_file %name
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%post
%desktop_database_post
%icon_theme_cache_post

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%postun
%desktop_database_postun
%icon_theme_cache_postun

%files -f %{name}.lst
%defattr(-,root,root)
%doc ChangeLog README FAQ
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_bindir}/*
%{_datadir}/applications/ekiga.desktop
%{_datadir}/dbus-1/services/*.service
%{_datadir}/icons/hicolor/*/apps/ekiga.png
%{_datadir}/pixmaps/ekiga
%{_datadir}/sounds/ekiga
%{_mandir}/man1/ekiga.1*

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by