File ekiga.spec of Package ekiga
#
# spec file for package ekiga (Version 3.2.6)
#
# Copyright (c) 2009 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
BuildRequires: db-devel evolution-data-server-devel fdupes gcc-c++ gconf2-devel gnome-common gnome-doc-utils-devel gstreamer-0_10-plugins-base-devel gtk2-devel intltool libavahi-glib-devel libnotify-devel libpt2-devel libsigc++2-devel libsoup-devel opal-devel openldap2 scrollkeeper speex-devel translation-update-upstream update-desktop-files
License: GPL v2 or later
Group: Productivity/Telephony/H323/Clients
Version: 3.2.6
Release: 1
Summary: A Gnome based SIP/H323 teleconferencing application
Source: %{name}-%{version}.tar.bz2
Url: http://www.ekiga.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: filesystem /usr/bin/touch gconf2
Provides: gnomemeeting
Obsoletes: gnomemeeting
Requires: %{name}-lang = %{version}
%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
translation-update-upstream
%build
export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -fexceptions"
export CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector -fexceptions"
%configure \
--disable-schemas-install \
--disable-scrollkeeper \
--enable-dbus \
--enable-gstreamer \
--enable-xcap
make %{?jobs:-j %jobs}
%install
%makeinstall
%find_gconf_schemas
%find_lang %{name}
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
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%postun
touch var/adm/SuSEconfig/run-scrollkeeper-update
%files -f %{name}.lst
%defattr(-,root,root)
%doc ChangeLog README FAQ
%{_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